pub unsafe fn untyped_descs(&self) -> &[seL4_UntypedDesc] {
        let len = self.untyped.end - self.untyped.start;
        // sanity check that the number of untypeds doesn't extend past the end of the page
        debug_assert!(len <= (4096 - size_of::<seL4_BootInfo>() + size_of::<seL4_UntypedDesc>()) /  size_of::<seL4_UntypedDesc>()) ;
        core::slice::from_raw_parts(&self.untypedList, len)
    }
/// This is safe if you don't mutate the `untyped` field and corrupt its length.
This is safe if you don't mutate the `untyped` field and corrupt its length.
This is safe if you don ' t mutate the ` untyped ` field and corrupt its length .
pub unsafe fn untyped_descs(&self) -> &[seL4_UntypedDesc] {
        let len = self.untyped.end - self.untyped.start;
        // sanity check that the number of untypeds doesn't extend past the end of the page
        debug_assert!(len <= (4096 - size_of::<seL4_BootInfo>() + size_of::<seL4_UntypedDesc>()) /  size_of::<seL4_UntypedDesc>()) ;
        core::slice::from_raw_parts(&self.untypedList, len)
    }
pub unsafe fn untyped_descs ( & self ) -> & [ seL4_UntypedDesc ] { let len = self . untyped . end - self . untyped . start ; // sanity check that the number of untypeds doesn't extend past the end of the page debug_assert ! ( len ( 4096 size_of seL4_BootInfo ( ) size_of seL4_UntypedDesc ( ) ) size_of seL4_UntypedDesc ( ) ) ; core :: slice :: from_raw_parts ( & self . untypedList , len ) }
This is safe if you don't mutate the `untyped` field and corrupt its length.
This is safe if you don ' t mutate the ` untyped ` field and corrupt its length .
&self
&self