diff options
author | Christian Cunningham <cc@localhost> | 2022-03-24 09:38:08 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-24 09:38:08 -0700 |
commit | 93bf62580a68533dc8252b9a2a055c02f34ecb67 (patch) | |
tree | 1b1ca92ebbe107a998136a1442c0dba5be885e13 /src/sys/kernel.S | |
parent | 3e64dda5d5c350cc325650133f7e64967f1efe84 (diff) |
Modularized
Diffstat (limited to 'src/sys/kernel.S')
-rw-r--r-- | src/sys/kernel.S | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/sys/kernel.S b/src/sys/kernel.S deleted file mode 100644 index 71b22a1..0000000 --- a/src/sys/kernel.S +++ /dev/null @@ -1,32 +0,0 @@ -.section ".text.kernel" - -.include "macros.inc" - -.globl kernel_main -kernel_main: - bl sysinit - bl status - ldr r2, =ttbr_msg - mov r0, #23 - mov r1, #0 - mov r3, #0xFF00 - bl draw_cstring - // Initialize System Cycle Counter - mov r0, #1 - mcr p15, 0, r0, c9, c14, 0 - mov r0, #1 - mcr p15, 0, r0, c9, c12, 0 - mov r0, #0x80000000 - mcr p15, 0, r0, c9, c12, 1 - - // Intentional undefined instruction - // .word 0xf7f0a000 - cpsie ai, #0x10 - svc #2 // Start scheduling! -2: - wfe - b 2b - -.section .data -ttbr_msg: - .asciz "MMU Initialized!" |