blob: 0eb1389f6e022a96dc8d2b89908a9e5d827ca5f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
.section ".text.kernel"
.globl kernel_main
kernel_main:
push {lr}
bl uart_init
bl enable_irq
ldr r0, =os_info
bl uart_string
kernel_main.loop:
bl io_halt
b kernel_main.loop
pop {lr}
.section ".data"
os_info:
.asciz "Sergey Bilovytskyy's Real Time Operating System\n Version 0.0a\n Interrupt 01: uart rx interrupt\n Exit : Ctrl-A x\n Monitor : Ctrl-A c\n\n"
|