Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2025 17:02:25 +0000
From:      mothcompute <mothcompute@protonmail.com>
To:        "freebsd-emulation@FreeBSD.org" <freebsd-emulation@FreeBSD.org>
Subject:   XNU syscall numbers
Message-ID:  <t_hz3qyHCcVV7GmvUmD-U9w6eCrR5F0b4MnOLKQhCzEDTqBGu7ZB8rKEzkLaQsYVzjelhrPInKAyJ4Yz_1lT0mgcaV-uEeSvyGi3fHXEF5w=@protonmail.com>

index | next in thread | raw e-mail

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?


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?t_hz3qyHCcVV7GmvUmD-U9w6eCrR5F0b4MnOLKQhCzEDTqBGu7ZB8rKEzkLaQsYVzjelhrPInKAyJ4Yz_1lT0mgcaV-uEeSvyGi3fHXEF5w=>