Blue Swirl | ad96090 | 2010-03-29 19:23:52 +0000 | [diff] [blame] | 1 | #ifndef QEMU_ARCH_INIT_H |
| 2 | #define QEMU_ARCH_INIT_H |
| 3 | |
| 4 | extern const char arch_config_name[]; |
| 5 | |
| 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, |
Michael Walle | 81ea0e1 | 2011-02-17 23:45:02 +0100 | [diff] [blame] | 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, |
Blue Swirl | ad96090 | 2010-03-29 19:23:52 +0000 | [diff] [blame] | 20 | }; |
| 21 | |
| 22 | extern const uint32_t arch_type; |
| 23 | |
| 24 | void select_soundhw(const char *optarg); |
Blue Swirl | ad96090 | 2010-03-29 19:23:52 +0000 | [diff] [blame] | 25 | void do_acpitable_option(const char *optarg); |
| 26 | void do_smbios_option(const char *optarg); |
| 27 | void cpudef_init(void); |
| 28 | int audio_available(void); |
Isaku Yamahata | 0dfa5ef | 2011-01-21 19:53:45 +0900 | [diff] [blame] | 29 | void audio_init(qemu_irq *isa_pic, PCIBus *pci_bus); |
Anthony PERARD | 303d4e8 | 2010-09-21 20:05:31 +0100 | [diff] [blame] | 30 | int tcg_available(void); |
Blue Swirl | ad96090 | 2010-03-29 19:23:52 +0000 | [diff] [blame] | 31 | int kvm_available(void); |
| 32 | int xen_available(void); |
| 33 | |
| 34 | #endif |