Xen Test Framework
Functions | Variables
main.c File Reference

CPUID Faulting support More...

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

Go to the source code of this file.

Functions

unsigned long stub_cpuid (void)
 
unsigned long stub_fep_cpuid (void)
 
static void test_cpuid (bool exp_faulting)
 
void test_main (void)
 To be implemented by each test, as its entry point. More...
 

Variables

const char test_title [] = "Guest CPUID Faulting support"
 The title of the test. More...
 
bool test_wants_user_mappings = true
 Boolean indicating whether the test wants user mappings or not. More...
 

Detailed Description

CPUID Faulting support

Definition in file main.c.

Function Documentation

◆ stub_cpuid()

unsigned long stub_cpuid ( void  )

Definition at line 28 of file main.c.

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

◆ stub_fep_cpuid()

unsigned long stub_fep_cpuid ( void  )

Definition at line 41 of file main.c.

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

◆ test_cpuid()

static void test_cpuid ( bool  exp_faulting)
static

Definition at line 55 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 85 of file main.c.

+ Here is the call graph for this function:

Variable Documentation

◆ test_title

const char test_title[] = "Guest CPUID Faulting support"

The title of the test.

Definition at line 24 of file main.c.

◆ test_wants_user_mappings

bool test_wants_user_mappings = true

Boolean indicating whether the test wants user mappings or not.

Some tests want an easy transition between supervisor and user modes. For such tests, this requires running on _PAGE_USER mappings, and they must opt-in.

See also
Errata

The framework variable is a weak reference, and may be overridden by a test wishing to change the default.

Definition at line 26 of file main.c.