Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | cpu_user_regs |
struct | arch_vcpu_info |
struct | xen_callback |
Macros | |
#define | FLAT_RING1_CS 0xe019 /* GDT index 259 */ |
#define | FLAT_RING1_DS 0xe021 /* GDT index 260 */ |
#define | FLAT_RING1_SS 0xe021 /* GDT index 260 */ |
#define | FLAT_RING3_CS 0xe02b /* GDT index 261 */ |
#define | FLAT_RING3_DS 0xe033 /* GDT index 262 */ |
#define | FLAT_RING3_SS 0xe033 /* GDT index 262 */ |
#define | FLAT_KERNEL_CS FLAT_RING1_CS |
#define | FLAT_KERNEL_DS FLAT_RING1_DS |
#define | FLAT_KERNEL_SS FLAT_RING1_SS |
#define | FLAT_USER_CS FLAT_RING3_CS |
#define | FLAT_USER_DS FLAT_RING3_DS |
#define | FLAT_USER_SS FLAT_RING3_SS |
#define | TRAP_INSTR "int $0x82" |
#define | __MACH2PHYS_VIRT_START 0xF5800000 |
#define | __MACH2PHYS_VIRT_END 0xF6800000 |
#define | __MACH2PHYS_SHIFT 2 |
#define | __HYPERVISOR_VIRT_START 0xF5800000 |
#define | XEN_CALLBACK(__cs, __eip) ((struct xen_callback){ .cs = (__cs), .eip = (unsigned long)(__eip) }) |
#define | xen_pfn_to_cr3(pfn) (((unsigned)(pfn) << 12) | ((unsigned)(pfn) >> 20)) |
#define | xen_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20)) |
Typedefs | |
typedef uint64_t | tsc_timestamp_t |
typedef struct xen_callback | xen_callback_t |
Functions | |
DEFINE_GUEST_HANDLE_STRUCT (cpu_user_regs) | |
#define __HYPERVISOR_VIRT_START 0xF5800000 |
Definition at line 44 of file interface_32.h.
#define __MACH2PHYS_SHIFT 2 |
Definition at line 38 of file interface_32.h.
#define __MACH2PHYS_VIRT_END 0xF6800000 |
Definition at line 36 of file interface_32.h.
#define __MACH2PHYS_VIRT_START 0xF5800000 |
Definition at line 35 of file interface_32.h.
#define FLAT_KERNEL_CS FLAT_RING1_CS |
Definition at line 25 of file interface_32.h.
#define FLAT_KERNEL_DS FLAT_RING1_DS |
Definition at line 26 of file interface_32.h.
#define FLAT_KERNEL_SS FLAT_RING1_SS |
Definition at line 27 of file interface_32.h.
#define FLAT_RING1_CS 0xe019 /* GDT index 259 */ |
Definition at line 18 of file interface_32.h.
#define FLAT_RING1_DS 0xe021 /* GDT index 260 */ |
Definition at line 19 of file interface_32.h.
#define FLAT_RING1_SS 0xe021 /* GDT index 260 */ |
Definition at line 20 of file interface_32.h.
#define FLAT_RING3_CS 0xe02b /* GDT index 261 */ |
Definition at line 21 of file interface_32.h.
#define FLAT_RING3_DS 0xe033 /* GDT index 262 */ |
Definition at line 22 of file interface_32.h.
#define FLAT_RING3_SS 0xe033 /* GDT index 262 */ |
Definition at line 23 of file interface_32.h.
#define FLAT_USER_CS FLAT_RING3_CS |
Definition at line 28 of file interface_32.h.
#define FLAT_USER_DS FLAT_RING3_DS |
Definition at line 29 of file interface_32.h.
#define FLAT_USER_SS FLAT_RING3_SS |
Definition at line 30 of file interface_32.h.
#define TRAP_INSTR "int $0x82" |
Definition at line 33 of file interface_32.h.
#define XEN_CALLBACK | ( | __cs, | |
__eip | |||
) | ((struct xen_callback){ .cs = (__cs), .eip = (unsigned long)(__eip) }) |
Definition at line 85 of file interface_32.h.
Definition at line 100 of file interface_32.h.
#define xen_pfn_to_cr3 | ( | pfn | ) | (((unsigned)(pfn) << 12) | ((unsigned)(pfn) >> 20)) |
Definition at line 99 of file interface_32.h.
typedef uint64_t tsc_timestamp_t |
Definition at line 72 of file interface_32.h.
typedef struct xen_callback xen_callback_t |
Definition at line 83 of file interface_32.h.
DEFINE_GUEST_HANDLE_STRUCT | ( | cpu_user_regs | ) |