mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/isa/superio: Factor out the serial code from pc87312.c
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180308223946.26784-12-f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
4c3119a6e3
commit
cd9526ab7c
5 changed files with 56 additions and 36 deletions
|
@ -28,6 +28,7 @@ typedef struct ISASuperIODevice {
|
|||
/*< public >*/
|
||||
|
||||
ISADevice *parallel[MAX_PARALLEL_PORTS];
|
||||
ISADevice *serial[MAX_SERIAL_PORTS];
|
||||
} ISASuperIODevice;
|
||||
|
||||
typedef struct ISASuperIOFuncs {
|
||||
|
@ -45,6 +46,7 @@ typedef struct ISASuperIOClass {
|
|||
DeviceRealize parent_realize;
|
||||
|
||||
ISASuperIOFuncs parallel;
|
||||
ISASuperIOFuncs serial;
|
||||
} ISASuperIOClass;
|
||||
|
||||
#endif /* HW_ISA_SUPERIO_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue