summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-07-18 21:03:08 -0400
committerIan Moffett <ian@osmora.org>2024-07-18 21:03:08 -0400
commit5d0e6ce144629888fbcf4e443e494dc0d7197672 (patch)
tree447417378e88e84c578e74e89b7344c08e254afd /sys/include
parent24d1080c716098273cea3e40b4bbcde236b222dc (diff)
kernel: elf: Keep track of program start and end
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/exec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/sys/exec.h b/sys/include/sys/exec.h
index 2c85010..08ddac6 100644
--- a/sys/include/sys/exec.h
+++ b/sys/include/sys/exec.h
@@ -73,6 +73,8 @@ struct exec_prog {
struct auxval auxval;
char **argp;
char **envp;
+ vaddr_t start;
+ vaddr_t end;
};
struct execve_args {