1 #ifndef XTF_HYPERCALL_H 2 #define XTF_HYPERCALL_H 9 #if defined(__x86_64__) 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);
86 maddr, maddr >> 32, desc.lo, desc.hi);
112 linear, npte, npte >> 32, flags);
141 unsigned int foreigndom)
144 ops, count, done, foreigndom);
178 unsigned long arg3,
unsigned long arg4)
static long hypercall_set_trap_table(const struct xen_trap_info *ti)
#define __HYPERVISOR_vcpu_op
static int hypercall_evtchn_send(evtchn_port_t port)
Common declarations for all tests.
#define __HYPERVISOR_argo_op
#define __HYPERVISOR_update_descriptor
static long hypercall_update_va_mapping(unsigned long linear, uint64_t npte, enum XEN_UVMF flags)
#define __HYPERVISOR_sched_op
static long hypercall_callback_op(unsigned int cmd, const void *arg)
#define __HYPERVISOR_console_io
static long hypercall_sched_op(unsigned int cmd, void *arg)
x86 segment descriptor infrastructure.
#define __HYPERVISOR_sysctl
#define __HYPERVISOR_grant_table_op
static int hypercall_register_callback(const xen_callback_register_t *arg)
static long hypercall_vcpu_op(unsigned int cmd, unsigned int vcpu, void *extra)
#define CALLBACKOP_register
static long hypercall_stack_switch(const unsigned int ss, const void *sp)
#define __HYPERVISOR_xen_version
static long hypercall_update_descriptor(uint64_t maddr, user_desc desc)
#define __HYPERVISOR_set_trap_table
#define __HYPERVISOR_vm_assist
static long hypercall_multicall(struct multicall_entry *list, unsigned int nr)
static long hypercall_shutdown(unsigned int reason)
static void hypercall_yield(void)
static int hvm_set_param(unsigned int idx, uint64_t value)
static long hypercall_physdev_op(unsigned int cmd, void *arg)
#define __HYPERVISOR_physdev_op
uint8_t hypercall_page[PAGE_SIZE]
#define __HYPERVISOR_multicall
static long hypercall_vm_assist(unsigned int cmd, unsigned int type)
static long hypercall_mmu_update(const mmu_update_t reqs[], 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_set_gdt(const unsigned long *mfns, unsigned int entries)
#define __HYPERVISOR_mmuext_op
#define __HYPERVISOR_set_gdt
#define __HYPERVISOR_memory_op
static long hypercall_sysctl(xen_sysctl_t *arg)
static void hypercall_console_write(const char *buf, unsigned long count)
#define __HYPERVISOR_mmu_update
#define __HYPERVISOR_stack_switch
static long hypercall_hvm_op(unsigned int cmd, void *arg)
#define __HYPERVISOR_callback_op
static long hypercall_poll(evtchn_port_t port)
static long hypercall_grant_table_op(unsigned int cmd, void *args, unsigned int count)
static long hypercall_mmuext_op(const mmuext_op_t ops[], unsigned int count, unsigned int *done, unsigned int foreigndom)
#define __HYPERVISOR_update_va_mapping
#define __HYPERVISOR_event_channel_op
static long hypercall_xen_version(unsigned int cmd, void *arg)
#define __HYPERVISOR_hvm_op
static long hypercall_memory_op(unsigned int cmd, void *arg)
static long hypercall_argo_op(unsigned int cmd, void *arg1, void *arg2, unsigned long arg3, unsigned long arg4)