omos-tcnj2024/boot/boot.s

18 lines
174 B
ArmAsm
Raw Permalink Normal View History

2024-02-17 20:10:42 +01:00
; only support mb1
2024-02-18 01:16:13 +01:00
bits 32
2024-02-17 18:56:38 +01:00
2024-02-17 20:10:42 +01:00
section .multiboot
align 4
2024-02-18 01:16:13 +01:00
dd 0x1badb002
dd 0x00
dd - (0x1badb002 + 0x00)
2024-02-17 18:56:38 +01:00
2024-02-17 20:10:42 +01:00
global _start
extern sysinit
2024-02-17 18:56:38 +01:00
2024-02-17 20:10:42 +01:00
_start:
cli
call sysinit
hlt