mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Let executor enable interrupts
This commit is contained in:
@@ -27,7 +27,6 @@ fn kernel_main(boot_info: &'static BootInfo) -> ! {
|
|||||||
|
|
||||||
allocator::init_heap(&mut mapper, &mut frame_allocator).expect("heap initialization failed");
|
allocator::init_heap(&mut mapper, &mut frame_allocator).expect("heap initialization failed");
|
||||||
blog_os::interrupts::init_queues();
|
blog_os::interrupts::init_queues();
|
||||||
x86_64::instructions::interrupts::enable();
|
|
||||||
|
|
||||||
// allocate a number on the heap
|
// allocate a number on the heap
|
||||||
let heap_value = Box::new(41);
|
let heap_value = Box::new(41);
|
||||||
|
|||||||
Reference in New Issue
Block a user