On 08/01/2011 03:19 AM, Richard Henderson wrote:
On 07/31/2011 10:57 AM, Avi Kivity wrote:
> +system_io = qemu_malloc(sizeof(*system_io));
> +memory_region_init(system_memory, "io", 65536);
> +set_system_io_map(system_io);
Cut-paste error on that second line.
Well spotted; the
On 07/31/2011 10:57 AM, Avi Kivity wrote:
> +system_io = qemu_malloc(sizeof(*system_io));
> +memory_region_init(system_memory, "io", 65536);
> +set_system_io_map(system_io);
Cut-paste error on that second line.
r~
get_system_io() returns the root I/O memory region.
Signed-off-by: Avi Kivity
---
exec-memory.h |2 ++
exec.c| 10 ++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/exec-memory.h b/exec-memory.h
index c439aba..999fd69 100644
--- a/exec-memory.h
+++ b/exec-m