From 9ccaed71031a1345ed8e565c19f03bb3b99da43f Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Sun, 31 Mar 2019 08:36:55 -0600
Subject: [PATCH] Remove bochs breakpoint in kernel

---
 src/arch/x86_64/interrupt/syscall.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/arch/x86_64/interrupt/syscall.rs b/src/arch/x86_64/interrupt/syscall.rs
index 2f1247e5..a18abddf 100644
--- a/src/arch/x86_64/interrupt/syscall.rs
+++ b/src/arch/x86_64/interrupt/syscall.rs
@@ -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
-- 
GitLab