This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
hilbert-os/documentation/kernel-interfaces/app-entry.txt

3 lines
220 B
Text

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.