mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw/isa/superio: Factor out the IDE code from pc87312.c
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180308223946.26784-15-f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
72d3d8f052
commit
c16a4e1bc5
4 changed files with 45 additions and 17 deletions
|
@ -31,6 +31,7 @@ typedef struct ISASuperIODevice {
|
|||
ISADevice *serial[MAX_SERIAL_PORTS];
|
||||
ISADevice *floppy;
|
||||
ISADevice *kbc;
|
||||
ISADevice *ide;
|
||||
} ISASuperIODevice;
|
||||
|
||||
typedef struct ISASuperIOFuncs {
|
||||
|
@ -50,6 +51,7 @@ typedef struct ISASuperIOClass {
|
|||
ISASuperIOFuncs parallel;
|
||||
ISASuperIOFuncs serial;
|
||||
ISASuperIOFuncs floppy;
|
||||
ISASuperIOFuncs ide;
|
||||
} ISASuperIOClass;
|
||||
|
||||
#endif /* HW_ISA_SUPERIO_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue