|
@@ -59,6 +59,7 @@ struct e820map {
|
|
struct e820entry map[E820_X_MAX];
|
|
struct e820entry map[E820_X_MAX];
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+#ifdef __KERNEL__
|
|
/* see comment in arch/x86/kernel/e820.c */
|
|
/* see comment in arch/x86/kernel/e820.c */
|
|
extern struct e820map e820;
|
|
extern struct e820map e820;
|
|
extern struct e820map e820_saved;
|
|
extern struct e820map e820_saved;
|
|
@@ -115,7 +116,7 @@ extern void setup_memory_map(void);
|
|
extern char *default_machine_specific_memory_setup(void);
|
|
extern char *default_machine_specific_memory_setup(void);
|
|
extern char *machine_specific_memory_setup(void);
|
|
extern char *machine_specific_memory_setup(void);
|
|
extern char *memory_setup(void);
|
|
extern char *memory_setup(void);
|
|
-
|
|
|
|
|
|
+#endif /* __KERNEL__ */
|
|
#endif /* __ASSEMBLY__ */
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
|
|
#define ISA_START_ADDRESS 0xa0000
|
|
#define ISA_START_ADDRESS 0xa0000
|