summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/cpu/boot.S
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/cpu/boot.S')
-rw-r--r--sys/arch/amd64/cpu/boot.S10
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 :
+*/