Initial revision
[linux-2.6.git] / include / xen / interface / hvm / hvm_info_table.h
1 /******************************************************************************
2  * hvm/hvm_info_table.h
3  * 
4  * HVM parameter and information table, written into guest memory map.
5  */
6
7 #ifndef __XEN_PUBLIC_HVM_HVM_INFO_TABLE_H__
8 #define __XEN_PUBLIC_HVM_HVM_INFO_TABLE_H__
9
10 #define HVM_INFO_PFN         0x09F
11 #define HVM_INFO_OFFSET      0x800
12 #define HVM_INFO_PADDR       ((HVM_INFO_PFN << 12) + HVM_INFO_OFFSET)
13
14 struct hvm_info_table {
15     char        signature[8]; /* "HVM INFO" */
16     uint32_t    length;
17     uint8_t     checksum;
18     uint8_t     acpi_enabled;
19     uint32_t    nr_vcpus;
20 };
21
22 #endif /* __XEN_PUBLIC_HVM_HVM_INFO_TABLE_H__ */