ia64/xen-unstable

view extras/mini-os/include/hypervisor.h @ 11114:5a454f6e320f

Make room in e820map for SMBIOS tables.
Signed-off-by: Andrew D. Ball <aball@us.ibm.com>
author kfraser@localhost.localdomain
date Mon Aug 14 17:29:11 2006 +0100 (2006-08-14)
parents ec4979587156
children 38fcc7646959
line source
1 /******************************************************************************
2 * hypervisor.h
3 *
4 * Hypervisor handling.
5 *
6 *
7 * Copyright (c) 2002, K A Fraser
8 * Copyright (c) 2005, Grzegorz Milos
9 * Updates: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
10 * Updates: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com> for ia64
11 */
13 #ifndef _HYPERVISOR_H_
14 #define _HYPERVISOR_H_
16 #include <types.h>
17 #include <xen/xen.h>
18 #include <xen/dom0_ops.h>
19 #if defined(__i386__)
20 #include <hypercall-x86_32.h>
21 #elif defined(__x86_64__)
22 #include <hypercall-x86_64.h>
23 #elif defined(__ia64__)
24 #include <hypercall-ia64.h>
25 #else
26 #error "Unsupported architecture"
27 #endif
29 /*
30 * a placeholder for the start of day information passed up from the hypervisor
31 */
32 union start_info_union
33 {
34 start_info_t start_info;
35 char padding[512];
36 };
37 extern union start_info_union start_info_union;
38 #define start_info (start_info_union.start_info)
40 /* hypervisor.c */
41 //void do_hypervisor_callback(struct pt_regs *regs);
42 void mask_evtchn(u32 port);
43 void unmask_evtchn(u32 port);
44 void clear_evtchn(u32 port);
46 #endif /* __HYPERVISOR_H__ */