summary refs log tree commit diff stats
path: root/system/physmem.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-04-23 13:06:12 -0700
committerRichard Henderson <richard.henderson@linaro.org>2025-04-30 12:45:05 -0700
commit072e057ed90d6bbc4f01ac04e627e63f275f57f0 (patch)
tree8bbcfca5c0bfb6d3562b888a72a7b5d2aba529e9 /system/physmem.c
parent4af02681ff77bf105b11ee1a5ca289ca29b64a54 (diff)
downloadfocaccia-qemu-072e057ed90d6bbc4f01ac04e627e63f275f57f0.tar.gz
focaccia-qemu-072e057ed90d6bbc4f01ac04e627e63f275f57f0.zip
accel/tcg: Add CPUState arg to tb_invalidate_phys_range
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'system/physmem.c')
-rw-r--r--system/physmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/physmem.c b/system/physmem.c
index 16cf557d1a..637f2d8532 100644
--- a/system/physmem.c
+++ b/system/physmem.c
@@ -2830,7 +2830,7 @@ static void invalidate_and_set_dirty(MemoryRegion *mr, hwaddr addr,
     }
     if (dirty_log_mask & (1 << DIRTY_MEMORY_CODE)) {
         assert(tcg_enabled());
-        tb_invalidate_phys_range(addr, addr + length - 1);
+        tb_invalidate_phys_range(NULL, addr, addr + length - 1);
         dirty_log_mask &= ~(1 << DIRTY_MEMORY_CODE);
     }
     cpu_physical_memory_set_dirty_range(addr, length, dirty_log_mask);