And put back interrupt/panic

This commit is contained in:
greg 2019-07-11 02:39:31 -07:00
parent 380b7adfbb
commit 41dfe6215d

View File

@ -22,11 +22,11 @@ pub fn init() {
pub extern "C" fn _start() -> ! { pub extern "C" fn _start() -> ! {
init(); init();
//x86_64::instructions::interrupts::int3(); x86_64::instructions::interrupts::int3();
println!("Gamarjoba, munde: {}", 1); println!("Gamarjoba, munde: {}", 1);
println!("Gamarjoba, munde: {}", 2); println!("Gamarjoba, munde: {}", 2);
//panic!("A bad thing happened"); panic!("A bad thing happened");
loop {} loop {}
} }