Merge pull request #1826 from PhilippTakacs/int128
use int128_get64 in memory_unmap
This commit is contained in:
commit
98b9373937
@ -155,7 +155,7 @@ void memory_unmap(struct uc_struct *uc, MemoryRegion *mr)
|
||||
|
||||
if (uc->cpu) {
|
||||
// We also need to remove all tb cache
|
||||
uc->uc_invalidate_tb(uc, mr->addr, mr->size);
|
||||
uc->uc_invalidate_tb(uc, mr->addr, int128_get64(mr->size));
|
||||
|
||||
// Make sure all pages associated with the MemoryRegion are flushed
|
||||
// Only need to do this if we are in a running state
|
||||
|
Loading…
Reference in New Issue
Block a user