Remove bochs breakpoint in kernel

parent ec66bf2e
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment