ia64/xen-unstable

changeset 10940:3eb0f56d77c2

Missing file from previous changeset.
author kfraser@localhost.localdomain
date Thu Aug 03 13:54:05 2006 +0100 (2006-08-03)
parents b33c08de3d98
children aeb484dafc5b
files xen/include/public/hvm/params.h
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xen/include/public/hvm/params.h	Thu Aug 03 13:54:05 2006 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +#ifndef __XEN_PUBLIC_HVM_PARAMS_H__
     1.5 +#define __XEN_PUBLIC_HVM_PARAMS_H__
     1.6 +
     1.7 +/* Parameter space. */
     1.8 +#define HVM_PARAM_CALLBACK_IRQ 0
     1.9 +#define HVM_PARAM_STORE_PFN    1
    1.10 +#define HVM_PARAM_STORE_EVTCHN 2
    1.11 +#define HVM_PARAM_APIC_ENABLED 3
    1.12 +#define HVM_PARAM_PAE_ENABLED  4
    1.13 +#define HVM_NR_PARAMS          5
    1.14 +
    1.15 +/* Get/set subcommands: extra argument == pointer to xen_hvm_param struct. */
    1.16 +#define HVMOP_set_param 0
    1.17 +#define HVMOP_get_param 1
    1.18 +
    1.19 +struct xen_hvm_param {
    1.20 +    domid_t domid;     /* IN */
    1.21 +    uint32_t index;    /* IN */
    1.22 +    uint64_t value;    /* IN/OUT */
    1.23 +};
    1.24 +typedef struct xen_hvm_param xen_hvm_param_t;
    1.25 +DEFINE_XEN_GUEST_HANDLE(xen_hvm_param_t);
    1.26 +
    1.27 +#endif /* __XEN_PUBLIC_HVM_PARAMS_H__ */