From 8c7e3ccd911c7e90cb577ce9d98226bfe2be7d7f Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 15 Nov 2025 14:22:52 -0500 Subject: kern/amd64: io: Add serial UART driver Signed-off-by: Ian Moffett --- sys/arch/amd64/cpu/boot.S | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sys/arch/amd64/cpu/boot.S') 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 : +*/ -- cgit v1.2.3