mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/isa/superio: Factor out the parallel code from pc87312.c
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180308223946.26784-11-f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
63f01a74ae
commit
4c3119a6e3
5 changed files with 89 additions and 28 deletions
|
@ -23,7 +23,11 @@
|
|||
OBJECT_CLASS_CHECK(ISASuperIOClass, (klass), TYPE_ISA_SUPERIO)
|
||||
|
||||
typedef struct ISASuperIODevice {
|
||||
/*< private >*/
|
||||
ISADevice parent_obj;
|
||||
/*< public >*/
|
||||
|
||||
ISADevice *parallel[MAX_PARALLEL_PORTS];
|
||||
} ISASuperIODevice;
|
||||
|
||||
typedef struct ISASuperIOFuncs {
|
||||
|
@ -39,6 +43,8 @@ typedef struct ISASuperIOClass {
|
|||
ISADeviceClass parent_class;
|
||||
/*< public >*/
|
||||
DeviceRealize parent_realize;
|
||||
|
||||
ISASuperIOFuncs parallel;
|
||||
} ISASuperIOClass;
|
||||
|
||||
#endif /* HW_ISA_SUPERIO_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue