XSA-296
More...
#include <xtf.h>
Go to the source code of this file.
|
void | do_evtchn (struct cpu_regs *regs) |
| May be implemented by a guest to handle Event Channel upcalls. More...
|
|
void | test_main (void) |
| To be implemented by each test, as its entry point. More...
|
|
XSA-296
Definition in file main.c.
◆ COND
#define COND |
( |
|
_32, |
|
|
|
_64 |
|
) |
| _64 |
◆ __TEST_CS64
◆ do_evtchn()
void do_evtchn |
( |
struct cpu_regs * |
regs | ) |
|
May be implemented by a guest to handle Event Channel upcalls.
Definition at line 48 of file main.c.
◆ test_main()
To be implemented by each test, as its entry point.
- Todo:
- Implement better command line infrastructure, but this will do for now.
At the time of writing, Xen doesn't correctly handle invlpg
while running in shadow mode on AMD Gen1 hardware lacking decode assistance. For this test, we simply care that Xen doesn't crash.
Definition at line 65 of file main.c.
◆ test_title
const char test_title[] = "XSA-296 PoC" |
The title of the test.
Definition at line 30 of file main.c.
◆ t1
◆ t2
◆ vcpu1_ctx
Initial value:
Definition at line 44 of file main.c.