exo2: implement SmcSetKernelCarveoutRegion

This commit is contained in:
Michael Scire 2020-05-15 12:05:17 -07:00 committed by SciresM
parent bf546d5fb3
commit b6b114ec40
5 changed files with 31 additions and 4 deletions

View file

@ -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();
}
}