1
2
3
4
5
6
7
8 #ifndef __ASM_FW_H_
9 #define __ASM_FW_H_
10
11 #include <asm/bootinfo.h>
12
13 extern int fw_argc;
14 extern int *_fw_argv;
15 extern int *_fw_envp;
16
17
18
19
20
21 #define fw_argv(index) ((char *)(long)_fw_argv[(index)])
22 #define fw_envp(index) ((char *)(long)_fw_envp[(index)])
23
24 extern void fw_init_cmdline(void);
25 extern char *fw_getcmdline(void);
26 extern void fw_meminit(void);
27 extern char *fw_getenv(char *name);
28 extern unsigned long fw_getenvl(char *name);
29 extern void fw_init_early_console(char port);
30
31 #endif