ia64/xen-unstable

view xen/include/public/hvm/e820.h @ 12226:45e34f00a78f

[HVM] Clean up VCPU initialisation in Xen. No longer
parse HVM e820 tables in Xen (add some extra HVM parameters as a
cleaner alternative). Lots of code removal.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Thu Nov 02 15:55:51 2006 +0000 (2006-11-02)
parents 078bfd250677
children 8d0e06c38c0c
line source
1 #ifndef __XEN_PUBLIC_HVM_E820_H__
2 #define __XEN_PUBLIC_HVM_E820_H__
4 /* PC BIOS standard E820 types. */
5 #define E820_RAM 1
6 #define E820_RESERVED 2
7 #define E820_ACPI 3
8 #define E820_NVS 4
10 /* E820 location in HVM virtual address space. */
11 #define E820_MAP_PAGE 0x00090000
12 #define E820_MAP_NR_OFFSET 0x000001E8
13 #define E820_MAP_OFFSET 0x000002D0
15 struct e820entry {
16 uint64_t addr;
17 uint64_t size;
18 uint32_t type;
19 } __attribute__((packed));
21 #define HVM_BELOW_4G_RAM_END 0xF0000000
23 #define HVM_BELOW_4G_MMIO_START HVM_BELOW_4G_RAM_END
24 #define HVM_BELOW_4G_MMIO_LENGTH ((1ULL << 32) - HVM_BELOW_4G_MMIO_START)
26 #endif /* __XEN_PUBLIC_HVM_E820_H__ */