qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/5] Remove cpu_register_io_memory


From: Avi Kivity
Subject: [Qemu-devel] [PATCH 0/5] Remove cpu_register_io_memory
Date: Thu, 8 Mar 2012 19:20:28 +0200

The current code allows us direct lookup from physical address (or TLB entry)
to a MemoryRegion, yet we still dispatch accesses via the ram_addr returned
by cpu_register_io_memory().  This is clumsy, so remove this extra indirection.

Avi Kivity (5):
  memory: make phys_page_find() return an unadjusted section
  memory: store section indices in iotlb instead of io indices
  exec: fix code tlb entry misused as iotlb in get_page_addr_code()
  memory: dispatch directly via MemoryRegion
  memory: get rid of cpu_register_io_memory()

 cpu-all.h          |    8 -
 exec-all.h         |    9 +-
 exec-obsolete.h    |    3 -
 exec.c             |  362 ++++++++++++++++++++--------------------------------
 memory.c           |   13 +-
 softmmu_template.h |   40 +++---
 6 files changed, 168 insertions(+), 267 deletions(-)

-- 
1.7.9




reply via email to

[Prev in Thread] Current Thread [Next in Thread]