Struct tock_tbf::types::TbfHeaderV2FixedAddresses
source · pub struct TbfHeaderV2FixedAddresses { /* private fields */ }
Expand description
Optional fixed addresses for flash and RAM for this process.
If a process is compiled for a specific address this header entry lets the kernel know what those addresses are.
If this header is omitted the kernel will assume that the process is position-independent and can be loaded at any (reasonably aligned) flash address and can be given any (reasonable aligned) memory segment.
If this header is included, the kernel will check these values when setting up the process. If a process wants to set one fixed address but not the other, the unused one can be set to 0xFFFFFFFF.
Trait Implementations§
source§impl Clone for TbfHeaderV2FixedAddresses
impl Clone for TbfHeaderV2FixedAddresses
source§fn clone(&self) -> TbfHeaderV2FixedAddresses
fn clone(&self) -> TbfHeaderV2FixedAddresses
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 TbfHeaderV2FixedAddresses
impl Debug for TbfHeaderV2FixedAddresses
source§impl Default for TbfHeaderV2FixedAddresses
impl Default for TbfHeaderV2FixedAddresses
source§fn default() -> TbfHeaderV2FixedAddresses
fn default() -> TbfHeaderV2FixedAddresses
Returns the “default value” for a type. Read more
source§impl TryFrom<&[u8]> for TbfHeaderV2FixedAddresses
impl TryFrom<&[u8]> for TbfHeaderV2FixedAddresses
§type Error = TbfParseError
type Error = TbfParseError
The type returned in the event of a conversion error.
impl Copy for TbfHeaderV2FixedAddresses
Auto Trait Implementations§
impl Freeze for TbfHeaderV2FixedAddresses
impl RefUnwindSafe for TbfHeaderV2FixedAddresses
impl Send for TbfHeaderV2FixedAddresses
impl Sync for TbfHeaderV2FixedAddresses
impl Unpin for TbfHeaderV2FixedAddresses
impl UnwindSafe for TbfHeaderV2FixedAddresses
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)