|
|
1.1 root 1: /* Declarations for use by board files for creating devices. */
2:
3: #ifndef HW_BOARDS_H
4: #define HW_BOARDS_H
5:
1.1.1.3 ! root 6: #include "qdev.h"
! 7:
! 8: typedef void QEMUMachineInitFunc(ram_addr_t ram_size,
1.1.1.2 root 9: const char *boot_device,
1.1 root 10: const char *kernel_filename,
11: const char *kernel_cmdline,
12: const char *initrd_filename,
13: const char *cpu_model);
14:
15: typedef struct QEMUMachine {
16: const char *name;
1.1.1.3 ! root 17: const char *alias;
1.1 root 18: const char *desc;
19: QEMUMachineInitFunc *init;
1.1.1.2 root 20: int use_scsi;
21: int max_cpus;
1.1.1.3 ! root 22: int is_default;
! 23: CompatProperty *compat_props;
1.1 root 24: struct QEMUMachine *next;
25: } QEMUMachine;
26:
27: int qemu_register_machine(QEMUMachine *m);
1.1.1.2 root 28:
29: extern QEMUMachine *current_machine;
1.1 root 30:
31: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.