aboutsummaryrefslogtreecommitdiff
path: root/sys/xen/interface/foreign/structs.py
blob: a1bc055a197153669ca6a6e3132f9942d2fb0c6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# configuration: what needs translation

unions  = [ "vcpu_cr_regs",
            "vcpu_ar_regs" ];

structs = [ "start_info",
            "trap_info",
            "pt_fpreg",
            "cpu_user_regs",
            "xen_ia64_boot_param",
            "ia64_tr_entry",
            "vcpu_tr_regs",
            "vcpu_guest_context_regs",
            "vcpu_guest_context",
            "arch_vcpu_info",
            "vcpu_time_info",
            "vcpu_info",
            "arch_shared_info",
            "shared_info" ];

defines = [ "__i386__",
            "__x86_64__",

            "FLAT_RING1_CS",
            "FLAT_RING1_DS",
            "FLAT_RING1_SS",

            "FLAT_RING3_CS64",
            "FLAT_RING3_DS64",
            "FLAT_RING3_SS64",
            "FLAT_KERNEL_CS64",
            "FLAT_KERNEL_DS64",
            "FLAT_KERNEL_SS64",

            "FLAT_KERNEL_CS",
            "FLAT_KERNEL_DS",
            "FLAT_KERNEL_SS",

            # x86_{32,64}
            "_VGCF_i387_valid",
            "VGCF_i387_valid",
            "_VGCF_in_kernel",
            "VGCF_in_kernel",
            "_VGCF_failsafe_disables_events",
            "VGCF_failsafe_disables_events",
            "_VGCF_syscall_disables_events",
            "VGCF_syscall_disables_events",
            "_VGCF_online",
            "VGCF_online",

            # ia64
            "VGCF_EXTRA_REGS",

            # all archs
            "xen_pfn_to_cr3",
            "XEN_LEGACY_MAX_VCPUS",
            "MAX_GUEST_CMDLINE" ];