pub struct MemRegion {
pub paddr: PhysAddr,
pub size: usize,
pub flags: MemRegionFlags,
pub name: &'static str,
}
Expand description
A physical memory region.
Fields§
§paddr: PhysAddr
The start physical address of the region.
size: usize
The size in bytes of the region.
flags: MemRegionFlags
The region flags, see MemRegionFlags
.
name: &'static str
The region name, used for identification.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MemRegion
impl Send for MemRegion
impl Sync for MemRegion
impl Unpin for MemRegion
impl UnwindSafe for MemRegion
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