diff options
| author | Nathan P. Reiner <nathan@nathanreiner.xyz> | 2022-12-16 10:00:33 +0100 |
|---|---|---|
| committer | Nathan P. Reiner <nathan@nathanreiner.xyz> | 2022-12-16 10:00:33 +0100 |
| commit | a8192ab39056e66dc8ecae1a637ecff88b49448b (patch) | |
| tree | 2458a7a0c02c29e3a3879197bc0429b4bb7acc48 /lib/sys | |
| parent | f7f42b5f4fd22cd16e092de4a6f2a642b5ab8234 (diff) | |
add env initialization
Diffstat (limited to 'lib/sys')
| -rw-r--r-- | lib/sys/start.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sys/start.S b/lib/sys/start.S index 1faf691..ccbbf18 100644 --- a/lib/sys/start.S +++ b/lib/sys/start.S @@ -4,6 +4,7 @@ _start: xor %rax, %rax lea 8(%rsp, %rax, 8), %rsi lea 16(%rsp, %rdi, 8), %rdx + call init_env call main mov $0, %rdi mov $60, %rax |