pub(crate) fn load_elf(name: &str, base_addr: VirtAddr) -> ELFInfo
Expand description
Load the ELF files by the given app name and return
the segments of the ELF file
§Arguments
name
- The name of the app
base_addr
- The minimal address of user space
§Returns
Entry and information about segments of the given ELF file