]> git.proxmox.com Git - qemu.git/blame - hw/boards.h
user: Restore debug usage message for '-d ?' in user mode emulation
[qemu.git] / hw / boards.h
CommitLineData
87ecb68b
PB
1/* Declarations for use by board files for creating devices. */
2
3#ifndef HW_BOARDS_H
4#define HW_BOARDS_H
5
b6b61144
GH
6#include "qdev.h"
7
c227f099 8typedef void QEMUMachineInitFunc(ram_addr_t ram_size,
3023f332 9 const char *boot_device,
b881c2c6
BS
10 const char *kernel_filename,
11 const char *kernel_cmdline,
12 const char *initrd_filename,
13 const char *cpu_model);
87ecb68b
PB
14
15typedef struct QEMUMachine {
16 const char *name;
3f6599e6 17 const char *alias;
87ecb68b
PB
18 const char *desc;
19 QEMUMachineInitFunc *init;
c9b1ae2c 20 int use_scsi;
b2097003 21 int max_cpus;
2fe0ee97 22 unsigned int no_serial:1,
986c5f78
GH
23 no_parallel:1,
24 use_virtcon:1,
ac33f8fa
GH
25 no_vga:1,
26 no_floppy:1,
27 no_cdrom:1,
28 no_sdcard:1;
0c257437 29 int is_default;
67b724e6 30 const char *default_machine_opts;
458fb679 31 GlobalProperty *compat_props;
87ecb68b
PB
32 struct QEMUMachine *next;
33} QEMUMachine;
34
35int qemu_register_machine(QEMUMachine *m);
36
6f338c34
AL
37extern QEMUMachine *current_machine;
38
87ecb68b 39#endif