aboutsummaryrefslogtreecommitdiffstats
path: root/source/elf_load.hpp
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2020-08-22 20:34:03 -0400
committerClyne Sullivan <clyne@bitgloo.com>2020-08-22 20:34:03 -0400
commit32fc992f6a41a9a139aaaa6569f549b54c8a912f (patch)
treeceaf11acef9cace14b0238b596e6bf01f9eb39f5 /source/elf_load.hpp
parent96e4883081e253287d18c93118399f39b71551ea (diff)
filter loading and real-time execution
Diffstat (limited to 'source/elf_load.hpp')
-rw-r--r--source/elf_load.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/elf_load.hpp b/source/elf_load.hpp
index 722b19b..3e03f1d 100644
--- a/source/elf_load.hpp
+++ b/source/elf_load.hpp
@@ -1,11 +1,14 @@
#ifndef ELF_LOAD_HPP_
#define ELF_LOAD_HPP_
+#include <cstddef>
+#include <cstdint>
+
namespace elf
{
- using entry_t = void (*)();
+ using entry_t = void (*)(uint16_t *, size_t);
- entry_t load(void *file_data);
+ entry_t load(void *elf_data, void *elf_load_offset);
}
#endif // ELF_LOAD_HPP_