diff options
Diffstat (limited to 'include/nitro/os_protectionRegion.c')
-rw-r--r-- | include/nitro/os_protectionRegion.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/nitro/os_protectionRegion.c b/include/nitro/os_protectionRegion.c new file mode 100644 index 00000000..b70f9056 --- /dev/null +++ b/include/nitro/os_protectionRegion.c @@ -0,0 +1,17 @@ +// +// Created by red031000 on 2020-04-24. +// + +#include "os_protectionRegion.h" + +asm void OS_SetProtectionRegion1(u32 param) +{ + mcr p15, 0x0, r0, c6, c1, 0x0 + bx lr +} + +asm void OS_SetProtectionRegion2(u32 param) +{ + mcr p15, 0x0, r0, c6, c2, 0x0 + bx lr +}
\ No newline at end of file |