mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 02:37:58 +00:00
kernel: implement FlushProcessDataCache
This commit is contained in:
parent
10751ff536
commit
e313e4f1ae
4 changed files with 125 additions and 8 deletions
|
@ -722,4 +722,12 @@ void SvcWrap32(Core::System& system) {
|
|||
FuncReturn(system, retval);
|
||||
}
|
||||
|
||||
// Used by Invalidate/Store/FlushProcessDataCache32
|
||||
template <Result func(Core::System&, Handle, u64, u64)>
|
||||
void SvcWrap32(Core::System& system) {
|
||||
const u64 address = (Param(system, 3) << 32) | Param(system, 2);
|
||||
const u64 size = (Param(system, 4) << 32) | Param(system, 1);
|
||||
FuncReturn32(system, func(system, Param32(system, 0), address, size).raw);
|
||||
}
|
||||
|
||||
} // namespace Kernel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue