Xen Test Framework
Functions | Variables
hypercall.h File Reference
#include <xtf/compiler.h>
#include <xtf/types.h>
#include <arch/desc.h>
#include <arch/page.h>
#include <xen/argo.h>
#include <xen/callback.h>
#include <xen/elfnote.h>
#include <xen/errno.h>
#include <xen/event_channel.h>
#include <xen/grant_table.h>
#include <xen/hvm/hvm_op.h>
#include <xen/hvm/hvm_vcpu.h>
#include <xen/hvm/params.h>
#include <xen/memory.h>
#include <xen/physdev.h>
#include <xen/sched.h>
#include <xen/sysctl.h>
#include <xen/vcpu.h>
#include <xen/version.h>
#include <xen/xen.h>
+ Include dependency graph for hypercall.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static long hypercall_set_trap_table (const struct xen_trap_info *ti)
 
static long hypercall_mmu_update (const mmu_update_t reqs[], unsigned int count, unsigned int *done, unsigned int foreigndom)
 
static long hypercall_set_gdt (const unsigned long *mfns, unsigned int entries)
 
static long hypercall_stack_switch (const unsigned int ss, const void *sp)
 
static long hypercall_set_debugreg (unsigned int reg, unsigned long val)
 
static long hypercall_get_debugreg (unsigned int reg)
 
static long hypercall_update_descriptor (uint64_t maddr, user_desc desc)
 
static long hypercall_memory_op (unsigned int cmd, void *arg)
 
static long hypercall_multicall (struct multicall_entry *list, unsigned int nr)
 
static long hypercall_update_va_mapping (unsigned long linear, uint64_t npte, enum XEN_UVMF flags)
 
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 long hypercall_vm_assist (unsigned int cmd, unsigned int type)
 
static long hypercall_vcpu_op (unsigned int cmd, unsigned int vcpu, void *extra)
 
static long hypercall_mmuext_op (const mmuext_op_t ops[], unsigned int count, unsigned int *done, unsigned int foreigndom)
 
static long hypercall_sched_op (unsigned int cmd, void *arg)
 
static long hypercall_callback_op (unsigned int cmd, const void *arg)
 
static long hypercall_event_channel_op (unsigned int cmd, void *arg)
 
static long hypercall_physdev_op (unsigned int cmd, void *arg)
 
static long hypercall_hvm_op (unsigned int cmd, void *arg)
 
static long hypercall_sysctl (xen_sysctl_t *arg)
 
static long hypercall_argo_op (unsigned int cmd, void *arg1, void *arg2, unsigned long arg3, unsigned long arg4)
 
static void hypercall_console_write (const char *buf, unsigned long count)
 
static long hypercall_shutdown (unsigned int reason)
 
static void hypercall_yield (void)
 
static long hypercall_poll (evtchn_port_t port)
 
static int hypercall_register_callback (const xen_callback_register_t *arg)
 
static int hypercall_evtchn_close (evtchn_port_t port)
 
static int hypercall_evtchn_send (evtchn_port_t port)
 
static int hypercall_evtchn_status (struct evtchn_status *status)
 
static int hypercall_evtchn_alloc_unbound (struct evtchn_alloc_unbound *ub)
 
static int hvm_set_param (unsigned int idx, uint64_t value)
 
static int hvm_get_param (unsigned int idx, uint64_t *value)
 

Variables

uint8_t hypercall_page [PAGE_SIZE]
 

Function Documentation

◆ hypercall_set_trap_table()

static long hypercall_set_trap_table ( const struct xen_trap_info ti)
inlinestatic

Definition at line 56 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_mmu_update()

static long hypercall_mmu_update ( const mmu_update_t  reqs[],
unsigned int  count,
unsigned int *  done,
unsigned int  foreigndom 
)
inlinestatic

Definition at line 61 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_set_gdt()

static long hypercall_set_gdt ( const unsigned long *  mfns,
unsigned int  entries 
)
inlinestatic

Definition at line 70 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_stack_switch()

static long hypercall_stack_switch ( const unsigned int  ss,
const void *  sp 
)
inlinestatic

Definition at line 76 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_set_debugreg()

static long hypercall_set_debugreg ( unsigned int  reg,
unsigned long  val 
)
inlinestatic

Definition at line 81 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_get_debugreg()

static long hypercall_get_debugreg ( unsigned int  reg)
inlinestatic

Definition at line 86 of file hypercall.h.

◆ hypercall_update_descriptor()

