XNU syscall numbers

mothcompute <[email protected]>
Newsgroups gmane.os.freebsd.devel.emulation
Message-ID <t_hz3qyHCcVV7GmvUmD-U9w6eCrR5F0b4MnOLKQhCzEDTqBGu7ZB8rKEzkLaQsYVzjelhrPInKAyJ4Yz_1lT0mgcaV-uEeSvyGi3fHXEF5w=@protonmail.com>
I've been looking into writing a module for FreeBSD that adds a sysentvec for XNU syscalls, but XNU syscall numbers contain two fields so syscall numbers can be as many as 26 bits long. Does FreeBSD have some mechanism to 'fix' the syscall number before dispatching it to a sysent, and if not, what would be the best way to go about implementing this without slowing down existing ABIs?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.