Enable hardware interrupts

This commit is contained in:
Philipp Oppermann
2019-01-25 14:05:20 +01:00
parent 6504bed810
commit 28a11e47bc

View File

@@ -15,6 +15,7 @@ pub extern "C" fn _start() -> ! {
blog_os::gdt::init();
blog_os::interrupts::init_idt();
unsafe { PICS.lock().initialize() };
x86_64::instructions::interrupts::enable();
println!("It did not crash!");
loop {}