static long hypercall_update_descriptor ( uint64_t  maddr,
user_desc  desc 
)
inlinestatic

Definition at line 91 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_memory_op()

static long hypercall_memory_op ( unsigned int  cmd,
void *  arg 
)
inlinestatic

Definition at line 101 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_multicall()

static long hypercall_multicall ( struct multicall_entry list,
unsigned int  nr 
)
inlinestatic

Definition at line 106 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_update_va_mapping()

static long hypercall_update_va_mapping ( unsigned long  linear,
uint64_t  npte,
enum XEN_UVMF  flags 
)
inlinestatic

Definition at line 116 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_xen_version()

static long hypercall_xen_version ( unsigned int  cmd,
void *  arg 
)
inlinestatic

Definition at line 127 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_grant_table_op()

static long hypercall_grant_table_op ( unsigned int  cmd,
void *  args,
unsigned int  count 
)
inlinestatic

Definition at line 132 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_vm_assist()

static long hypercall_vm_assist ( unsigned int  cmd,
unsigned int  type 
)
inlinestatic

Definition at line 138 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_vcpu_op()

static long hypercall_vcpu_op ( unsigned int  cmd,
unsigned int  vcpu,
void *  extra 
)
inlinestatic

Definition at line 143 of file hypercall.h.

◆ hypercall_mmuext_op()

static long hypercall_mmuext_op ( const mmuext_op_t  ops[],
unsigned int  count,
unsigned int *  done,
unsigned int  foreigndom 
)
inlinestatic

Definition at line 149 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_sched_op()

static long hypercall_sched_op ( unsigned int  cmd,
void *  arg 
)
inlinestatic

Definition at line 158 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_callback_op()

static long hypercall_callback_op ( unsigned int  cmd,
const void *  arg 
)
inlinestatic

Definition at line 163 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_event_channel_op()

static long hypercall_event_channel_op ( unsigned int  cmd,
void *  arg 
)
inlinestatic

Definition at line 168 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_physdev_op()

static long hypercall_physdev_op ( unsigned int  cmd,
void *  arg 
)
inlinestatic

Definition at line 173 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_hvm_op()

static long hypercall_hvm_op ( unsigned int  cmd,
void *  arg 
)
inlinestatic

Definition at line 178 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_sysctl()

static long hypercall_sysctl ( xen_sysctl_t arg)
inlinestatic

Definition at line 183 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_argo_op()

static long hypercall_argo_op ( unsigned int  cmd,
void *  arg1,
void *  arg2,
unsigned long  arg3,
unsigned long  arg4 
)
inlinestatic

Definition at line 188 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_console_write()

static void hypercall_console_write ( const char *  buf,
unsigned long  count 
)
inlinestatic

Definition at line 197 of file hypercall.h.

+ Here is the caller graph for this function:

◆ hypercall_shutdown()

static long hypercall_shutdown ( unsigned int  reason)
inlinestatic

Definition at line 202 of file hypercall.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hypercall_yield()

static void hypercall_yield ( void  )
inlinestatic

Definition at line 207 of file hypercall.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hypercall_poll()

static long hypercall_poll ( evtchn_port_t  port)
inlinestatic

Definition at line 212 of file hypercall.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hypercall_register_callback()

static int hypercall_register_callback ( const xen_callback_register_t arg)
inlinestatic

Definition at line 219 of file hypercall.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hypercall_evtchn_close()

static int hypercall_evtchn_close ( evtchn_port_t  port)
inlinestatic

Definition at line 224 of file hypercall.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hypercall_evtchn_send()

static int hypercall_evtchn_send ( evtchn_port_t  port)
inlinestatic

Definition at line 229 of file hypercall.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hypercall_evtchn_status()

static int hypercall_evtchn_status ( struct evtchn_status status)
inlinestatic

Definition at line 234 of file hypercall.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hypercall_evtchn_alloc_unbound()

static int hypercall_evtchn_alloc_unbound ( struct evtchn_alloc_unbound ub)
inlinestatic

Definition at line 239 of file hypercall.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hvm_set_param()

static int hvm_set_param ( unsigned int  idx,
uint64_t  value 
)
inlinestatic

Definition at line 244 of file hypercall.h.

+ Here is the call graph for this function:

◆ hvm_get_param()

static int hvm_get_param ( unsigned int  idx,
uint64_t value 
)
inlinestatic

Definition at line 251 of file hypercall.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ hypercall_page

uint8_t hypercall_page[PAGE_SIZE]
extern