%ss is now cleared at boot so that returning from an interrupt doesn't break
1 files changed, 2 insertions(+), 0 deletions(-)

M kernel/src/boot.S
M kernel/src/boot.S +2 -0
@@ 90,6 90,8 @@ efi_start:
 	jmp kmain_efi
 
 lowmem_start:
+	xorq %rax, %rax
+	movw %ax, %ss
 	leaq runtime_stack_bottom(%rip), %rsp
 	jmp kmain_lowmem