Xen Test Framework
Functions | Variables
traps.c File Reference
#include <xtf/traps.h>
#include <xtf/lib.h>
#include <arch/idt.h>
#include <arch/lib.h>
#include <arch/mm.h>
#include <arch/processor.h>
#include <arch/desc.h>
+ Include dependency graph for traps.c:

Go to the source code of this file.

Functions

void entry_DE (void)
 
void entry_DB (void)
 
void entry_NMI (void)
 
void entry_BP (void)
 
void entry_OF (void)
 
void entry_BR (void)
 
void entry_UD (void)
 
void entry_NM (void)
 
void entry_DF (void)
 
void entry_TS (void)
 
void entry_NP (void)
 
void entry_SS (void)
 
void entry_GP (void)
 
void entry_PF (void)
 
void entry_MF (void)
 
void entry_AC (void)
 
void entry_MC (void)
 
void entry_XM (void)
 
void entry_VE (void)
 
void entry_ret_to_kernel (void)
 
int xtf_set_idte (unsigned int vector, const struct xtf_idte *idte)
 Set up an IDT Entry, in a guest agnostic way. More...
 
static void remap_user (unsigned int start_gfn, unsigned int end_gfn)
 
void arch_init_traps (void)
 
void arch_crash_hard (void)
 

Variables

xen_pvh_start_info_tpvh_start_info
 
env_tss tss
 
static env_tss tss_DF
 

Function Documentation

◆ entry_DE()

void entry_DE ( void  )
+ Here is the caller graph for this function:

◆ entry_DB()

void entry_DB ( void  )
+ Here is the caller graph for this function:

◆ entry_NMI()

void entry_NMI ( void  )
+ Here is the caller graph for this function:

◆ entry_BP()

void entry_BP ( void  )
+ Here is the caller graph for this function:

◆ entry_OF()

void entry_OF ( void  )
+ Here is the caller graph for this function:

◆ entry_BR()

void entry_BR ( void  )
+ Here is the caller graph for this function:

◆ entry_UD()

void entry_UD ( void  )
+ Here is the caller graph for this function:

◆ entry_NM()

void entry_NM ( void  )
+ Here is the caller graph for this function:

◆ entry_DF()

void entry_DF ( void  )
+ Here is the caller graph for this function:

◆ entry_TS()

void entry_TS ( void  )
+ Here is the caller graph for this function:

◆ entry_NP()

void entry_NP ( void  )
+ Here is the caller graph for this function:

◆ entry_SS()

void entry_SS ( void  )
+ Here is the caller graph for this function:

◆ entry_GP()

void entry_GP ( void  )
+ Here is the caller graph for this function:

◆ entry_PF()

void entry_PF ( void  )
+ Here is the caller graph for this function:

◆ entry_MF()

void entry_MF ( void  )
+ Here is the caller graph for this function:

◆ entry_AC()

void entry_AC ( void  )
+ Here is the caller graph for this function:

◆ entry_MC()

void entry_MC ( void  )
+ Here is the caller graph for this function:

◆ entry_XM()

void entry_XM ( void  )
+ Here is the caller graph for this function:

◆ entry_VE()

void entry_VE ( void  )
+ Here is the caller graph for this function:

◆ entry_ret_to_kernel()

void entry_ret_to_kernel ( void  )
+ Here is the caller graph for this function:

◆ xtf_set_idte()

int xtf_set_idte ( unsigned int  vector,
const struct xtf_idte idte 
)

Set up an IDT Entry, in a guest agnostic way.

Construct an IDT Entry at the specified vector, using configuration provided in idte.

Parameters
vectorVector to set up.
idteDetails to set up.
Returns
0 for HVM guests, hypercall result for PV guests.

Definition at line 73 of file traps.c.

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

◆ remap_user()

static void remap_user ( unsigned int  start_gfn,
unsigned int  end_gfn 
)
static

Definition at line 80 of file traps.c.

+ Here is the caller graph for this function:

◆ 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:

◆ arch_crash_hard()

void arch_crash_hard ( void  )

Definition at line 142 of file traps.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ pvh_start_info

xen_pvh_start_info_t* pvh_start_info

Definition at line 11 of file traps.c.

◆ tss

env_tss tss
Initial value:
=
{
}
#define X86_TSS_INVALID_IO_BITMAP
Definition: x86-tss.h:66

Definition at line 35 of file traps.c.

◆ tss_DF

env_tss tss_DF
static
Initial value:

Definition at line 54 of file traps.c.