aboutsummaryrefslogtreecommitdiff
path: root/fesvr/elfloader.h
diff options
context:
space:
mode:
Diffstat (limited to 'fesvr/elfloader.h')
-rw-r--r--fesvr/elfloader.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/fesvr/elfloader.h b/fesvr/elfloader.h
new file mode 100644
index 0000000..696ef47
--- /dev/null
+++ b/fesvr/elfloader.h
@@ -0,0 +1,13 @@
+// See LICENSE for license details.
+
+#ifndef _ELFLOADER_H
+#define _ELFLOADER_H
+
+#include "elf.h"
+#include <map>
+#include <string>
+
+class memif_t;
+std::map<std::string, uint64_t> load_elf(const char* fn, memif_t* memif, reg_t* entry);
+
+#endif