diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-11-14 02:12:58 +0100 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-03-08 07:56:14 -0800 |
| commit | e7d269adb260417149e4bb85cc1882fbb11074fd (patch) | |
| tree | 334bbca845bdecc75d2ece5b2d844f578b40eac7 /include/exec/cputlb.h | |
| parent | 5469933810b00589d5db36408dd4e0236eec95ac (diff) | |
| download | focaccia-qemu-e7d269adb260417149e4bb85cc1882fbb11074fd.tar.gz focaccia-qemu-e7d269adb260417149e4bb85cc1882fbb11074fd.zip | |
exec: Declare tlb_reset_dirty*() in 'exec/cputlb.h'
Move CPU TLB related methods to "exec/cputlb.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-ID: <20241114011310.3615-14-philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/cputlb.h')
| -rw-r--r-- | include/exec/cputlb.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/exec/cputlb.h b/include/exec/cputlb.h index ef18642a32..6cac7d530f 100644 --- a/include/exec/cputlb.h +++ b/include/exec/cputlb.h @@ -32,4 +32,11 @@ void tlb_unprotect_code(ram_addr_t ram_addr); #endif /* CONFIG_TCG */ +#ifndef CONFIG_USER_ONLY + +void tlb_reset_dirty(CPUState *cpu, ram_addr_t start1, ram_addr_t length); +void tlb_reset_dirty_range_all(ram_addr_t start, ram_addr_t length); + +#endif + #endif |