summaryrefslogtreecommitdiffstats
path: root/hw/framebuffer.c
diff options
context:
space:
mode:
authorAvi Kivity2011-12-08 14:00:18 +0100
committerAvi Kivity2011-12-20 13:14:07 +0100
commite2177955a899483b19bd54e547db3b61db95eaf7 (patch)
treec4aa673b055838f97f722c37f9c7323a6955c88f /hw/framebuffer.c
parentmemory: add memory_region_is_logging() (diff)
downloadqemu-e2177955a899483b19bd54e547db3b61db95eaf7.tar.gz
qemu-e2177955a899483b19bd54e547db3b61db95eaf7.tar.xz
qemu-e2177955a899483b19bd54e547db3b61db95eaf7.zip
memory: introduce memory_region_find()
Given an address space (represented by the top-level memory region), returns the memory region that maps a given range. Useful for implementing DMA. The implementation is a simplistic binary search. Once we have a tree representation this can be optimized. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/framebuffer.c')
0 files changed, 0 insertions, 0 deletions