aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/load.h
diff options
context:
space:
mode:
authorMarvin Borner2020-08-15 13:17:18 +0200
committerMarvin Borner2020-08-15 13:17:18 +0200
commitcb47a048d233e1f2433c815a06d53d8087e19dad (patch)
treeb7f5984cb97094fa2b7f7825e1ebb4ff89f4b0f0 /kernel/inc/load.h
parentc047e2e981a25e15d3a7e141e532004300559e48 (diff)
Some elf things
Diffstat (limited to 'kernel/inc/load.h')
-rw-r--r--kernel/inc/load.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/inc/load.h b/kernel/inc/load.h
index 597d3b5..863f04f 100644
--- a/kernel/inc/load.h
+++ b/kernel/inc/load.h
@@ -15,6 +15,8 @@
#define ET_REL 1 // Relocatable file
#define ET_EXEC 2 // Executable file
+#define PT_LOAD 1
+
struct elf_header {
u8 ident[16];
u16 type;