Remove bochs breakpoint in kernel

This commit is contained in:
Jeremy Soller
2019-03-31 08:36:55 -06:00
parent ec66bf2ed1
commit 9ccaed7103

View File

@@ -23,7 +23,7 @@ pub unsafe extern fn syscall_instruction() {
}
// Yes, this is magic. No, you don't need to understand
asm!("xchg bx, bx
asm!("
swapgs // Set gs segment to TSS
mov gs:[28], rsp // Save userspace rsp
mov rsp, gs:[4] // Load kernel rsp