hw/block-common: Factor out fall back to legacy -drive serial=...
[qemu/agraf.git] / arch_init.h
blobc7cb94a932912d28d2ef7a302e66b8d7aa37542d
1 #ifndef QEMU_ARCH_INIT_H
2 #define QEMU_ARCH_INIT_H
4 enum {
5 QEMU_ARCH_ALL = -1,
6 QEMU_ARCH_ALPHA = 1,
7 QEMU_ARCH_ARM = 2,
8 QEMU_ARCH_CRIS = 4,
9 QEMU_ARCH_I386 = 8,
10 QEMU_ARCH_M68K = 16,
11 QEMU_ARCH_LM32 = 32,
12 QEMU_ARCH_MICROBLAZE = 64,
13 QEMU_ARCH_MIPS = 128,
14 QEMU_ARCH_PPC = 256,
15 QEMU_ARCH_S390X = 512,
16 QEMU_ARCH_SH4 = 1024,
17 QEMU_ARCH_SPARC = 2048,
18 QEMU_ARCH_XTENSA = 4096,
21 extern const uint32_t arch_type;
23 void select_soundhw(const char *optarg);
24 void do_acpitable_option(const char *optarg);
25 void do_smbios_option(const char *optarg);
26 void cpudef_init(void);
27 int audio_available(void);
28 void audio_init(ISABus *isa_bus, PCIBus *pci_bus);
29 int tcg_available(void);
30 int kvm_available(void);
31 int xen_available(void);
33 #endif