Move interrupt mod

master
WangRunji 7 years ago
parent d330bd8224
commit 5b91db9d76

@ -4,5 +4,4 @@ pub mod apic;
pub mod mp;
pub mod serial;
pub mod pic;
pub mod console;
pub mod interrupt;
pub mod console;

@ -1,5 +1,6 @@
pub mod driver;
pub mod cpu;
pub mod interrupt;
pub fn init() {
cpu::enable_nxe_bit();

@ -86,7 +86,7 @@ pub extern "C" fn rust_main(multiboot_information_address: usize) {
} else {
arch::driver::pic::init();
}
arch::driver::interrupt::enable();
arch::interrupt::enable();
loop{}
test_end!();
}

Loading…
Cancel
Save