Xen Test Framework
Data Structures | Macros | Typedefs
xen.h File Reference
#include "cpuid.h"
+ Include dependency graph for xen.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  xen_trap_info
 
struct  xen_vcpu_guest_context
 
struct  arch_shared_info
 

Macros

#define VGCF_I387_VALID   (1<<0)
 
#define VGCF_IN_KERNEL   (1<<2)
 
#define _VGCF_i387_valid   0
 
#define VGCF_i387_valid   (1<<_VGCF_i387_valid)
 
#define _VGCF_in_kernel   2
 
#define VGCF_in_kernel   (1<<_VGCF_in_kernel)
 
#define _VGCF_failsafe_disables_events   3
 
#define VGCF_failsafe_disables_events   (1<<_VGCF_failsafe_disables_events)
 
#define _VGCF_syscall_disables_events   4
 
#define VGCF_syscall_disables_events   (1<<_VGCF_syscall_disables_events)
 
#define _VGCF_online   5
 
#define VGCF_online   (1<<_VGCF_online)
 
#define _ASM_XEN_FEP   "ud2a; .ascii \"xen\";"
 Xen Forced Emulation Prefix. More...
 
#define _BIN_XEN_FEP   "\x0f\x0bxen"
 

Typedefs

typedef unsigned long xen_pfn_t
 
typedef struct xen_vcpu_guest_context xen_vcpu_guest_context_t
 

Macro Definition Documentation

◆ VGCF_I387_VALID

#define VGCF_I387_VALID   (1<<0)

Definition at line 46 of file xen.h.

◆ VGCF_IN_KERNEL

#define VGCF_IN_KERNEL   (1<<2)

Definition at line 47 of file xen.h.

◆ _VGCF_i387_valid

#define _VGCF_i387_valid   0

Definition at line 48 of file xen.h.

◆ VGCF_i387_valid

#define VGCF_i387_valid   (1<<_VGCF_i387_valid)

Definition at line 49 of file xen.h.

◆ _VGCF_in_kernel

#define _VGCF_in_kernel   2

Definition at line 50 of file xen.h.

◆ VGCF_in_kernel

#define VGCF_in_kernel   (1<<_VGCF_in_kernel)

Definition at line 51 of file xen.h.

◆ _VGCF_failsafe_disables_events

#define _VGCF_failsafe_disables_events   3

Definition at line 52 of file xen.h.

◆ VGCF_failsafe_disables_events

#define VGCF_failsafe_disables_events   (1<<_VGCF_failsafe_disables_events)

Definition at line 53 of file xen.h.

◆ _VGCF_syscall_disables_events

#define _VGCF_syscall_disables_events   4

Definition at line 54 of file xen.h.

◆ VGCF_syscall_disables_events

#define VGCF_syscall_disables_events   (1<<_VGCF_syscall_disables_events)

Definition at line 55 of file xen.h.

◆ _VGCF_online

#define _VGCF_online   5

Definition at line 56 of file xen.h.

◆ VGCF_online

#define VGCF_online   (1<<_VGCF_online)

Definition at line 57 of file xen.h.

◆ _ASM_XEN_FEP

#define _ASM_XEN_FEP   "ud2a; .ascii \"xen\";"

Xen Forced Emulation Prefix.

For PV guests, may prefix a cpuid instruction to allow Xen to fill in information, rather than reading the hardware values.

For HVM guests (and with the Xen 'hvm_fep' command line option enabled), may be used for cause any arbitrary instruction to be emulated in the hypervisor's x86 emulator.

Definition at line 150 of file xen.h.

◆ _BIN_XEN_FEP

#define _BIN_XEN_FEP   "\x0f\x0bxen"

Definition at line 151 of file xen.h.

Typedef Documentation

◆ xen_pfn_t

typedef unsigned long xen_pfn_t

Definition at line 19 of file xen.h.

◆ xen_vcpu_guest_context_t

Definition at line 91 of file xen.h.