mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-18 07:17:49 +00:00
Make the load function safe
This commit is contained in:
@@ -64,8 +64,8 @@ pub fn init() {
|
||||
GDT.table.load();
|
||||
gdt::reload_segment_registers(GDT.selectors.code, GDT.selectors.data);
|
||||
gdt::load_ltr(GDT.selectors.tss);
|
||||
IDT.load();
|
||||
}
|
||||
IDT.load();
|
||||
}
|
||||
|
||||
pub extern "C" fn divide_by_zero_handler() -> ! {
|
||||
|
||||
Reference in New Issue
Block a user