mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
pc87312: Replace register_ioport_*() with MemoryRegion
Prepare an instance_init function for the MemoryRegion init. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Tested-by: Hervé Poussineau <hpoussin@reactos.org>
This commit is contained in:
parent
cf7c3f0cb5
commit
328c24a97b
2 changed files with 24 additions and 4 deletions
|
@ -56,6 +56,8 @@ typedef struct PC87312State {
|
|||
uint32_t base;
|
||||
} ide;
|
||||
|
||||
MemoryRegion io;
|
||||
|
||||
uint8_t read_id_step;
|
||||
uint8_t selected_index;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue