aarch64: context: Add separate kspace and uspace page table getters

This commit is contained in:
Robin Randhawa
2021-01-21 11:40:02 +00:00
parent 3da345867a
commit 75870a655f

View File

@@ -87,10 +87,14 @@ impl Context {
}
}
pub fn get_page_table(&self) -> usize {
pub fn get_page_utable(&self) -> usize {
self.ttbr0_el1
}
pub fn get_page_ktable(&self) -> usize {
self.ttbr1_el1
}
pub fn set_fx(&mut self, _address: usize) {
}