feat(pic): add pic init
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
1 parent
337a40e84c
commit
618e528f35
5 files changed
+61
-6
No files matched your search
@@ -22,6 +22,8 @@ pub fn init() {
|
||||
println!("Starting init");
|
||||
gdt::init_gdt();
|
||||
interrupts::init_idt();
|
||||
unsafe { interrupts::PICS.lock().initialize() };
|
||||
x86_64::instructions::interrupts::enable();
|
||||
vga::change_color(ColorCode::new(Color::LightGreen, Color::Black));
|
||||
}
|
||||
|
||||
|
||||