fix syscalls

This commit is contained in:
2026-05-10 21:44:54 +02:00
parent 3bbdc998cd
commit 5dc6b1124d
4 changed files with 22 additions and 17 deletions
+6
View File
@@ -8,4 +8,10 @@ Name | Number (%rax) | arg0 (%rdi) | arg1 (%rsi) | arg2 (%rdx) |
| sys_write | 1 | unsigned int fd | const char* buf | size_t count |
| sys_open | 2 | const char* filename | int flags | |
| sys_close | 3 | unsigned int fd | | |
| sys_lseek | 8 | unsigned int fd | int offset | int whence |
| sys_tell | 9 | unsigned int fd |
| sys_eof | 10 | unsigned int fd |
| sys_draw | 11 | const uint8_t* src | int width | int height | int channels |
| sys_exit | 60 | int error_code | | |