Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
xen.h File Reference

Go to the source code of this file.

Data Structures

struct  vcpu_time_info
 
struct  vcpu_info
 
struct  shared_info
 
struct  xenctl_bitmap
 

Macros

#define XEN_FLEX_ARRAY_DIM   1 /* variable size */
 
#define xen_mk_uint(x)
 
#define xen_mk_ulong(x)
 
#define xen_mk_ullong(x)
 
#define CONSOLEIO_write   0
 
#define CONSOLEIO_read   1
 
#define DOMID_FIRST_RESERVED   xen_mk_uint(0x7FF0)
 
#define DOMID_SELF   xen_mk_uint(0x7FF0)
 
#define DOMID_IO   xen_mk_uint(0x7FF1)
 
#define DOMID_XEN   xen_mk_uint(0x7FF2)
 
#define DOMID_COW   xen_mk_uint(0x7FF3)
 
#define DOMID_INVALID   xen_mk_uint(0x7FF4)
 
#define DOMID_IDLE   xen_mk_uint(0x7FFF)
 
#define DOMID_MASK   xen_mk_uint(0x7FFF)
 
#define NR_EVENT_CHANNELS   EVTCHN_2L_NR_CHANNELS
 
#define XEN_PVCLOCK_TSC_STABLE_BIT   (1 << 0)
 
#define XEN_PVCLOCK_GUEST_STOPPED   (1 << 1)
 
#define xen_wc_sec_hi   wc_sec_hi
 
#define int64_aligned_t   int64_t
 
#define uint64_aligned_t   uint64_t
 

Typedefs

typedef uint16_t domid_t
 
typedef struct vcpu_time_info vcpu_time_info_t
 
typedef struct vcpu_info vcpu_info_t
 
typedef struct shared_info shared_info_t
 
typedef uint8_t xen_domain_handle_t[16]
 
typedef struct xenctl_bitmap xenctl_bitmap_t
 

Functions

 DEFINE_XEN_GUEST_HANDLE (char)
 
 DEFINE_XEN_GUEST_HANDLE (int)
 
 DEFINE_XEN_GUEST_HANDLE (long)
 
 DEFINE_XEN_GUEST_HANDLE (void)
 
 DEFINE_XEN_GUEST_HANDLE (uint8_t)
 
 DEFINE_XEN_GUEST_HANDLE (uint64_t)
 

Macro Definition Documentation

◆ CONSOLEIO_read

#define CONSOLEIO_read   1

◆ CONSOLEIO_write

#define CONSOLEIO_write   0

◆ DOMID_COW

#define DOMID_COW   xen_mk_uint(0x7FF3)

◆ DOMID_FIRST_RESERVED

#define DOMID_FIRST_RESERVED   xen_mk_uint(0x7FF0)

◆ DOMID_IDLE

#define DOMID_IDLE   xen_mk_uint(0x7FFF)

◆ DOMID_INVALID

#define DOMID_INVALID   xen_mk_uint(0x7FF4)

◆ DOMID_IO

#define DOMID_IO   xen_mk_uint(0x7FF1)

◆ DOMID_MASK

#define DOMID_MASK   xen_mk_uint(0x7FFF)

◆ DOMID_SELF

#define DOMID_SELF   xen_mk_uint(0x7FF0)

◆ DOMID_XEN

#define DOMID_XEN   xen_mk_uint(0x7FF2)

◆ int64_aligned_t

#define int64_aligned_t   int64_t

◆ NR_EVENT_CHANNELS

#define NR_EVENT_CHANNELS   EVTCHN_2L_NR_CHANNELS

◆ uint64_aligned_t

#define uint64_aligned_t   uint64_t

◆ XEN_FLEX_ARRAY_DIM

#define XEN_FLEX_ARRAY_DIM   1 /* variable size */

◆ xen_mk_uint

#define xen_mk_uint ( x)
Value:
__xen_mk_uint(x)

◆ xen_mk_ullong

#define xen_mk_ullong ( x)
Value:
__xen_mk_ullong(x)

◆ xen_mk_ulong

#define xen_mk_ulong ( x)
Value:
__xen_mk_ulong(x)

◆ XEN_PVCLOCK_GUEST_STOPPED

#define XEN_PVCLOCK_GUEST_STOPPED   (1 << 1)

◆ XEN_PVCLOCK_TSC_STABLE_BIT

#define XEN_PVCLOCK_TSC_STABLE_BIT   (1 << 0)

◆ xen_wc_sec_hi

#define xen_wc_sec_hi   wc_sec_hi

Typedef Documentation

◆ domid_t

typedef uint16_t domid_t

◆ shared_info_t

typedef struct shared_info shared_info_t

◆ vcpu_info_t

typedef struct vcpu_info vcpu_info_t

◆ vcpu_time_info_t

◆ xen_domain_handle_t

typedef uint8_t xen_domain_handle_t[16]

◆ xenctl_bitmap_t

Function Documentation

◆ DEFINE_XEN_GUEST_HANDLE() [1/6]

DEFINE_XEN_GUEST_HANDLE ( char )

◆ DEFINE_XEN_GUEST_HANDLE() [2/6]

DEFINE_XEN_GUEST_HANDLE ( int )

◆ DEFINE_XEN_GUEST_HANDLE() [3/6]

DEFINE_XEN_GUEST_HANDLE ( long )

◆ DEFINE_XEN_GUEST_HANDLE() [4/6]

DEFINE_XEN_GUEST_HANDLE ( uint64_t )

◆ DEFINE_XEN_GUEST_HANDLE() [5/6]

DEFINE_XEN_GUEST_HANDLE ( uint8_t )

◆ DEFINE_XEN_GUEST_HANDLE() [6/6]

DEFINE_XEN_GUEST_HANDLE ( void )