summaryrefslogtreecommitdiff
path: root/emulator/elf.h
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-05-12 11:24:16 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-05-12 11:24:16 +0200
commit40b4d52e905227849785f6520d0381f19657820a (patch)
tree91eb8549419c14f4c8880693109eb41c8c650552 /emulator/elf.h
parentb9dd0160640adcbb1b5a66247b274bf99a7de705 (diff)
Reorganize all this shit
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);