diff options
author | red031000 <rubenru09@aol.com> | 2020-05-01 18:31:26 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-05-01 18:31:26 +0100 |
commit | fa332326543d03fe6afdc0dcd04f0a666450955b (patch) | |
tree | 85e8314866f65fb95e62a66b029ab5eeca55e994 /arm9/lib/src/OS_protectionRegion.c | |
parent | cfbc21f1c80061a2d211dc5da2e0d0eb0d532c5c (diff) |
ARM_FUNC
Diffstat (limited to 'arm9/lib/src/OS_protectionRegion.c')
-rw-r--r-- | arm9/lib/src/OS_protectionRegion.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arm9/lib/src/OS_protectionRegion.c b/arm9/lib/src/OS_protectionRegion.c index 230f8403..4d6cf974 100644 --- a/arm9/lib/src/OS_protectionRegion.c +++ b/arm9/lib/src/OS_protectionRegion.c @@ -2,9 +2,10 @@ // Created by red031000 on 2020-04-24. // +#include "function_target.h" #include "OS_protectionRegion.h" -asm void OS_SetDPermissionsForProtectionRegion(register u32 setMask, register u32 flags) +ARM_FUNC asm void OS_SetDPermissionsForProtectionRegion(register u32 setMask, register u32 flags) { mrc p15, 0x0, r2, c5, c0, 0x2 bic r2, r2, r0 @@ -13,13 +14,13 @@ asm void OS_SetDPermissionsForProtectionRegion(register u32 setMask, register u3 bx lr } -asm void OS_SetProtectionRegion1(u32 param) +ARM_FUNC asm void OS_SetProtectionRegion1(u32 param) { mcr p15, 0x0, r0, c6, c1, 0x0 bx lr } -asm void OS_SetProtectionRegion2(u32 param) +ARM_FUNC asm void OS_SetProtectionRegion2(u32 param) { mcr p15, 0x0, r0, c6, c2, 0x0 bx lr |