microblaze: Dont segfault when singlestepping first insn.
[qemu/agraf.git] / hw / xen.h
blob780dcf713af6526e53cd7fcc2f884fc37d0a6895
1 #ifndef QEMU_HW_XEN_H
2 #define QEMU_HW_XEN_H 1
3 /*
4 * public xen header
5 * stuff needed outside xen-*.c, i.e. interfaces to qemu.
6 * must not depend on any xen headers being present in
7 * /usr/include/xen, so it can be included unconditionally.
8 */
9 #include <inttypes.h>
11 /* xen-machine.c */
12 enum xen_mode {
13 XEN_EMULATE = 0, // xen emulation, using xenner (default)
14 XEN_CREATE, // create xen domain
15 XEN_ATTACH // attach to xen domain created by xend
18 extern uint32_t xen_domid;
19 extern enum xen_mode xen_mode;
21 #endif /* QEMU_HW_XEN_H */