Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/freebsd32/syscalls.master
Show First 20 Lines • Show All 1,170 Lines • ▼ Show 20 Lines | |||||
576 AUE_NULL NOSTD|NOPROTO { int rpctls_syscall(int op, \ | 576 AUE_NULL NOSTD|NOPROTO { int rpctls_syscall(int op, \ | ||||
const char *path); } | const char *path); } | ||||
577 AUE_SPECIALFD NOPROTO { int __specialfd(int type, const void *req, \ | 577 AUE_SPECIALFD NOPROTO { int __specialfd(int type, const void *req, \ | ||||
size_t len); } | size_t len); } | ||||
578 AUE_AIO_WRITEV STD { int freebsd32_aio_writev( \ | 578 AUE_AIO_WRITEV STD { int freebsd32_aio_writev( \ | ||||
struct aiocb32 *aiocbp); } | struct aiocb32 *aiocbp); } | ||||
579 AUE_AIO_READV STD { int freebsd32_aio_readv( \ | 579 AUE_AIO_READV STD { int freebsd32_aio_readv( \ | ||||
struct aiocb32 *aiocbp); } | struct aiocb32 *aiocbp); } | ||||
580 AUE_FSPACECTL NOPROTO { int fspacectl(int fd, \ | |||||
kib: I think that this requires translation for compat32, because spacectl_range contains off_t. | |||||
int cmd, \ | |||||
struct spacectl_range *range,\ | |||||
Done Inline ActionsBTW, the fact that spacectl_range has the same layout for native and compat32 is somewhat incidental. Some static asserts would be due, I believe. kib: BTW, the fact that spacectl_range has the same layout for native and compat32 is somewhat… | |||||
int flags); } | |||||
; vim: syntax=off | ; vim: syntax=off |
I think that this requires translation for compat32, because spacectl_range contains off_t. Look how freebsd32_lseek() handles that, in particular the big- vs. little-endian versions of PAIR32TO64.