diff options
author | bellard <bellard> | 2005-06-05 14:51:11 +0000 |
---|---|---|
committer | bellard <bellard> | 2005-06-05 14:51:11 +0000 |
commit | bad2b1aa407c6f1a2273d99d55988deb7e2608f3 (patch) | |
tree | dbc528e14e36628e96930dff82d83997a8dd035f /qemu/hw/pc.c | |
parent | 54f516e6196c0b708b811a395a03855073b3cd04 (diff) |
PC machine support
Diffstat (limited to 'qemu/hw/pc.c')
-rw-r--r-- | qemu/hw/pc.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/qemu/hw/pc.c b/qemu/hw/pc.c index 5deb445a..dac125c0 100644 --- a/qemu/hw/pc.c +++ b/qemu/hw/pc.c @@ -380,10 +380,10 @@ static int parallel_io[MAX_PARALLEL_PORTS] = { 0x378, 0x278, 0x3bc }; static int parallel_irq[MAX_PARALLEL_PORTS] = { 7, 7, 7 }; /* PC hardware initialisation */ -void pc_init(int ram_size, int vga_ram_size, int boot_device, - DisplayState *ds, const char **fd_filename, int snapshot, - const char *kernel_filename, const char *kernel_cmdline, - const char *initrd_filename) +static void pc_init1(int ram_size, int vga_ram_size, int boot_device, + DisplayState *ds, const char **fd_filename, int snapshot, + const char *kernel_filename, const char *kernel_cmdline, + const char *initrd_filename) { char buf[1024]; int ret, linux_boot, initrd_size, i, nb_nics1; @@ -595,3 +595,9 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device, pci_bios_init(); } } + +QEMUMachine pc_machine = { + "pc", + "Standard PC", + pc_init1, +}; |