|
#define | XEN_FLEX_ARRAY_DIM 1 /* variable size */ |
|
#define | __xen_mk_uint(x) x ## U |
|
#define | __xen_mk_ulong(x) x ## UL |
|
#define | __xen_mk_ullong(x) x ## ULL |
|
#define | xen_mk_uint(x) __xen_mk_uint(x) |
|
#define | xen_mk_ulong(x) __xen_mk_ulong(x) |
|
#define | xen_mk_ullong(x) __xen_mk_ullong(x) |
|
#define | __HYPERVISOR_set_trap_table 0 |
|
#define | __HYPERVISOR_mmu_update 1 |
|
#define | __HYPERVISOR_set_gdt 2 |
|
#define | __HYPERVISOR_stack_switch 3 |
|
#define | __HYPERVISOR_set_callbacks 4 |
|
#define | __HYPERVISOR_fpu_taskswitch 5 |
|
#define | __HYPERVISOR_sched_op_compat 6 /* compat since 0x00030101 */ |
|
#define | __HYPERVISOR_platform_op 7 |
|
#define | __HYPERVISOR_set_debugreg 8 |
|
#define | __HYPERVISOR_get_debugreg 9 |
|
#define | __HYPERVISOR_update_descriptor 10 |
|
#define | __HYPERVISOR_memory_op 12 |
|
#define | __HYPERVISOR_multicall 13 |
|
#define | __HYPERVISOR_update_va_mapping 14 |
|
#define | __HYPERVISOR_set_timer_op 15 |
|
#define | __HYPERVISOR_event_channel_op_compat 16 /* compat since 0x00030202 */ |
|
#define | __HYPERVISOR_xen_version 17 |
|
#define | __HYPERVISOR_console_io 18 |
|
#define | __HYPERVISOR_physdev_op_compat 19 /* compat since 0x00030202 */ |
|
#define | __HYPERVISOR_grant_table_op 20 |
|
#define | __HYPERVISOR_vm_assist 21 |
|
#define | __HYPERVISOR_update_va_mapping_otherdomain 22 |
|
#define | __HYPERVISOR_iret 23 /* x86 only */ |
|
#define | __HYPERVISOR_vcpu_op 24 |
|
#define | __HYPERVISOR_set_segment_base 25 /* x86/64 only */ |
|
#define | __HYPERVISOR_mmuext_op 26 |
|
#define | __HYPERVISOR_xsm_op 27 |
|
#define | __HYPERVISOR_nmi_op 28 |
|
#define | __HYPERVISOR_sched_op 29 |
|
#define | __HYPERVISOR_callback_op 30 |
|
#define | __HYPERVISOR_xenoprof_op 31 |
|
#define | __HYPERVISOR_event_channel_op 32 |
|
#define | __HYPERVISOR_physdev_op 33 |
|
#define | __HYPERVISOR_hvm_op 34 |
|
#define | __HYPERVISOR_sysctl 35 |
|
#define | __HYPERVISOR_domctl 36 |
|
#define | __HYPERVISOR_kexec_op 37 |
|
#define | __HYPERVISOR_tmem_op 38 |
|
#define | __HYPERVISOR_argo_op 39 |
|
#define | __HYPERVISOR_xenpmu_op 40 |
|
#define | __HYPERVISOR_dm_op 41 |
|
#define | __HYPERVISOR_hypfs_op 42 |
|
#define | __HYPERVISOR_arch_0 48 |
|
#define | __HYPERVISOR_arch_1 49 |
|
#define | __HYPERVISOR_arch_2 50 |
|
#define | __HYPERVISOR_arch_3 51 |
|
#define | __HYPERVISOR_arch_4 52 |
|
#define | __HYPERVISOR_arch_5 53 |
|
#define | __HYPERVISOR_arch_6 54 |
|
#define | __HYPERVISOR_arch_7 55 |
|
#define | __HYPERVISOR_sched_op __HYPERVISOR_sched_op_compat |
|
#define | __HYPERVISOR_event_channel_op __HYPERVISOR_event_channel_op_compat |
|
#define | __HYPERVISOR_physdev_op __HYPERVISOR_physdev_op_compat |
|
#define | __HYPERVISOR_dom0_op __HYPERVISOR_platform_op |
|
#define | VIRQ_TIMER 0 /* V. Timebase update, and/or requested timeout. */ |
|
#define | VIRQ_DEBUG 1 /* V. Request guest to dump debug info. */ |
|
#define | VIRQ_CONSOLE 2 /* G. (DOM0) Bytes received on emergency console. */ |
|
#define | VIRQ_DOM_EXC 3 /* G. (DOM0) Exceptional event for some domain. */ |
|
#define | VIRQ_TBUF 4 /* G. (DOM0) Trace buffer has records available. */ |
|
#define | VIRQ_DEBUGGER 6 /* G. (DOM0) A domain has paused for debugging. */ |
|
#define | VIRQ_XENOPROF 7 /* V. XenOprofile interrupt: new sample available */ |
|
#define | VIRQ_CON_RING 8 /* G. (DOM0) Bytes received on console */ |
|
#define | VIRQ_PCPU_STATE 9 /* G. (DOM0) PCPU state changed */ |
|
#define | VIRQ_MEM_EVENT 10 /* G. (DOM0) A memory event has occurred */ |
|
#define | VIRQ_ARGO 11 /* G. Argo interdomain message notification */ |
|
#define | VIRQ_ENOMEM 12 /* G. (DOM0) Low on heap memory */ |
|
#define | VIRQ_XENPMU 13 /* V. PMC interrupt */ |
|
#define | VIRQ_ARCH_0 16 |
|
#define | VIRQ_ARCH_1 17 |
|
#define | VIRQ_ARCH_2 18 |
|
#define | VIRQ_ARCH_3 19 |
|
#define | VIRQ_ARCH_4 20 |
|
#define | VIRQ_ARCH_5 21 |
|
#define | VIRQ_ARCH_6 22 |
|
#define | VIRQ_ARCH_7 23 |
|
#define | NR_VIRQS 24 |
|
#define | MMU_NORMAL_PT_UPDATE 0 /* checked '*ptr = val'. ptr is MA. */ |
|
#define | MMU_MACHPHYS_UPDATE 1 /* ptr = MA of frame to modify entry for */ |
|
#define | MMU_PT_UPDATE_PRESERVE_AD 2 /* atomically: *ptr = val | (*ptr&(A|D)) */ |
|
#define | MMU_PT_UPDATE_NO_TRANSLATE 3 /* checked '*ptr = val'. ptr is MA. */ |
|
#define | MMUEXT_PIN_L1_TABLE 0 |
|
#define | MMUEXT_PIN_L2_TABLE 1 |
|
#define | MMUEXT_PIN_L3_TABLE 2 |
|
#define | MMUEXT_PIN_L4_TABLE 3 |
|
#define | MMUEXT_UNPIN_TABLE 4 |
|
#define | MMUEXT_NEW_BASEPTR 5 |
|
#define | MMUEXT_TLB_FLUSH_LOCAL 6 |
|
#define | MMUEXT_INVLPG_LOCAL 7 |
|
#define | MMUEXT_TLB_FLUSH_MULTI 8 |
|
#define | MMUEXT_INVLPG_MULTI 9 |
|
#define | MMUEXT_TLB_FLUSH_ALL 10 |
|
#define | MMUEXT_INVLPG_ALL 11 |
|
#define | MMUEXT_FLUSH_CACHE 12 |
|
#define | MMUEXT_SET_LDT 13 |
|
#define | MMUEXT_NEW_USER_BASEPTR 15 |
|
#define | MMUEXT_CLEAR_PAGE 16 |
|
#define | MMUEXT_COPY_PAGE 17 |
|
#define | MMUEXT_FLUSH_CACHE_GLOBAL 18 |
|
#define | MMUEXT_MARK_SUPER 19 |
|
#define | MMUEXT_UNMARK_SUPER 20 |
|
#define | UVMF_NONE (xen_mk_ulong(0)<<0) /* No flushing at all. */ |
|
#define | UVMF_TLB_FLUSH (xen_mk_ulong(1)<<0) /* Flush entire TLB(s). */ |
|
#define | UVMF_INVLPG (xen_mk_ulong(2)<<0) /* Flush only one entry. */ |
|
#define | UVMF_FLUSHTYPE_MASK (xen_mk_ulong(3)<<0) |
|
#define | UVMF_MULTI (xen_mk_ulong(0)<<2) /* Flush subset of TLBs. */ |
|
#define | UVMF_LOCAL (xen_mk_ulong(0)<<2) /* Flush local TLB. */ |
|
#define | UVMF_ALL (xen_mk_ulong(1)<<2) /* Flush all TLBs. */ |
|
#define | CONSOLEIO_write 0 |
|
#define | CONSOLEIO_read 1 |
|
#define | VMASST_CMD_enable 0 |
|
#define | VMASST_CMD_disable 1 |
|
#define | VMASST_TYPE_4gb_segments 0 |
|
#define | VMASST_TYPE_4gb_segments_notify 1 |
|
#define | VMASST_TYPE_writable_pagetables 2 |
|
#define | VMASST_TYPE_pae_extended_cr3 3 |
|
#define | VMASST_TYPE_architectural_iopl 4 |
|
#define | VMASST_TYPE_runstate_update_flag 5 |
|
#define | VMASST_TYPE_m2p_strict 32 |
|
#define | MAX_VMASST_TYPE 3 |
|
#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 | SIF_PRIVILEGED (1<<0) /* Is the domain privileged? */ |
|
#define | SIF_INITDOMAIN (1<<1) /* Is this the initial control domain? */ |
|
#define | SIF_MULTIBOOT_MOD (1<<2) /* Is mod_start a multiboot module? */ |
|
#define | SIF_MOD_START_PFN (1<<3) /* Is mod_start a PFN? */ |
|
#define | SIF_VIRT_P2M_4TOOLS (1<<4) /* Do Xen tools understand a virt. mapped */ |
|
#define | SIF_PM_MASK (0xFF<<8) /* reserve 1 byte for xen-pm options */ |
|
#define | XEN_VGATYPE_TEXT_MODE_3 0x03 |
|
#define | XEN_VGATYPE_VESA_LFB 0x23 |
|
#define | XEN_VGATYPE_EFI_LFB 0x70 |
|
#define | xen_vga_console_info dom0_vga_console_info |
|
#define | xen_vga_console_info_t dom0_vga_console_info_t |
|
#define | XEN_DEFINE_UUID_(a, b, c, d, e1, e2, e3, e4, e5, e6) |
|
#define | XEN_DEFINE_UUID(a, b, c, d, e1, e2, e3, e4, e5, e6) XEN_DEFINE_UUID_(a, b, c, d, e1, e2, e3, e4, e5, e6) |
|