Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
1 parent
8e0fbfe263
commit
b60ec92388
3 files changed
+14
-10
No files matched your search
@@ -35,5 +35,8 @@ pub static PICS: spin::Mutex<ChainedPics> =
|
||||
|
||||
pub fn init_pic() {
|
||||
println!("Initializing PIC");
|
||||
unsafe { PICS.lock().initialize() };
|
||||
unsafe {
|
||||
PICS.lock().initialize();
|
||||
PICS.lock().write_masks(0b10111000, 0b00001110);
|
||||
};
|
||||
}
|
||||