ia64/xen-unstable

view xen/include/public/hvm/hvm_info_table.h @ 8492:9fc306e40a7c

Move public hvm interfaces into xen/include/public/hvm.
Add new header hvm_info_table.h for defining location and
contents of acpi-style hvm_info_table. Remove duplicate
definition in vmxassist/acpi_madt.c.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Jan 03 14:58:34 2006 +0100 (2006-01-03)
parents
children 991c4d62d392
line source
1 /******************************************************************************
2 * hvm/hvm_info_table.h
3 *
4 * HVM parameter and information table, written into guest memory map.
5 */
7 #ifndef __XEN_PUBLIC_HVM_HVM_INFO_TABLE_H__
8 #define __XEN_PUBLIC_HVM_HVM_INFO_TABLE_H__
10 #define HVM_INFO_PFN 0x09F
11 #define HVM_INFO_OFFSET 0x800
12 #define HVM_INFO_PADDR ((HVM_INFO_PFN << 12) + HVM_INFO_OFFSET)
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 uint8_t apic_enabled;
20 uint8_t pad[1];
21 uint32_t nr_vcpus;
22 };
24 #endif /* __XEN_PUBLIC_HVM_HVM_INFO_TABLE_H__ */