mirror of https://github.com/xemu-project/xemu.git
physmem: Expose tlb_reset_dirty_range_all()
In order to call tlb_reset_dirty_range_all() outside of system/physmem.c, expose its prototype. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Link: https://lore.kernel.org/r/20240312201458.79532-2-philmd@linaro.org Signed-off-by: Peter Xu <peterx@redhat.com>
This commit is contained in:
parent
c827fafcaa
commit
7e8ccf99ed
|
@ -655,6 +655,7 @@ static inline void mmap_unlock(void) {}
|
|||
|
||||
void tlb_reset_dirty(CPUState *cpu, ram_addr_t start1, ram_addr_t length);
|
||||
void tlb_set_dirty(CPUState *cpu, vaddr addr);
|
||||
void tlb_reset_dirty_range_all(ram_addr_t start, ram_addr_t length);
|
||||
|
||||
MemoryRegionSection *
|
||||
address_space_translate_for_iotlb(CPUState *cpu, int asidx, hwaddr addr,
|
||||
|
|
|
@ -819,7 +819,7 @@ found:
|
|||
return block;
|
||||
}
|
||||
|
||||
static void tlb_reset_dirty_range_all(ram_addr_t start, ram_addr_t length)
|
||||
void tlb_reset_dirty_range_all(ram_addr_t start, ram_addr_t length)
|
||||
{
|
||||
CPUState *cpu;
|
||||
ram_addr_t start1;
|
||||
|
|
Loading…
Reference in New Issue