direct-io.hg

view extras/mini-os/include/hypervisor.h @ 10690:77fe42f6442b

[IA64] Fix the ia64 build.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author kfraser@localhost.localdomain
date Fri Jul 14 10:49:05 2006 +0100 (2006-07-14)
parents 323d40eefbce
children ec4979587156
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 */
12 #ifndef _HYPERVISOR_H_
13 #define _HYPERVISOR_H_
15 #include <types.h>
16 #include <xen/xen.h>
17 #include <xen/dom0_ops.h>
18 #if defined(__i386__)
19 #include <hypercall-x86_32.h>
20 #elif defined(__x86_64__)
21 #include <hypercall-x86_64.h>
22 #else
23 #error "Unsupported architecture"
24 #endif
26 /*
27 * a placeholder for the start of day information passed up from the hypervisor
28 */
29 union start_info_union
30 {
31 start_info_t start_info;
32 char padding[512];
33 };
34 extern union start_info_union start_info_union;
35 #define start_info (start_info_union.start_info)
37 /* hypervisor.c */
38 //void do_hypervisor_callback(struct pt_regs *regs);
39 void mask_evtchn(u32 port);
40 void unmask_evtchn(u32 port);
41 void clear_evtchn(u32 port);
43 #endif /* __HYPERVISOR_H__ */