Flush memory lookup cache when mappings re-calculated - fixes soft reset on AMI 386 clone.
This commit is contained in:
parent
880bec1ea0
commit
cb2df9e3cf
1 changed files with 1 additions and 0 deletions
|
|
@ -1401,6 +1401,7 @@ static void mem_mapping_recalc(uint64_t base, uint64_t size)
|
||||||
}
|
}
|
||||||
mapping = mapping->next;
|
mapping = mapping->next;
|
||||||
}
|
}
|
||||||
|
flushmmucache_cr3();
|
||||||
}
|
}
|
||||||
|
|
||||||
void mem_mapping_add(mem_mapping_t *mapping,
|
void mem_mapping_add(mem_mapping_t *mapping,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue