|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] [2/5] SMBIOS --- add header for e820map to hvmloader
Add a header to deal with e820map within hvmloader.
Signed-off-by: Andrew D. Ball <aball@xxxxxxxxxx>
diff -r 1d817bfc5ed9 tools/firmware/hvmloader/e820.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/firmware/hvmloader/e820.h Fri Aug 11 15:16:05 2006 -0400
@@ -0,0 +1,27 @@
+/*
+This is adapted from xen/include/asm-x86.
+*/
+
+#ifndef __HVM_E820_HEADER
+#define __HVM_E820_HEADER
+
+#define E820_RAM 1
+#define E820_RESERVED 2
+#define E820_ACPI 3
+#define E820_NVS 4
+#define E820_IO 16
+#define E820_SHARED_PAGE 17
+#define E820_XENSTORE 18
+#define E820_BUFFERED_IO 19
+
+#define E820_MAP_PAGE 0x00090000
+#define E820_MAP_NR_OFFSET 0x000001E8
+#define E820_MAP_OFFSET 0x000002D0
+
+struct e820entry {
+ uint64_t addr;
+ uint64_t size;
+ uint32_t type;
+} __attribute__((packed));
+
+#endif /*__HVM_E820_HEADER*/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] [2/5] SMBIOS --- add header for e820map to hvmloader,
Andrew D. Ball <=
|
|
|
|
|