380 |
static int parallel_irq[MAX_PARALLEL_PORTS] = { 7, 7, 7 }; |
static int parallel_irq[MAX_PARALLEL_PORTS] = { 7, 7, 7 }; |
381 |
|
|
382 |
/* PC hardware initialisation */ |
/* PC hardware initialisation */ |
383 |
void pc_init(int ram_size, int vga_ram_size, int boot_device, |
static void pc_init1(int ram_size, int vga_ram_size, int boot_device, |
384 |
DisplayState *ds, const char **fd_filename, int snapshot, |
DisplayState *ds, const char **fd_filename, int snapshot, |
385 |
const char *kernel_filename, const char *kernel_cmdline, |
const char *kernel_filename, const char *kernel_cmdline, |
386 |
const char *initrd_filename) |
const char *initrd_filename) |
387 |
{ |
{ |
388 |
char buf[1024]; |
char buf[1024]; |
389 |
int ret, linux_boot, initrd_size, i, nb_nics1; |
int ret, linux_boot, initrd_size, i, nb_nics1; |
595 |
pci_bios_init(); |
pci_bios_init(); |
596 |
} |
} |
597 |
} |
} |
598 |
|
|
599 |
|
QEMUMachine pc_machine = { |
600 |
|
"pc", |
601 |
|
"Standard PC", |
602 |
|
pc_init1, |
603 |
|
}; |