1 /* 2 * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com> 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms of the GNU General Public License as published by the 6 * Free Software Foundation; either version 2 of the License, or (at your 7 * option) any later version. 8 */ 9 10 #ifndef __ASM_MACH_LOONGSON32_PROM_H 11 #define __ASM_MACH_LOONGSON32_PROM_H 12 13 #include <linux/io.h> 14 #include <linux/init.h> 15 #include <linux/irq.h> 16 17 /* environment arguments from bootloader */ 18 extern unsigned long memsize, highmemsize; 19 20 /* loongson-specific command line, env and memory initialization */ 21 extern char *prom_getenv(char *name); 22 extern void __init prom_init_cmdline(void); 23 24 #endif /* __ASM_MACH_LOONGSON32_PROM_H */ 25