mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 13:25:45 +00:00
core: arm: Implement InvalidateCacheRange for CPU cache invalidation.
This commit is contained in:
parent
5114c6f3ac
commit
a5b73195c9
12 changed files with 56 additions and 16 deletions
|
@ -527,9 +527,6 @@ public:
|
|||
header.segment_headers[RO_INDEX].memory_size,
|
||||
header.segment_headers[DATA_INDEX].memory_size, nro_address});
|
||||
|
||||
// Invalidate JIT caches for the newly mapped process code
|
||||
system.InvalidateCpuInstructionCaches();
|
||||
|
||||
IPC::ResponseBuilder rb{ctx, 4};
|
||||
rb.Push(RESULT_SUCCESS);
|
||||
rb.Push(*map_result);
|
||||
|
@ -590,8 +587,6 @@ public:
|
|||
|
||||
const auto result{UnmapNro(iter->second)};
|
||||
|
||||
system.InvalidateCpuInstructionCaches();
|
||||
|
||||
nro.erase(iter);
|
||||
|
||||
IPC::ResponseBuilder rb{ctx, 2};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue