2 * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
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.
10 #ifndef __ASM_MACH_LOONGSON32_PROM_H
11 #define __ASM_MACH_LOONGSON32_PROM_H
14 #include <linux/init.h>
15 #include <linux/irq.h>
17 /* environment arguments from bootloader */
18 extern unsigned long memsize
, highmemsize
;
20 /* loongson-specific command line, env and memory initialization */
21 extern char *prom_getenv(char *name
);
22 extern void __init
prom_init_cmdline(void);
24 #endif /* __ASM_MACH_LOONGSON32_PROM_H */