]>
Commit | Line | Data |
---|---|---|
ad96090a BS |
1 | #ifndef QEMU_ARCH_INIT_H |
2 | #define QEMU_ARCH_INIT_H | |
3 | ||
76b64a7a AL |
4 | #include "qmp-commands.h" |
5 | ||
ad96090a BS |
6 | enum { |
7 | QEMU_ARCH_ALL = -1, | |
8 | QEMU_ARCH_ALPHA = 1, | |
9 | QEMU_ARCH_ARM = 2, | |
10 | QEMU_ARCH_CRIS = 4, | |
11 | QEMU_ARCH_I386 = 8, | |
12 | QEMU_ARCH_M68K = 16, | |
81ea0e13 MW |
13 | QEMU_ARCH_LM32 = 32, |
14 | QEMU_ARCH_MICROBLAZE = 64, | |
15 | QEMU_ARCH_MIPS = 128, | |
16 | QEMU_ARCH_PPC = 256, | |
17 | QEMU_ARCH_S390X = 512, | |
18 | QEMU_ARCH_SH4 = 1024, | |
19 | QEMU_ARCH_SPARC = 2048, | |
2328826b | 20 | QEMU_ARCH_XTENSA = 4096, |
e67db06e | 21 | QEMU_ARCH_OPENRISC = 8192, |
4f23a1e6 | 22 | QEMU_ARCH_UNICORE32 = 0x4000, |
ad96090a BS |
23 | }; |
24 | ||
25 | extern const uint32_t arch_type; | |
26 | ||
27 | void select_soundhw(const char *optarg); | |
ad96090a BS |
28 | void do_acpitable_option(const char *optarg); |
29 | void do_smbios_option(const char *optarg); | |
30 | void cpudef_init(void); | |
31 | int audio_available(void); | |
4a0f031d | 32 | void audio_init(ISABus *isa_bus, PCIBus *pci_bus); |
303d4e86 | 33 | int tcg_available(void); |
ad96090a BS |
34 | int kvm_available(void); |
35 | int xen_available(void); | |
36 | ||
76b64a7a AL |
37 | CpuDefinitionInfoList GCC_WEAK_DECL *arch_query_cpu_definitions(Error **errp); |
38 | ||
ad96090a | 39 | #endif |