mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 06:17:49 +00:00
Call gdt::init from blog_os::init
This commit is contained in:
@@ -13,6 +13,7 @@ pub mod serial;
|
||||
pub mod vga_buffer;
|
||||
|
||||
pub fn init() {
|
||||
gdt::init();
|
||||
interrupts::init_idt();
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ use core::panic::PanicInfo;
|
||||
pub extern "C" fn _start() -> ! {
|
||||
println!("Hello World{}", "!");
|
||||
|
||||
blog_os::gdt::init();
|
||||
blog_os::init();
|
||||
|
||||
fn stack_overflow() {
|
||||
|
||||
Reference in New Issue
Block a user