ia64/xen-unstable

view extras/mini-os/include/hypervisor.h @ 13878:9d103e5fd471

[XEN] Fix typos in comment describing 32on64 memory layout

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
author Ian Campbell <ian.campbell@xensource.com>
date Thu Feb 08 12:33:32 2007 +0000 (2007-02-08)
parents 38fcc7646959
children ee519207734f
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 #if defined(__i386__)
19 #include <hypercall-x86_32.h>
20 #elif defined(__x86_64__)
21 #include <hypercall-x86_64.h>
22 #elif defined(__ia64__)
23 #include <hypercall-ia64.h>
24 #else
25 #error "Unsupported architecture"
26 #endif
28 /*
29 * a placeholder for the start of day information passed up from the hypervisor
30 */
31 union start_info_union
32 {
33 start_info_t start_info;
34 char padding[512];
35 };
36 extern union start_info_union start_info_union;
37 #define start_info (start_info_union.start_info)
39 /* hypervisor.c */
40 //void do_hypervisor_callback(struct pt_regs *regs);
41 void mask_evtchn(u32 port);
42 void unmask_evtchn(u32 port);
43 void clear_evtchn(u32 port);
45 #endif /* __HYPERVISOR_H__ */