Verified Commit 9ccaed71 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

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
swapgs // Set gs segment to TSS
mov gs:[28], rsp // Save userspace rsp
mov rsp, gs:[4] // Load kernel rsp
Supports Markdown
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