aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/e820.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-06-07 20:02:27 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-06-07 20:02:27 +0100
commit85ac4d9f2c1d55f70d7450a9e50467305aedbcc2 (patch)
treeb685c51b7bc091b94944f8c5c62cc9faa8ebac76 /xen/include/asm-x86/e820.h
parent45542203a2930a1fe77a9d3a6ab8f3461434d01b (diff)
downloadxen-85ac4d9f2c1d55f70d7450a9e50467305aedbcc2.tar.gz
xen-85ac4d9f2c1d55f70d7450a9e50467305aedbcc2.tar.bz2
xen-85ac4d9f2c1d55f70d7450a9e50467305aedbcc2.zip
x86: Print source of e820 memory map during boot. Fix Xen-e801 memmap
parsing. Get rid of unneeded e820_raw variable -- map straight onto boot-trampoline e820 array. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/e820.h')
-rw-r--r--xen/include/asm-x86/e820.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/xen/include/asm-x86/e820.h b/xen/include/asm-x86/e820.h
index 19ef49eff2..094aafce82 100644
--- a/xen/include/asm-x86/e820.h
+++ b/xen/include/asm-x86/e820.h
@@ -10,12 +10,15 @@ struct e820map {
struct e820entry map[E820MAX];
};
-extern unsigned long init_e820(struct e820entry *, int *);
+extern unsigned long init_e820(const char *, struct e820entry *, int *);
extern struct e820map e820;
/* These symbols live in the boot trampoline. */
extern struct e820entry e820map[];
-extern unsigned char e820nr;
+extern int e820nr;
extern unsigned int lowmem_kb, highmem_kb;
+#define e820_raw bootsym(e820map)
+#define e820_raw_nr bootsym(e820nr)
+
#endif /*__E820_HEADER*/