debuggers.hg

view xen/include/public/hvm/params.h @ 10950:3eb0f56d77c2

Missing file from previous changeset.
author kfraser@localhost.localdomain
date Thu Aug 03 13:54:05 2006 +0100 (2006-08-03)
parents
children 45e34f00a78f
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_NR_PARAMS 5
12 /* Get/set subcommands: extra argument == pointer to xen_hvm_param struct. */
13 #define HVMOP_set_param 0
14 #define HVMOP_get_param 1
16 struct xen_hvm_param {
17 domid_t domid; /* IN */
18 uint32_t index; /* IN */
19 uint64_t value; /* IN/OUT */
20 };
21 typedef struct xen_hvm_param xen_hvm_param_t;
22 DEFINE_XEN_GUEST_HANDLE(xen_hvm_param_t);
24 #endif /* __XEN_PUBLIC_HVM_PARAMS_H__ */