bdk: ianos: restructure for future expansion
This commit is contained in:
1 parent
1edb18a217
commit
2014a72774
6 files changed
+131
-80
No files matched your search
@@ -53,7 +53,7 @@ typedef enum
|
||||
|
||||
typedef struct el_ctx
|
||||
{
|
||||
bool (*pread)(struct el_ctx *ctx, void *dest, size_t nb, size_t offset);
|
||||
el_status (*pread)(struct el_ctx *ctx, void *dest, size_t nb, size_t offset);
|
||||
|
||||
/* base_load_* -> address we are actually going to load at
|
||||
*/
|
||||
@@ -61,6 +61,9 @@ typedef struct el_ctx
|
||||
base_load_paddr,
|
||||
base_load_vaddr;
|
||||
|
||||
/* original memory of binary */
|
||||
Elf_Addr eaddr;
|
||||
|
||||
/* size in memory of binary */
|
||||
Elf_Addr memsz;
|
||||
|
||||
|
||||
Reference in new issue
Block a user