mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
serial: QOM'ify ISA serial
Introduce type constant and cast macro to obsolete DO_UPCAST(). Prepares for ISA realizefn. Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Andreas Färber <afaerber@suse.de> Message-id: 1367093935-29091-16-git-send-email-afaerber@suse.de Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
399f05a6e1
commit
eeceb0849d
2 changed files with 8 additions and 4 deletions
|
@ -96,6 +96,7 @@ SerialState *serial_mm_init(MemoryRegion *address_space,
|
|||
CharDriverState *chr, enum device_endian end);
|
||||
|
||||
/* serial-isa.c */
|
||||
#define TYPE_ISA_SERIAL "isa-serial"
|
||||
bool serial_isa_init(ISABus *bus, int index, CharDriverState *chr);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue