Xen Test Framework
Functions | Variables
main.c File Reference

PV FSGSBASE behaviour More...

#include <xtf.h>
+ Include dependency graph for main.c:

Go to the source code of this file.

Functions

static exinfo_t stub_rdfsbase (unsigned long unused)
 
static exinfo_t stub_rdgsbase (unsigned long unused)
 
static exinfo_t stub_wrfsbase (unsigned long val)
 
static exinfo_t stub_wrgsbase (unsigned long val)
 
static void test_fsgsbase_insns (bool should_ud)
 
static void test_wrfsbase_values (void)
 
static bool pv_write_cr4_safe (unsigned long val)
 
void test_main (void)
 To be implemented by each test, as its entry point. More...
 

Variables

const char test_title [] = "Test PV FSGSBASE behaviour"
 The title of the test. More...
 

Detailed Description

PV FSGSBASE behaviour

Definition in file main.c.

Function Documentation

◆ stub_rdfsbase()

static exinfo_t stub_rdfsbase ( unsigned long  unused)
static

Definition at line 36 of file main.c.

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

◆ stub_rdgsbase()

static exinfo_t stub_rdgsbase ( unsigned long  unused)
static

Definition at line 49 of file main.c.

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

◆ stub_wrfsbase()

static exinfo_t stub_wrfsbase ( unsigned long  val)
static

Definition at line 62 of file main.c.

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

◆ stub_wrgsbase()

static exinfo_t stub_wrgsbase ( unsigned long  val)
static

Definition at line 74 of file main.c.

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

◆ test_fsgsbase_insns()

static void test_fsgsbase_insns ( bool  should_ud)
static

Definition at line 86 of file main.c.

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

◆ test_wrfsbase_values()

static void test_wrfsbase_values ( void  )
static

Definition at line 112 of file main.c.

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

◆ pv_write_cr4_safe()

static bool pv_write_cr4_safe ( unsigned long  val)
static

Definition at line 149 of file main.c.

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

◆ test_main()

void test_main ( void  )

To be implemented by each test, as its entry point.

Definition at line 164 of file main.c.

+ Here is the call graph for this function:

Variable Documentation

◆ test_title

const char test_title[] = "Test PV FSGSBASE behaviour"

The title of the test.

Definition at line 34 of file main.c.