diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-02-05 16:32:23 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-02-20 09:33:46 +0000 |
commit | 63ffb564dca94f8bda01ed6d209784104630a4d2 (patch) | |
tree | 4804b4a3feea7e6854e9fe869901f4a964391e06 /hw/pc.h | |
parent | d288c7ba7beb7975fe4bc15b0b14b9fd14da0a03 (diff) |
fdc: refactor device creation
Turn fdc_init_isa into an inline function.
Get floppy geometry directly from the drives.
Don't expose FDCtrl.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pc.h')
-rw-r--r-- | hw/pc.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -129,13 +129,12 @@ void pc_memory_init(ram_addr_t ram_size, qemu_irq *pc_allocate_cpu_irq(void); void pc_vga_init(PCIBus *pci_bus); void pc_basic_device_init(qemu_irq *isa_irq, - FDCtrl **floppy_controller, ISADevice **rtc_state); void pc_init_ne2k_isa(NICInfo *nd); void pc_cmos_init(ram_addr_t ram_size, ram_addr_t above_4g_mem_size, const char *boot_device, BusState *ide0, BusState *ide1, - FDCtrl *floppy_controller, ISADevice *s); + ISADevice *s); void pc_pci_device_init(PCIBus *pci_bus); typedef void (*cpu_set_smm_t)(int smm, void *arg); |