mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 06:47:49 +00:00
Add a new blog_os::init function instead of calling init_idt directly
This commit is contained in:
@@ -11,7 +11,7 @@ use core::panic::PanicInfo;
|
||||
pub extern "C" fn _start() -> ! {
|
||||
println!("Hello World{}", "!");
|
||||
|
||||
blog_os::interrupts::init_idt();
|
||||
blog_os::init();
|
||||
|
||||
// invoke a breakpoint exception
|
||||
x86_64::instructions::interrupts::int3();
|
||||
|
||||
Reference in New Issue
Block a user