|
iPXE
|
Executable image segments. More...
#include <stdint.h>Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| int | prep_segment (void *segment, size_t filesz, size_t memsz) |
| Prepare segment for loading. More... | |
Executable image segments.
Definition in file segment.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
Prepare segment for loading.
| segment | Segment start |
| filesz | Size of the "allocated bytes" portion of the segment |
| memsz | Size of the segment |
| rc | Return status code |
Definition at line 61 of file segment.c.
References DBGC, DBGC_MEMMAP, EINVAL, end, ERANGE_SEGMENT, max, memmap_region::max, memmap_describe(), memmap_is_usable(), memset(), memsz, mid, segment, and start.
Referenced by bzimage_exec(), com32_load_image(), com32_prepare_bounce_buffer(), comboot_prepare_segment(), elf_load_segment(), lkrn_exec(), multiboot_add_modules(), multiboot_load_raw(), nbi_prepare_segment(), and pxe_exec().
1.8.15