diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2016-11-22 12:04:52 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-12-22 16:00:23 +0100 |
| commit | 1f4e496e1fc2eb6c8bf377a0f9695930c380bfd3 (patch) | |
| tree | 20ae0a2b754332418a682b5a9361e54708d3b19b /qemu-timer.c | |
| parent | 715c31ec8e12107f47ac74b464c97e813c76f898 (diff) | |
| download | focaccia-qemu-1f4e496e1fc2eb6c8bf377a0f9695930c380bfd3.tar.gz focaccia-qemu-1f4e496e1fc2eb6c8bf377a0f9695930c380bfd3.zip | |
exec: introduce MemoryRegionCache
Device models often have to perform multiple access to a single memory region that is known in advance, but would to use "DMA-style" functions instead of address_space_map/unmap. This can happen for example when the data has to undergo endianness conversion. Introduce a new data structure to cache the result of address_space_translate without forcing usage of a host address like address_space_map does. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-timer.c')
0 files changed, 0 insertions, 0 deletions