ia64/xen-unstable

view xen/include/public/hvm/params.h @ 12226:45e34f00a78f

[HVM] Clean up VCPU initialisation in Xen. No longer
parse HVM e820 tables in Xen (add some extra HVM parameters as a
cleaner alternative). Lots of code removal.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Thu Nov 02 15:55:51 2006 +0000 (2006-11-02)
parents 3eb0f56d77c2
children 2368e779f89f
line source
1 #ifndef __XEN_PUBLIC_HVM_PARAMS_H__
2 #define __XEN_PUBLIC_HVM_PARAMS_H__
4 /* Parameter space. */
5 #define HVM_PARAM_CALLBACK_IRQ 0
6 #define HVM_PARAM_STORE_PFN 1
7 #define HVM_PARAM_STORE_EVTCHN 2
8 #define HVM_PARAM_APIC_ENABLED 3
9 #define HVM_PARAM_PAE_ENABLED 4
10 #define HVM_PARAM_IOREQ_PFN 5
11 #define HVM_PARAM_BUFIOREQ_PFN 6
12 #define HVM_NR_PARAMS 7
14 /* Get/set subcommands: extra argument == pointer to xen_hvm_param struct. */
15 #define HVMOP_set_param 0
16 #define HVMOP_get_param 1
18 struct xen_hvm_param {
19 domid_t domid; /* IN */
20 uint32_t index; /* IN */
21 uint64_t value; /* IN/OUT */
22 };
23 typedef struct xen_hvm_param xen_hvm_param_t;
24 DEFINE_XEN_GUEST_HANDLE(xen_hvm_param_t);
26 #endif /* __XEN_PUBLIC_HVM_PARAMS_H__ */