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/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_send (evtchn_port_t port)
 
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 55 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 60 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 69 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 75 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 80 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 85 of file hypercall.h.

◆ hypercall_update_descriptor()

static long hypercall_update_descriptor ( uint64_t  maddr,
user_desc  desc 
)
inlinestatic

Definition at line 90 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 100 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 105 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 115 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 126 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 131 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 137 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 142 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 148 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 157 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 162 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 167 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 172 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 177 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 182 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 187 of file hypercall.h.

◆ hypercall_console_write()

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

Definition at line 196 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 201 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 206 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 211 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 218 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 223 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 228 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 235 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]