aboutsummaryrefslogtreecommitdiff
path: root/src/sys/kernel.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/kernel.S')
-rw-r--r--src/sys/kernel.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sys/kernel.S b/src/sys/kernel.S
index a691ebf..e0333ca 100644
--- a/src/sys/kernel.S
+++ b/src/sys/kernel.S
@@ -2,12 +2,10 @@
.globl kernel_main
kernel_main:
- push {lr}
bl sysinit
kernel_main.loop:
wfe
b kernel_main.loop
- pop {lr}
.section ".data"
.globl cntfrq
@@ -19,3 +17,7 @@ cmdidx:
.globl cmd
cmd:
.space 2049
+
+.section ".bss.heap"
+mheap:
+ .space 0x100000