Add wnohang, make PS/2 driver write input to display scheme, which then passes it to the shell

This commit is contained in:
Jeremy Soller 2016-09-22 10:10:27 -06:00
parent 046236c10f
commit 76b0c7eeea
9 changed files with 151 additions and 96 deletions

View file

@ -42,7 +42,7 @@ impl Mapper {
/// Map a page to the next free frame
pub fn map(&mut self, page: Page, flags: EntryFlags) {
let frame = allocate_frame().expect("out of memory");
let frame = allocate_frame().expect("out of frames");
self.map_to(page, frame, flags)
}