[−][src]Function sunrise_bootstrap::elf_loader::load_segment
fn load_segment(
page_table: &mut PagingOffPageSet,
segment: ProgramHeader,
elf_file: &ElfFile
)
Loads an elf segment by coping file_size bytes to the right address, and filling remaining with 0s. This is used by NOBITS sections (.bss), this way we initialize them to 0.