diff options
author | Jun Nakajima <jnakajim@gmail.com> | 2011-01-29 14:24:24 -0800 |
---|---|---|
committer | Jun Nakajima <jnakajim@gmail.com> | 2011-01-29 14:24:24 -0800 |
commit | 86797937017f52bff088d02edf64fb931177a7ea (patch) | |
tree | ba2447b411b62754ae3c6e6fecf5c94e936a1ccb /hw/fdc.h | |
parent | 00a9f5942a755f00f57d5ad9ef463c4c773222bb (diff) | |
download | external_qemu-86797937017f52bff088d02edf64fb931177a7ea.zip external_qemu-86797937017f52bff088d02edf64fb931177a7ea.tar.gz external_qemu-86797937017f52bff088d02edf64fb931177a7ea.tar.bz2 |
New files are from the upstream QEMU (0.10.5), and the code is based on
the following commit (dated 2009-06-19, see CHANGES.TXT):
d2e9fd8f703203c2eeeed120b1ef6c3a6574e0ab
new file: hw/apic.c
new file: hw/fdc.h
new file: hw/fw_cfg.c
new file: hw/fw_cfg.h
new file: hw/i8254.c
new file: hw/i8259.c
new file: hw/ioapic.c
new file: hw/mc146818rtc.c
new file: hw/ne2000.c
new file: hw/pc.c
new file: hw/pckbd.c
new file: hw/piix_pci.c
new file: hw/ps2.c
new file: hw/ps2.h
new file: hw/smbios.c
new file: target-i386/TODO
new file: target-i386/cpu.h
new file: target-i386/exec.h
new file: target-i386/helper.c
new file: target-i386/helper.h
new file: target-i386/helper_template.h
new file: target-i386/kvm.c
new file: target-i386/machine.c
new file: target-i386/op_helper.c
new file: target-i386/ops_sse.h
new file: target-i386/ops_sse_header.h
new file: target-i386/svm.h
new file: target-i386/translate.c
Change-Id: I55c62ed7516f002c882705545e7c21997ece9927
Diffstat (limited to 'hw/fdc.h')
-rw-r--r-- | hw/fdc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hw/fdc.h b/hw/fdc.h new file mode 100644 index 0000000..7b6a9de --- /dev/null +++ b/hw/fdc.h @@ -0,0 +1,11 @@ +/* fdc.c */ +#define MAX_FD 2 + +typedef struct fdctrl_t fdctrl_t; + +fdctrl_t *fdctrl_init (qemu_irq irq, int dma_chann, int mem_mapped, + target_phys_addr_t io_base, + BlockDriverState **fds); +fdctrl_t *sun4m_fdctrl_init (qemu_irq irq, target_phys_addr_t io_base, + BlockDriverState **fds, qemu_irq *fdc_tc); +int fdctrl_get_drive_type(fdctrl_t *fdctrl, int drive_num); |