Xen Test Framework
framework.h
Go to the documentation of this file.
1 
8 #ifndef XTF_FRAMEWORK_H
9 #define XTF_FRAMEWORK_H
10 
11 #include <xtf/compiler.h>
12 
13 /* Set up exception handling, consoles, etc. */
14 void arch_setup(void);
15 
16 /* Set up test-specific configuration. */
17 void test_setup(void);
18 
19 /*
20  * In the case that normal shutdown actions have failed, contain execution as
21  * best as possible.
22  */
23 void __noreturn arch_crash_hard(void);
24 
25 /* Single line summary of execution environment. */
26 extern const char environment_description[];
27 
28 #endif /* XTF_FRAMEWORK_H */
29 
30 /*
31  * Local variables:
32  * mode: C
33  * c-file-style: "BSD"
34  * c-basic-offset: 4
35  * tab-width: 4
36  * indent-tabs-mode: nil
37  * End:
38  */
void test_setup(void)
Definition: setup.c:289
const char environment_description[]
Definition: setup.c:30
#define __noreturn
Definition: compiler.h:10
void arch_crash_hard(void)
Definition: traps.c:142
void arch_setup(void)
Definition: setup.c:246