pub struct Mappings {Show 13 fields
pub entry_point: VirtAddr,
pub stack_top: VirtAddr,
pub used_entries: UsedLevel4Entries,
pub framebuffer: Option<VirtAddr>,
pub physical_memory_offset: Option<VirtAddr>,
pub recursive_index: Option<PageTableIndex>,
pub tls_template: Option<TlsTemplate>,
pub kernel_slice_start: PhysAddr,
pub kernel_slice_len: u64,
pub kernel_image_offset: VirtAddr,
pub ramdisk_slice_phys_start: Option<PhysAddr>,
pub ramdisk_slice_start: Option<VirtAddr>,
pub ramdisk_slice_len: u64,
}Expand description
Contains the addresses of all memory mappings set up by set_up_mappings.
Fields§
§entry_point: VirtAddrThe entry point address of the kernel.
stack_top: VirtAddrThe (exclusive) end address of the kernel stack.
used_entries: UsedLevel4EntriesKeeps track of used entries in the level 4 page table, useful for finding a free virtual memory when needed.
framebuffer: Option<VirtAddr>The start address of the framebuffer, if any.
physical_memory_offset: Option<VirtAddr>The start address of the physical memory mapping, if enabled.
recursive_index: Option<PageTableIndex>The level 4 page table index of the recursive mapping, if enabled.
tls_template: Option<TlsTemplate>The thread local storage template of the kernel executable, if it contains one.
kernel_slice_start: PhysAddrStart address of the kernel slice allocation in memory.
kernel_slice_len: u64Size of the kernel slice allocation in memory.
kernel_image_offset: VirtAddrRelocation offset of the kernel image in virtual memory.
ramdisk_slice_phys_start: Option<PhysAddr>§ramdisk_slice_start: Option<VirtAddr>§ramdisk_slice_len: u64Auto Trait Implementations§
impl Freeze for Mappings
impl RefUnwindSafe for Mappings
impl Send for Mappings
impl Sync for Mappings
impl Unpin for Mappings
impl UnwindSafe for Mappings
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