-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gensyscall: replace syscall numbers with func pointers
Instead of numbers and big switch statement, store functions pointers directly on the syscall struct. The big switch statement was impossible to extend outside of gensyscall. These new function pairs do not have this problem.
- Loading branch information
1 parent
7028ed1
commit 49ded66
Showing
5 changed files
with
984 additions
and
1,116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.