Xen Test Framework
Functions | Variables
traps.h File Reference
#include <xtf/compiler.h>
#include <arch/regs.h>
#include <arch/lib.h>
#include <arch/page.h>
#include <xen/xen.h>
#include <xen/arch-x86/hvm/start_info.h>
+ Include dependency graph for traps.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void arch_init_traps (void)
 
static unsigned long cpu_regs_sp (const struct cpu_regs *regs)
 
static unsigned int cpu_regs_ss (const struct cpu_regs *regs)
 

Variables

uint8_t boot_stack [3 *PAGE_SIZE]
 
uint8_t user_stack [PAGE_SIZE]
 
xen_pv_start_info_tpv_start_info
 
xen_pvh_start_info_tpvh_start_info
 
unsigned long exec_user_cs
 
unsigned long exec_user_ss
 
unsigned long exec_user_efl_and_mask
 
unsigned long exec_user_efl_or_mask
 

Function Documentation

◆ arch_init_traps()

void arch_init_traps ( void  )

Definition at line 86 of file traps.c.

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

◆ cpu_regs_sp()

static unsigned long cpu_regs_sp ( const struct cpu_regs *  regs)
inlinestatic

Definition at line 21 of file traps.h.

+ Here is the call graph for this function:

◆ cpu_regs_ss()

static unsigned int cpu_regs_ss ( const struct cpu_regs *  regs)
inlinestatic

Definition at line 35 of file traps.h.

+ Here is the call graph for this function:

Variable Documentation

◆ boot_stack

uint8_t boot_stack[3 *PAGE_SIZE]

Definition at line 21 of file setup.c.

◆ user_stack

uint8_t user_stack[PAGE_SIZE]

Definition at line 22 of file setup.c.

◆ pv_start_info

xen_pv_start_info_t* pv_start_info

Definition at line 14 of file traps.c.

◆ pvh_start_info

xen_pvh_start_info_t* pvh_start_info

Definition at line 11 of file traps.c.

◆ exec_user_cs

unsigned long exec_user_cs

Definition at line 12 of file traps.c.

◆ exec_user_ss

unsigned long exec_user_ss

Definition at line 13 of file traps.c.

◆ exec_user_efl_and_mask

unsigned long exec_user_efl_and_mask

Definition at line 14 of file traps.c.

◆ exec_user_efl_or_mask

unsigned long exec_user_efl_or_mask

Definition at line 16 of file traps.c.