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:
Andreas Färber 2013-01-11 21:11:20 +01:00
parent cf7c3f0cb5
commit 328c24a97b
2 changed files with 24 additions and 4 deletions

View file

@ -56,6 +56,8 @@ typedef struct PC87312State {
uint32_t base;
} ide;
MemoryRegion io;
uint8_t read_id_step;
uint8_t selected_index;