feat(pic): add pic init

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2021-12-04 20:03:25 +01:00
1 parent 337a40e84c
commit 618e528f35
5 files changed
+61 -6

No files matched your search

+2
View File
@@ -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));
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.