aboutsummaryrefslogtreecommitdiff
path: root/src/sys/kernel.S
blob: e0333ca3e5b70052ad5aeef1e0e89d6b66557f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.section ".text.kernel"

.globl kernel_main
kernel_main:
	bl sysinit
kernel_main.loop:
	wfe
	b kernel_main.loop

.section ".data"
.globl cntfrq
cntfrq:
	.word 0,0,0,0
.globl cmdidx
cmdidx:
	.word 0
.globl cmd
cmd:
	.space 2049

.section ".bss.heap"
mheap:
	.space 0x100000