Xen Test Framework
|
Invlpg Handling invlpg
instruction handling
More...
#include <xtf.h>
Go to the source code of this file.
Data Structures | |
struct | tlb_refill_fs_test |
Macros | |
#define | _ASM_MAYBE_XEN_FEP |
Functions | |
static bool | ex_fail (struct cpu_regs *regs, const struct extable_entry *ex) |
Custom extable handler, linked to all invlpg instruction which are expected not to fault. More... | |
static bool | test_ad (uint64_t pte) |
Are both the Accessed and Dirty bits are set in a pagetable entry? More... | |
static unsigned int | invlpg_refill (void) |
static unsigned int | invlpg_fs_refill (void) |
static void | run_tlb_refill_test (unsigned int(*fn)(void), unsigned int expect) |
static void | test_tlb_refill (void) |
static void | invlpg_checked (unsigned long linear) |
static void | invlpg_fs_checked (unsigned long linear) |
static void | test_no_fault (void) |
void | test_main (void) |
To be implemented by each test, as its entry point. More... | |
Variables | |
const char | test_title [] = "Invlpg tests" |
The title of the test. More... | |
static const struct tlb_refill_fs_test | tlb_refill_fs_tests [] |
Invlpg Handling invlpg
instruction handling
Definition in file main.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void test_main | ( | void | ) |
const char test_title[] = "Invlpg tests" |
|
static |