#[repr(u32)]pub enum translation_flags_t {
Sim_Translation_Dynamic = 1,
Sim_Translation_Ambiguous = 2,
}
Expand description
The
The range for which the translation is valid is specified by the fields base and size. As a special case, if size and base are both 0, then the translation is valid for the entire address space. To allow optimizations (e.g., caching of translations) translators should return as wide ranges as possible.
The target field specifies the object and interface
port which is mapped into the address range in the form of a map target.
Map targets can be created using the function
A null value returned in the target field signifies that
the translation cannot be done. This can happen if there is nothing mapped
in the range defined by base and size
(transactions directed to this region will be terminated
with the pseudo exception
If the returned translation is not static but instead depends on e.g.
a device register, then the translator can set the flags field
to
The
Variants§
Trait Implementations§
source§impl Clone for translation_flags_t
impl Clone for translation_flags_t
source§fn clone(&self) -> translation_flags_t
fn clone(&self) -> translation_flags_t
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for translation_flags_t
impl Debug for translation_flags_t
source§impl Hash for translation_flags_t
impl Hash for translation_flags_t
source§impl Ord for translation_flags_t
impl Ord for translation_flags_t
source§fn cmp(&self, other: &translation_flags_t) -> Ordering
fn cmp(&self, other: &translation_flags_t) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for translation_flags_t
impl PartialEq for translation_flags_t
source§impl PartialOrd for translation_flags_t
impl PartialOrd for translation_flags_t
impl Copy for translation_flags_t
impl Eq for translation_flags_t
impl StructuralPartialEq for translation_flags_t
Auto Trait Implementations§
impl Freeze for translation_flags_t
impl RefUnwindSafe for translation_flags_t
impl Send for translation_flags_t
impl Sync for translation_flags_t
impl Unpin for translation_flags_t
impl UnwindSafe for translation_flags_t
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)