Home
last modified time | relevance | path

Searched refs:usize (Results 1 – 2 of 2) sorted by relevance

/DragonBoot/src/arch/riscv64/
H A Drelocate.rs20 unsafe extern "C" fn efi_relocate(ldbase: u64, elf_dyn: *mut c_void) -> usize { in efi_relocate() argument
22 return do_relocate(ldbase, elf_dyn).0 as usize; in efi_relocate()
45 item = (item as usize + core::mem::size_of::<Dyn>()) as *mut Dyn; in do_relocate()
71 rel = (rel as usize + relent as usize) as *mut elf::relocation::Elf64_Rela; in do_relocate()
/DragonBoot/src/
H A Dlib.rs29 ) -> usize { in efi_main() argument
31 .map(|_| uefi::Status::SUCCESS.0 as usize) in efi_main()
32 .unwrap_or_else(|e| e.0 as usize) in efi_main()