summaryrefslogtreecommitdiff
path: root/emulator/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'emulator/elf.h')
-rw-r--r--emulator/elf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/emulator/elf.h b/emulator/elf.h
new file mode 100644
index 0000000..2ba3739
--- /dev/null
+++ b/emulator/elf.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include <stdint.h>
+#include <stdbool.h>
+
+bool load_elf(const char* file, char* mem, uint32_t mem_size, uint32_t* start_address);