diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-15 14:22:52 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-15 14:27:15 -0500 |
| commit | 8c7e3ccd911c7e90cb577ce9d98226bfe2be7d7f (patch) | |
| tree | 6104af32e2e44ae5b500b0929e582d21d105b70c /sys/arch/amd64/cpu/boot.S | |
| parent | 7235966ea34c87724aee65792d2f183e653faabb (diff) | |
kern/amd64: io: Add serial UART driver
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/arch/amd64/cpu/boot.S')
| -rw-r--r-- | sys/arch/amd64/cpu/boot.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/arch/amd64/cpu/boot.S b/sys/arch/amd64/cpu/boot.S index 0d2e0d2..493a436 100644 --- a/sys/arch/amd64/cpu/boot.S +++ b/sys/arch/amd64/cpu/boot.S @@ -1,5 +1,15 @@ .globl _start + .extern uart_init _start: + cli + cld + + xor %rbp, %rbp + call uart_init + 1: cli hlt jmp 1b + +/* vim: ft=gas : +*/ |
