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. */
14void arch_setup(void);
15
16/* Set up test-specific configuration. */
17void test_setup(void);
18
19/*
20 * In the case that normal shutdown actions have failed, contain execution as
21 * best as possible.
22 */
24
25/* Get the domid using arch-specific means. Returns -1 for not available. */
26int arch_get_domid(void);
27
28/* Single line summary of execution environment. */
29extern const char environment_description[];
30
31#endif /* XTF_FRAMEWORK_H */
32
33/*
34 * Local variables:
35 * mode: C
36 * c-file-style: "BSD"
37 * c-basic-offset: 4
38 * tab-width: 4
39 * indent-tabs-mode: nil
40 * End:
41 */
#define __noreturn
Definition: compiler.h:10
int arch_get_domid(void)
Definition: setup.c:282
void arch_crash_hard(void)
Definition: traps.c:142
const char environment_description[]
Definition: setup.c:30
void test_setup(void)
Definition: setup.c:317
void arch_setup(void)
Definition: setup.c:258