Call gdt::init from blog_os::init

This commit is contained in:
Philipp Oppermann
2019-04-25 18:28:50 +02:00
parent 3c59321b54
commit 4774893a93
2 changed files with 1 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ pub mod serial;
pub mod vga_buffer; pub mod vga_buffer;
pub fn init() { pub fn init() {
gdt::init();
interrupts::init_idt(); interrupts::init_idt();
} }

View File

@@ -11,7 +11,6 @@ use core::panic::PanicInfo;
pub extern "C" fn _start() -> ! { pub extern "C" fn _start() -> ! {
println!("Hello World{}", "!"); println!("Hello World{}", "!");
blog_os::gdt::init();
blog_os::init(); blog_os::init();
fn stack_overflow() { fn stack_overflow() {