mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
memory: I/O address space support
Allow registering I/O ports via the same mechanism as mmio ranges. Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
16ef61c9e5
commit
658b222401
3 changed files with 64 additions and 1 deletions
2
memory.h
2
memory.h
|
@ -22,6 +22,7 @@
|
|||
#include "cpu-common.h"
|
||||
#include "targphys.h"
|
||||
#include "qemu-queue.h"
|
||||
#include "iorange.h"
|
||||
|
||||
typedef struct MemoryRegionOps MemoryRegionOps;
|
||||
typedef struct MemoryRegion MemoryRegion;
|
||||
|
@ -91,6 +92,7 @@ struct MemoryRegion {
|
|||
target_phys_addr_t offset;
|
||||
bool backend_registered;
|
||||
ram_addr_t ram_addr;
|
||||
IORange iorange;
|
||||
bool terminates;
|
||||
MemoryRegion *alias;
|
||||
target_phys_addr_t alias_offset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue