Take InterruptStackFrame by value as required by x86_64 v0.14

This commit is contained in:
Philipp Oppermann
2021-05-17 11:43:22 +02:00
parent d3cb8115c5
commit 4804317b24

View File

@@ -14,7 +14,7 @@ pub fn init_idt() {
IDT.load();
}
extern "x86-interrupt" fn breakpoint_handler(stack_frame: &mut InterruptStackFrame) {
extern "x86-interrupt" fn breakpoint_handler(stack_frame: InterruptStackFrame) {
println!("EXCEPTION: BREAKPOINT\n{:#?}", stack_frame);
}