« Previous | Next » 

Revision e2177955

IDe2177955a899483b19bd54e547db3b61db95eaf7

Added by Avi Kivity over 12 years ago

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences