Changeset View
Changeset View
Standalone View
Standalone View
sys/xen/interface/xen.h
Show First 20 Lines • Show All 720 Lines • ▼ Show 20 Lines | struct vcpu_info { | ||||
uint8_t evtchn_upcall_pending; | uint8_t evtchn_upcall_pending; | ||||
#ifdef XEN_HAVE_PV_UPCALL_MASK | #ifdef XEN_HAVE_PV_UPCALL_MASK | ||||
uint8_t evtchn_upcall_mask; | uint8_t evtchn_upcall_mask; | ||||
#else /* XEN_HAVE_PV_UPCALL_MASK */ | #else /* XEN_HAVE_PV_UPCALL_MASK */ | ||||
uint8_t pad0; | uint8_t pad0; | ||||
#endif /* XEN_HAVE_PV_UPCALL_MASK */ | #endif /* XEN_HAVE_PV_UPCALL_MASK */ | ||||
xen_ulong_t evtchn_pending_sel; | xen_ulong_t evtchn_pending_sel; | ||||
struct arch_vcpu_info arch; | struct arch_vcpu_info arch; | ||||
struct vcpu_time_info time; | vcpu_time_info_t time; | ||||
}; /* 64 bytes (x86) */ | }; /* 64 bytes (x86) */ | ||||
#ifndef __XEN__ | #ifndef __XEN__ | ||||
typedef struct vcpu_info vcpu_info_t; | typedef struct vcpu_info vcpu_info_t; | ||||
#endif | #endif | ||||
/* | /* | ||||
* `incontents 200 startofday_shared Start-of-day shared data structure | * `incontents 200 startofday_shared Start-of-day shared data structure | ||||
* Xen/kernel shared data -- pointer provided in start_info. | * Xen/kernel shared data -- pointer provided in start_info. | ||||
▲ Show 20 Lines • Show All 288 Lines • ▼ Show 20 Lines | |||||
#define XEN_GUEST_HANDLE_64(name) XEN_GUEST_HANDLE(name) | #define XEN_GUEST_HANDLE_64(name) XEN_GUEST_HANDLE(name) | ||||
#endif | #endif | ||||
#ifndef __ASSEMBLY__ | #ifndef __ASSEMBLY__ | ||||
struct xenctl_bitmap { | struct xenctl_bitmap { | ||||
XEN_GUEST_HANDLE_64(uint8) bitmap; | XEN_GUEST_HANDLE_64(uint8) bitmap; | ||||
uint32_t nr_bits; | uint32_t nr_bits; | ||||
}; | }; | ||||
typedef struct xenctl_bitmap xenctl_bitmap_t; | |||||
#endif | #endif | ||||
#endif /* defined(__XEN__) || defined(__XEN_TOOLS__) */ | #endif /* defined(__XEN__) || defined(__XEN_TOOLS__) */ | ||||
#endif /* __XEN_PUBLIC_XEN_H__ */ | #endif /* __XEN_PUBLIC_XEN_H__ */ | ||||
/* | /* | ||||
* Local variables: | * Local variables: | ||||
* mode: C | * mode: C | ||||
* c-file-style: "BSD" | * c-file-style: "BSD" | ||||
* c-basic-offset: 4 | * c-basic-offset: 4 | ||||
* tab-width: 4 | * tab-width: 4 | ||||
* indent-tabs-mode: nil | * indent-tabs-mode: nil | ||||
* End: | * End: | ||||
*/ | */ |