Skip to content

Support 'syscall' instruction and syscalls with 0-6 arguments#63

Merged
ryuukumar merged 10 commits into
mainfrom
syscalls/syscall6
May 17, 2026
Merged

Support 'syscall' instruction and syscalls with 0-6 arguments#63
ryuukumar merged 10 commits into
mainfrom
syscalls/syscall6

Conversation

@ryuukumar
Copy link
Copy Markdown
Owner

@ryuukumar ryuukumar commented May 17, 2026

Couple of improvements:

  • change the syscall numbers to group them together by categories
  • separate handler types for syscalls with 0 to 6 arguments, so that there are no 'unused' arguments, and syscalls like mmap can eventually be implemented
  • use the syscall instruction from user mode
    • the legcay int 0x80 path is preserved for use by kernel processes + compatibility

@ryuukumar ryuukumar changed the title Revamp syscalls Support 'syscall' instruction and syscalls with 0-6 arguments May 17, 2026
@ryuukumar ryuukumar merged commit e2dfb44 into main May 17, 2026
1 check passed
@ryuukumar ryuukumar deleted the syscalls/syscall6 branch May 17, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant