Seperate PS/2 keyboard and mouse driver
This commit is contained in:
parent
70a2faa0c7
commit
727647dbf1
6 changed files with 49 additions and 44 deletions
|
@ -54,6 +54,8 @@ pub unsafe fn switch() {
|
|||
return;
|
||||
}
|
||||
|
||||
//println!("Switch {} to {}", (&*from_ptr).id, (&*to_ptr).id);
|
||||
|
||||
(&mut *from_ptr).running = false;
|
||||
(&mut *to_ptr).running = true;
|
||||
if let Some(ref stack) = (*to_ptr).kstack {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue