summaryrefslogtreecommitdiff
path: root/arm9/lib/src/OS_protectionUnit.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-07-25 13:23:02 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-07-25 13:23:02 -0400
commit5e0e326b75402a36c4d31502b8b5a05b862ac23c (patch)
tree1b5807c1efb72dbdd9d01f329cefb41171913a64 /arm9/lib/src/OS_protectionUnit.c
parent1f9d4503c898f9138422215132b53224571a281a (diff)
parent68d7aa47cc52ef822220e0e35890863d7cad479f (diff)
Merge remote-tracking branch 'origin/master' into pikalax_work
Diffstat (limited to 'arm9/lib/src/OS_protectionUnit.c')
-rw-r--r--arm9/lib/src/OS_protectionUnit.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/arm9/lib/src/OS_protectionUnit.c b/arm9/lib/src/OS_protectionUnit.c
deleted file mode 100644
index 66811a1e..00000000
--- a/arm9/lib/src/OS_protectionUnit.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include "function_target.h"
-#include "OS_protectionUnit.h"
-
-ARM_FUNC asm void OS_EnableProtectionUnit(void)
-{
- mrc p15, 0x0, r0, c1, c0, 0x0 //Control Register
- orr r0, r0, #0x1
- mcr p15, 0x0, r0, c1, c0, 0x0 //Control Register
- bx lr
-}
-
-ARM_FUNC asm void OS_DisableProtectionUnit(void)
-{
- mrc p15, 0x0, r0, c1, c0, 0x0 //Control Register
- bic r0, r0, #0x1
- mcr p15, 0x0, r0, c1, c0, 0x0 //Control Register
- bx lr
-}