12# define HYPERCALL0 _hypercall64_0
13# define HYPERCALL1 _hypercall64_1
14# define HYPERCALL2 _hypercall64_2
15# define HYPERCALL3 _hypercall64_3
16# define HYPERCALL4 _hypercall64_4
17# define HYPERCALL5 _hypercall64_5
19#elif defined(__i386__)
22# define HYPERCALL0 _hypercall32_0
23# define HYPERCALL1 _hypercall32_1
24# define HYPERCALL2 _hypercall32_2
25# define HYPERCALL3 _hypercall32_3
26# define HYPERCALL4 _hypercall32_4
27# define HYPERCALL5 _hypercall32_5
30# error Bad architecture for hypercalls
63 unsigned int foreigndom)
66 reqs, count, done, foreigndom);
96 maddr, maddr >> 32, desc.lo, desc.hi);
122 linear, npte, npte >> 32, flags);
151 unsigned int foreigndom)
154 ops, count, done, foreigndom);
188 unsigned long arg3,
unsigned long arg4)
#define CALLBACKOP_register
x86 segment descriptor infrastructure.
static long hypercall_mmuext_op(const mmuext_op_t ops[], unsigned int count, unsigned int *done, unsigned int foreigndom)
static int hvm_get_param(unsigned int idx, uint64_t *value)
static long hypercall_event_channel_op(unsigned int cmd, void *arg)
static long hypercall_stack_switch(const unsigned int ss, const void *sp)
static long hypercall_multicall(struct multicall_entry *list, unsigned int nr)
static long hypercall_get_debugreg(unsigned int reg)
static long hypercall_mmu_update(const mmu_update_t reqs[], unsigned int count, unsigned int *done, unsigned int foreigndom)
static long hypercall_callback_op(unsigned int cmd, const void *arg)
static long hypercall_set_gdt(const unsigned long *mfns, unsigned int entries)
static long hypercall_sysctl(xen_sysctl_t *arg)
static long hypercall_vcpu_op(unsigned int cmd, unsigned int vcpu, void *extra)
static int hypercall_evtchn_send(evtchn_port_t port)
static long hypercall_argo_op(unsigned int cmd, void *arg1, void *arg2, unsigned long arg3, unsigned long arg4)
static long hypercall_physdev_op(unsigned int cmd, void *arg)
static int hypercall_register_callback(const xen_callback_register_t *arg)
static long hypercall_update_va_mapping(unsigned long linear, uint64_t npte, enum XEN_UVMF flags)
static long hypercall_sched_op(unsigned int cmd, void *arg)
static long hypercall_set_debugreg(unsigned int reg, unsigned long val)
static long hypercall_set_trap_table(const struct xen_trap_info *ti)
static long hypercall_update_descriptor(uint64_t maddr, user_desc desc)
static long hypercall_hvm_op(unsigned int cmd, void *arg)
static int hvm_set_param(unsigned int idx, uint64_t value)
static void hypercall_console_write(const char *buf, unsigned long count)
static long hypercall_poll(evtchn_port_t port)
static long hypercall_memory_op(unsigned int cmd, void *arg)
uint8_t hypercall_page[PAGE_SIZE]
static long hypercall_shutdown(unsigned int reason)
static long hypercall_xen_version(unsigned int cmd, void *arg)
static long hypercall_grant_table_op(unsigned int cmd, void *args, unsigned int count)
static void hypercall_yield(void)
static long hypercall_vm_assist(unsigned int cmd, unsigned int type)
Common declarations for all tests.
#define __HYPERVISOR_hvm_op
#define __HYPERVISOR_physdev_op
#define __HYPERVISOR_sched_op
#define __HYPERVISOR_set_trap_table
#define __HYPERVISOR_callback_op
#define __HYPERVISOR_vm_assist
#define __HYPERVISOR_update_va_mapping
#define __HYPERVISOR_multicall
#define __HYPERVISOR_xen_version
#define __HYPERVISOR_get_debugreg
#define __HYPERVISOR_argo_op
#define __HYPERVISOR_update_descriptor
#define __HYPERVISOR_mmuext_op
#define __HYPERVISOR_mmu_update
#define __HYPERVISOR_set_debugreg
#define __HYPERVISOR_memory_op
#define __HYPERVISOR_vcpu_op
#define __HYPERVISOR_stack_switch
#define __HYPERVISOR_event_channel_op
#define __HYPERVISOR_sysctl
#define __HYPERVISOR_console_io
#define __HYPERVISOR_grant_table_op
#define __HYPERVISOR_set_gdt