mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
isa: implement isa_is_ioport_assigned via memory_region_find
Open-code isa_is_ioport_assigned via a memory region lookup. As all IO ports are now directly or indirectly registered via the memory API, this becomes possible and will finally allow us to drop the ioport tables. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
8ab9b41876
commit
b6f3296292
4 changed files with 10 additions and 16 deletions
|
@ -40,7 +40,6 @@ typedef void (IOPortDestructor)(void *opaque);
|
|||
|
||||
void ioport_register(IORange *iorange);
|
||||
void isa_unassign_ioport(pio_addr_t start, int length);
|
||||
bool isa_is_ioport_assigned(pio_addr_t start);
|
||||
|
||||
void cpu_outb(pio_addr_t addr, uint8_t val);
|
||||
void cpu_outw(pio_addr_t addr, uint16_t val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue