aboutsummaryrefslogtreecommitdiff
path: root/kernel/sys
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-24 19:10:02 -0700
committerChristian Cunningham <cc@localhost>2022-03-24 19:10:02 -0700
commit9303b866bf36cfab8bdf3e2558f84e92ed4deec0 (patch)
treec79cee644108ecb65952eff2104127a19e72d0c4 /kernel/sys
parent180dfed61505cfe944755f7078d7b29063ea7734 (diff)
Unused counter
Diffstat (limited to 'kernel/sys')
-rw-r--r--kernel/sys/kernel.S5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/sys/kernel.S b/kernel/sys/kernel.S
index df55cc1..71b22a1 100644
--- a/kernel/sys/kernel.S
+++ b/kernel/sys/kernel.S
@@ -19,11 +19,6 @@ kernel_main:
mov r0, #0x80000000
mcr p15, 0, r0, c9, c12, 1
- // Allow access to CNTKCTL from PL0
- mrc p15, 0, r0, c14, c1, 0
- orr r0, #1
- mcr p15, 0, r0, c14, c1, 0
-
// Intentional undefined instruction
// .word 0xf7f0a000
cpsie ai, #0x10