Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
kernel
Commits
9ccaed71
Verified
Commit
9ccaed71
authored
Mar 31, 2019
by
Jeremy Soller
Browse files
Remove bochs breakpoint in kernel
parent
ec66bf2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/arch/x86_64/interrupt/syscall.rs
View file @
9ccaed71
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment