aboutsummaryrefslogtreecommitdiff
path: root/targphys.h
diff options
context:
space:
mode:
authorFrediano Ziglio <frediano.ziglio@citrix.com>2012-08-22 10:17:04 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-08-22 10:17:04 +0000
commit27b7652ef515bb4c694f79d657d2052c72b19536 (patch)
treea0b1a8bfd2289e61c6c94fe0b86b519ba50769d2 /targphys.h
parent682527c00409d676c0d3b9fac99ca3b2fdfd6d2c (diff)
Fix invalidate if memory requested was not bucket aligned
When memory is mapped in qemu_map_cache with lock != 0 a reverse mapping is created pointing to the virtual address of location requested. The cached mapped entry is saved in last_address_vaddr with the memory location of the base virtual address (without bucket offset). However when this entry is invalidated the virtual address saved in the reverse mapping is used. This cause that the mapping is freed but the last_address_vaddr is not reset. Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'targphys.h')
0 files changed, 0 insertions, 0 deletions