ia64/xen-unstable

view tools/firmware/hvmloader/e820.h @ 19709:011948e1b5a7

hvmloader: Scan for gpxe-capable NICs until one is found.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jun 03 16:12:34 2009 +0100 (2009-06-03)
parents 883d01b2fd72
children
line source
1 #ifndef __HVMLOADER_E820_H__
2 #define __HVMLOADER_E820_H__
4 #include <xen/hvm/e820.h>
6 /*
7 * PC BIOS standard E820 types and structure.
8 */
9 #define E820_RAM 1
10 #define E820_RESERVED 2
11 #define E820_ACPI 3
12 #define E820_NVS 4
14 struct e820entry {
15 uint64_t addr;
16 uint64_t size;
17 uint32_t type;
18 } __attribute__((packed));
20 #define E820_NR ((uint16_t *)(E820_PHYSICAL_ADDRESS + E820_NR_OFFSET))
21 #define E820 ((struct e820entry *)(E820_PHYSICAL_ADDRESS + E820_OFFSET))
23 #endif /* __HVMLOADER_E820_H__ */