blob: 2de9f0852d96aad8cfcc045503020c8c487f4642 [file] [log] [blame]
Blue Swirlad960902010-03-29 19:23:52 +00001#ifndef QEMU_ARCH_INIT_H
2#define QEMU_ARCH_INIT_H
3
4extern const char arch_config_name[];
5
6enum {
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,
Michael Walle81ea0e12011-02-17 23:45:02 +010013 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,
Blue Swirlad960902010-03-29 19:23:52 +000020};
21
22extern const uint32_t arch_type;
23
24void select_soundhw(const char *optarg);
Blue Swirlad960902010-03-29 19:23:52 +000025void do_acpitable_option(const char *optarg);
26void do_smbios_option(const char *optarg);
27void cpudef_init(void);
28int audio_available(void);
Isaku Yamahata0dfa5ef2011-01-21 19:53:45 +090029void audio_init(qemu_irq *isa_pic, PCIBus *pci_bus);
Anthony PERARD303d4e82010-09-21 20:05:31 +010030int tcg_available(void);
Blue Swirlad960902010-03-29 19:23:52 +000031int kvm_available(void);
32int xen_available(void);
33
34#endif