Grant to allow passing data to scheme handler

This commit is contained in:
Jeremy Soller 2016-09-20 14:50:04 -06:00
commit 941fc0b494

View file

@ -43,6 +43,10 @@ impl Context {
}
}
pub fn get_page_table(&self) -> usize {
self.cr3
}
pub fn set_page_table(&mut self, address: usize) {
self.cr3 = address;
}