Allow userspace to handle IRQs (WIP). Create basic keyboard handler

This commit is contained in:
Jeremy Soller 2016-09-18 20:17:08 -06:00
parent 4bcee99d9f
commit 36fde7c7c5
8 changed files with 115 additions and 24 deletions

View file

@ -13,7 +13,7 @@ pub struct Memory {
flags: EntryFlags
}
#[derive(Debug)]
#[derive(Clone, Debug)]
pub enum SharedMemory {
Owned(Arc<Mutex<Memory>>),
Borrowed(Weak<Mutex<Memory>>)