Struct islet_rmm::realm::mm::stage2_translation::Stage2Translation
source · pub struct Stage2Translation<'a> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'a> Debug for Stage2Translation<'a>
impl<'a> Debug for Stage2Translation<'a>
source§impl<'a> IPATranslation for Stage2Translation<'a>
impl<'a> IPATranslation for Stage2Translation<'a>
source§fn ipa_to_pa(&mut self, guest: GuestPhysAddr, level: usize) -> Option<PhysAddr>
fn ipa_to_pa(&mut self, guest: GuestPhysAddr, level: usize) -> Option<PhysAddr>
Retrieves Page Table Entry (PA) from Intermediate Physical Address (IPA)
(input) guest: a target guest physical address to translate level: the intended page-table level to reach
(output) if exists, physical address else, None
source§fn ipa_to_pte(
&mut self,
guest: GuestPhysAddr,
level: usize
) -> Option<(u64, usize)>
fn ipa_to_pte( &mut self, guest: GuestPhysAddr, level: usize ) -> Option<(u64, usize)>
Retrieves Page Table Entry (PTE) from Intermediate Physical Address (IPA)
(input) guest: a target guest physical address to translate level: the intended page-table level to reach
(output) if exists, A tuple of (pte value (u64), lastly reached page table level (usize)) else, None
fn get_base_address(&self) -> *const c_void
fn ipa_to_pte_set( &mut self, guest: GuestPhysAddr, level: usize, val: u64 ) -> Result<(), Error>
fn clean(&mut self)
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Stage2Translation<'a>
impl<'a> Send for Stage2Translation<'a>
impl<'a> Sync for Stage2Translation<'a>
impl<'a> Unpin for Stage2Translation<'a>
impl<'a> !UnwindSafe for Stage2Translation<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more