libexec: return physaddr info from ELF headers
This commit is contained in:
@@ -11,8 +11,10 @@ int read_header_aout(const char *exec_hdr, size_t exec_len, int *sep_id,
|
||||
|
||||
/* ELF routines */
|
||||
int read_header_elf(const char *exec_hdr,
|
||||
vir_bytes *text_addr, vir_bytes *text_filebytes, vir_bytes *text_membytes,
|
||||
vir_bytes *data_addr, vir_bytes *data_filebytes, vir_bytes *data_membytes,
|
||||
phys_bytes *tot_bytes, vir_bytes *pc, off_t *text_offset, off_t *data_offset);
|
||||
vir_bytes *text_vaddr, phys_bytes *text_paddr,
|
||||
vir_bytes *text_filebytes, vir_bytes *text_membytes,
|
||||
vir_bytes *data_vaddr, phys_bytes *data_paddr,
|
||||
vir_bytes *data_filebytes, vir_bytes *data_membytes,
|
||||
vir_bytes *pc, off_t *text_offset, off_t *data_offset);
|
||||
|
||||
#endif /* !_LIBEXEC_H_ */
|
||||
|
||||
Reference in New Issue
Block a user