Struct cros_fdt::fdt::FdtReserveEntry
source · pub struct FdtReserveEntry {
pub address: u64,
pub size: u64,
}
Expand description
Reserved physical memory region.
This represents an area of physical memory reserved by the firmware and unusable by the OS. For example, this could be used to preserve bootloader code or data used at runtime.
Fields§
§address: u64
Physical address of the beginning of the reserved region.
size: u64
Size of the reserved region in bytes.
Implementations§
Trait Implementations§
source§impl Clone for FdtReserveEntry
impl Clone for FdtReserveEntry
source§fn clone(&self) -> FdtReserveEntry
fn clone(&self) -> FdtReserveEntry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FdtReserveEntry
impl Debug for FdtReserveEntry
source§impl PartialEq for FdtReserveEntry
impl PartialEq for FdtReserveEntry
source§fn eq(&self, other: &FdtReserveEntry) -> bool
fn eq(&self, other: &FdtReserveEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FdtReserveEntry
Auto Trait Implementations§
impl RefUnwindSafe for FdtReserveEntry
impl Send for FdtReserveEntry
impl Sync for FdtReserveEntry
impl Unpin for FdtReserveEntry
impl UnwindSafe for FdtReserveEntry
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