summaryrefslogtreecommitdiff
path: root/src/user/lib/elfload.h
diff options
context:
space:
mode:
authordzwdz2022-07-18 14:01:21 +0200
committerdzwdz2022-07-18 14:01:21 +0200
commitd43c1af88b1834a00f8b5f09aa0af1a5e4f5b4aa (patch)
tree7743cd9eb761dee12711cf719ab846228a888dbd /src/user/lib/elfload.h
parent620bd6af8e005057e04c8a2891c7537ec3556345 (diff)
user: a super primitive ELF loader
holy shit. this was simpler than i expected it to be
Diffstat (limited to 'src/user/lib/elfload.h')
-rw-r--r--src/user/lib/elfload.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/user/lib/elfload.h b/src/user/lib/elfload.h
new file mode 100644
index 0000000..c6afbdd
--- /dev/null
+++ b/src/user/lib/elfload.h
@@ -0,0 +1,5 @@
+#pragma once
+#include <user/lib/stdlib.h>
+
+void elf_execf(libc_file *f);
+void elf_exec(void *elf);