pub struct KernelAddresses {
pub stack_start: *const u8,
pub stack_end: *const u8,
pub text_start: *const u8,
pub text_end: *const u8,
pub read_only_data_start: *const u8,
pub relocations_start: *const u8,
pub relocations_end: *const u8,
pub bss_start: *const u8,
pub bss_end: *const u8,
}
Expand description
Data structure to hold addresses about how the kernel is stored in memory on the chip.
All “end” addresses are the memory addresses immediately following the end of the memory region.
Fields§
§stack_start: *const u8
§stack_end: *const u8
§text_start: *const u8
§text_end: *const u8
§read_only_data_start: *const u8
§relocations_start: *const u8
§relocations_end: *const u8
§bss_start: *const u8
§bss_end: *const u8
Auto Trait Implementations§
impl Freeze for KernelAddresses
impl RefUnwindSafe for KernelAddresses
impl !Send for KernelAddresses
impl !Sync for KernelAddresses
impl Unpin for KernelAddresses
impl UnwindSafe for KernelAddresses
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