remove bochs breaks

This commit is contained in:
Jeremy Soller 2016-09-08 15:53:45 -06:00
parent a5d79d7957
commit fcec69efdc
3 changed files with 9 additions and 16 deletions

View file

@ -48,8 +48,7 @@ macro_rules! interrupt {
}
// Push scratch registers
asm!("xchg bx, bx
push rax
asm!("push rax
push rcx
push rdx
push rdi
@ -67,8 +66,7 @@ macro_rules! interrupt {
inner();
// Pop scratch registers and return
asm!("xchg bx, bx
pop fs
asm!("pop fs
pop r11
pop r10
pop r9
@ -95,8 +93,7 @@ macro_rules! interrupt_error {
}
// Push scratch registers
asm!("xchg bx, bx
push rax
asm!("push rax
push rcx
push rdx
push rdi
@ -114,8 +111,7 @@ macro_rules! interrupt_error {
inner();
// Pop scratch registers, error code, and return
asm!("xchg bx, bx
pop fs
asm!("pop fs
pop r11
pop r10
pop r9