diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-10-31 21:07:03 +0100 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-10-31 21:07:03 +0100 |
| commit | fbc57cad5622039654b95590ab1efb464984c71b (patch) | |
| tree | bcc251ff37486ae297615723faf45bbb5e92bedb /include/main_exit.s | |
| parent | 2bc3d9a3815a6cd172b3b4f7696c46a006021b13 (diff) | |
| download | uskel-fbc57cad5622039654b95590ab1efb464984c71b.tar.gz uskel-fbc57cad5622039654b95590ab1efb464984c71b.tar.bz2 | |
debug the gc
Diffstat (limited to 'include/main_exit.s')
| -rw-r--r-- | include/main_exit.s | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/main_exit.s b/include/main_exit.s index 1a38e5a..5ce6c76 100644 --- a/include/main_exit.s +++ b/include/main_exit.s @@ -1,13 +1,10 @@ .ifndef _main_exit_s_file _main_exit_s_file: -# exitcode -> | cont (unused, should be 0) | +# exitcode -> || .thunkcode main_exit - mov 010(%rsi), %rdi # result goes to syscall exitcode + mov 010(%rsi), %rdi # result INT goes to syscall exitcode mov $60, %rax # exit=60 syscall # exit %rdi -# TODO this is a "case" kind of thunk so it's quite likely that it really -# doesn't need the continuation. - .endif # _main_exit_s_file |
