Restore page fault handler
This commit is contained in:
parent
dc87afd2ac
commit
3f9012b931
|
@ -126,16 +126,7 @@ macro_rules! interrupt_error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Push scratch registers
|
// Push scratch registers
|
||||||
asm!("xchg bx, bx
|
asm!("push rax
|
||||||
pop rax # Error
|
|
||||||
pop rbx # RIP
|
|
||||||
pop rcx # CS
|
|
||||||
pop rdx # RFLAGS
|
|
||||||
pop rsi # RSP
|
|
||||||
pop rdi # SS
|
|
||||||
cli
|
|
||||||
hlt
|
|
||||||
push rax
|
|
||||||
push rcx
|
push rcx
|
||||||
push rdx
|
push rdx
|
||||||
push rdi
|
push rdi
|
||||||
|
|
Loading…
Reference in a new issue