Merge branch 'post-05' into post-06

This commit is contained in:
Philipp Oppermann
2020-06-08 11:57:12 +02:00
6 changed files with 23 additions and 22 deletions

View File

@@ -30,13 +30,8 @@ extern "x86-interrupt" fn double_fault_handler(
panic!("EXCEPTION: DOUBLE FAULT\n{:#?}", stack_frame);
}
#[cfg(test)]
use crate::{serial_print, serial_println};
#[test_case]
fn test_breakpoint_exception() {
serial_print!("test_breakpoint_exception...");
// invoke a breakpoint exception
x86_64::instructions::interrupts::int3();
serial_println!("[ok]");
}