Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / xen / include / xen3-public / hvm / hvm_info_table.h
blob616cb2bfaf55f3da77d350736a6dd4eccf42daf1
1 /* $NetBSD: hvm_info_table.h,v 1.1.1.1.36.1 2007/10/03 19:26:10 garbled Exp $ */
2 /******************************************************************************
3 * hvm/hvm_info_table.h
4 *
5 * HVM parameter and information table, written into guest memory map.
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to
9 * deal in the Software without restriction, including without limitation the
10 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
11 * sell copies of the Software, and to permit persons to whom the Software is
12 * furnished to do so, subject to the following conditions:
14 * The above copyright notice and this permission notice shall be included in
15 * all copies or substantial portions of the Software.
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 * DEALINGS IN THE SOFTWARE.
26 #ifndef __XEN_PUBLIC_HVM_HVM_INFO_TABLE_H__
27 #define __XEN_PUBLIC_HVM_HVM_INFO_TABLE_H__
29 #define HVM_INFO_PFN 0x09F
30 #define HVM_INFO_OFFSET 0x800
31 #define HVM_INFO_PADDR ((HVM_INFO_PFN << 12) + HVM_INFO_OFFSET)
33 struct hvm_info_table {
34 char signature[8]; /* "HVM INFO" */
35 uint32_t length;
36 uint8_t checksum;
37 uint8_t acpi_enabled;
38 uint8_t apic_mode;
39 uint32_t nr_vcpus;
42 #endif /* __XEN_PUBLIC_HVM_HVM_INFO_TABLE_H__ */