pub struct Fdt(/* private fields */);Implementations§
Source§impl Fdt
impl Fdt
pub fn new(addr: PhysAddr) -> Self
pub fn model_name(&self) -> Option<String>
pub fn cpus(&self) -> Vec<CPUInfo>
pub fn get(&self) -> Fdt<'static>
pub fn get_addr(&self) -> NonNull<u8>
pub fn memorys(&self) -> ArrayVec<Range<PhysAddr>, 12>
pub fn take_memory(&self) -> Range<PhysAddr>
pub fn debugcon(&self) -> Option<SerialPort>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fdt
impl RefUnwindSafe for Fdt
impl Send for Fdt
impl Sync for Fdt
impl Unpin for Fdt
impl UnwindSafe for Fdt
Blanket Implementations§
Source§impl<T> Background for T
impl<T> Background for T
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