mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw/isa/pc87312: Inherit from the abstract TYPE_ISA_SUPERIO
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180308223946.26784-10-f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
1854eb287e
commit
63f01a74ae
2 changed files with 14 additions and 3 deletions
|
@ -25,14 +25,16 @@
|
|||
#ifndef QEMU_PC87312_H
|
||||
#define QEMU_PC87312_H
|
||||
|
||||
#include "hw/isa/isa.h"
|
||||
#include "hw/isa/superio.h"
|
||||
|
||||
|
||||
#define TYPE_PC87312_SUPERIO "pc87312"
|
||||
#define PC87312(obj) OBJECT_CHECK(PC87312State, (obj), TYPE_PC87312_SUPERIO)
|
||||
|
||||
typedef struct PC87312State {
|
||||
ISADevice dev;
|
||||
/*< private >*/
|
||||
ISASuperIODevice parent_dev;
|
||||
/*< public >*/
|
||||
|
||||
uint16_t iobase;
|
||||
uint8_t config; /* initial configuration */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue