Flush memory lookup cache when mappings re-calculated - fixes soft reset on AMI 386 clone.

This commit is contained in:
TomW 2015-05-30 20:25:59 +01:00
commit cb2df9e3cf

View file

@ -1401,6 +1401,7 @@ static void mem_mapping_recalc(uint64_t base, uint64_t size)
}
mapping = mapping->next;
}
flushmmucache_cr3();
}
void mem_mapping_add(mem_mapping_t *mapping,