memory: create function to set a single dirty bit
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Orit Wasserman <owasserm@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
1 parent
06567942e5
commit
a1390db4df
2 files changed
+7
-1
No files matched your search
@@ -122,7 +122,7 @@ void tlb_protect_code(ram_addr_t ram_addr)
|
||||
void tlb_unprotect_code_phys(CPUArchState *env, ram_addr_t ram_addr,
|
||||
target_ulong vaddr)
|
||||
{
|
||||
cpu_physical_memory_set_dirty_flags(ram_addr, CODE_DIRTY_FLAG);
|
||||
cpu_physical_memory_set_dirty_flag(ram_addr, CODE_DIRTY_FLAG);
|
||||
}
|
||||
|
||||
static bool tlb_is_dirty_ram(CPUTLBEntry *tlbe)
|
||||
|
||||
Reference in new issue
Block a user