diff options
Diffstat (limited to 'documentation/kernel-interfaces/app-entry.txt')
-rw-r--r-- | documentation/kernel-interfaces/app-entry.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/documentation/kernel-interfaces/app-entry.txt b/documentation/kernel-interfaces/app-entry.txt new file mode 100644 index 0000000..1a09d22 --- /dev/null +++ b/documentation/kernel-interfaces/app-entry.txt @@ -0,0 +1,3 @@ +on entry, the stack is set up, and all registers other than rsp are set to 0. +the ARGC environment variable holds the number of arguments to main. +the ARGV0, ARGV1, ARGV2, etc environment variables hold those arguments. |