mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-18 00:54:23 -04:00
exo2: implement SmcSetKernelCarveoutRegion
This commit is contained in:
parent
bf546d5fb3
commit
b6b114ec40
5 changed files with 31 additions and 4 deletions
|
@ -1194,4 +1194,13 @@ namespace ams::secmon {
|
|||
hw::InstructionSynchronizationBarrier();
|
||||
}
|
||||
|
||||
void SetKernelCarveoutRegion(int index, uintptr_t address, size_t size) {
|
||||
/* Configure the carveout. */
|
||||
auto &carveout = g_kernel_carveouts[index];
|
||||
carveout.address = address;
|
||||
carveout.size = size;
|
||||
|
||||
SetupKernelCarveouts();
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue