Seperate PS/2 keyboard and mouse driver

This commit is contained in:
Jeremy Soller 2016-09-19 09:43:30 -06:00
parent 70a2faa0c7
commit 727647dbf1
6 changed files with 49 additions and 44 deletions

View file

@ -73,8 +73,7 @@ pub extern crate x86;
macro_rules! print {
($($arg:tt)*) => ({
use core::fmt::Write;
let mut console = $crate::console::CONSOLE.lock();
let _ = write!(console, $($arg)*);
let _ = write!($crate::console::CONSOLE.lock(), $($arg)*);
});
}