Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
vcpu.h File Reference

Go to the source code of this file.

Data Structures

struct  vcpu_runstate_info
 
struct  vcpu_register_runstate_memory_area
 
struct  vcpu_set_periodic_timer
 
struct  vcpu_set_singleshot_timer
 
struct  vcpu_register_vcpu_info
 

Macros

#define VCPUOP_initialise   0
 
#define VCPUOP_up   1
 
#define VCPUOP_down   2
 
#define VCPUOP_is_up   3
 
#define VCPUOP_get_runstate_info   4
 
#define RUNSTATE_running   0
 
#define RUNSTATE_runnable   1
 
#define RUNSTATE_blocked   2
 
#define RUNSTATE_offline   3
 
#define VCPUOP_register_runstate_memory_area   5
 
#define VCPUOP_set_periodic_timer   6 /* arg == vcpu_set_periodic_timer_t */
 
#define VCPUOP_stop_periodic_timer   7 /* arg == NULL */
 
#define VCPUOP_set_singleshot_timer   8 /* arg == vcpu_set_singleshot_timer_t */
 
#define VCPUOP_stop_singleshot_timer   9 /* arg == NULL */
 
#define _VCPU_SSHOTTMR_future   (0)
 
#define VCPU_SSHOTTMR_future   (1U << _VCPU_SSHOTTMR_future)
 
#define VCPUOP_register_vcpu_info   10 /* arg == struct vcpu_info */
 

Functions

 DEFINE_GUEST_HANDLE_STRUCT (vcpu_runstate_info)
 
 DEFINE_GUEST_HANDLE_STRUCT (vcpu_set_periodic_timer)
 
 DEFINE_GUEST_HANDLE_STRUCT (vcpu_set_singleshot_timer)
 
 DEFINE_GUEST_HANDLE_STRUCT (vcpu_register_vcpu_info)
 

Macro Definition Documentation

#define _VCPU_SSHOTTMR_future   (0)

Definition at line 155 of file vcpu.h.

#define RUNSTATE_blocked   2

Definition at line 97 of file vcpu.h.

#define RUNSTATE_offline   3

Definition at line 105 of file vcpu.h.

#define RUNSTATE_runnable   1

Definition at line 94 of file vcpu.h.

#define RUNSTATE_running   0

Definition at line 91 of file vcpu.h.

#define VCPU_SSHOTTMR_future   (1U << _VCPU_SSHOTTMR_future)

Definition at line 156 of file vcpu.h.

#define VCPUOP_down   2

Definition at line 67 of file vcpu.h.

#define VCPUOP_get_runstate_info   4

Definition at line 76 of file vcpu.h.

#define VCPUOP_initialise   0

Definition at line 45 of file vcpu.h.

#define VCPUOP_is_up   3

Definition at line 70 of file vcpu.h.

#define VCPUOP_register_runstate_memory_area   5

Definition at line 120 of file vcpu.h.

#define VCPUOP_register_vcpu_info   10 /* arg == struct vcpu_info */

Definition at line 165 of file vcpu.h.

#define VCPUOP_set_periodic_timer   6 /* arg == vcpu_set_periodic_timer_t */

Definition at line 134 of file vcpu.h.

#define VCPUOP_set_singleshot_timer   8 /* arg == vcpu_set_singleshot_timer_t */

Definition at line 145 of file vcpu.h.

#define VCPUOP_stop_periodic_timer   7 /* arg == NULL */

Definition at line 135 of file vcpu.h.

#define VCPUOP_stop_singleshot_timer   9 /* arg == NULL */

Definition at line 146 of file vcpu.h.

#define VCPUOP_up   1

Definition at line 51 of file vcpu.h.

Function Documentation

DEFINE_GUEST_HANDLE_STRUCT ( vcpu_runstate_info  )
DEFINE_GUEST_HANDLE_STRUCT ( vcpu_set_periodic_timer  )
DEFINE_GUEST_HANDLE_STRUCT ( vcpu_set_singleshot_timer  )
DEFINE_GUEST_HANDLE_STRUCT ( vcpu_register_vcpu_info  )