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

.globl kernel_main
kernel_main:
	push {lr}
	bl sysinit
	bl enable_irq
	bl enable_fiq
	bl chk_irq_stat
	bl postinit
kernel_main.loop:
	bl io_halt
	b kernel_main.loop
	pop {lr}

.section ".data"
.globl cntfrq
cntfrq:
	.word 0,0,0,0