And put back interrupt/panic
This commit is contained in:
parent
380b7adfbb
commit
41dfe6215d
@ -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 {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user