X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/bd504ef0e0b883cdd7917b73b3574eb9ce669905..39236c6e673c41db228275375ab7fdb0f837b292:/bsd/sys/sysent.h diff --git a/bsd/sys/sysent.h b/bsd/sys/sysent.h index f2560fd79..33c991c14 100644 --- a/bsd/sys/sysent.h +++ b/bsd/sys/sysent.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004-2007 Apple Inc. All rights reserved. + * Copyright (c) 2004-2012 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -39,13 +39,11 @@ typedef int32_t sy_call_t(struct proc *, void *, int *); typedef void sy_munge_t(const void *, void *); struct sysent { /* system call table */ - int16_t sy_narg; /* number of args */ - int8_t sy_resv; /* reserved */ - int8_t sy_flags; /* flags */ sy_call_t *sy_call; /* implementing function */ sy_munge_t *sy_arg_munge32; /* system call arguments munger for 32-bit process */ sy_munge_t *sy_arg_munge64; /* system call arguments munger for 64-bit process */ int32_t sy_return_type; /* system call return types */ + int16_t sy_narg; /* number of args */ uint16_t sy_arg_bytes; /* Total size of arguments in bytes for * 32-bit system calls */ @@ -56,11 +54,7 @@ extern struct sysent sysent[]; #endif /* __INIT_SYSENT_C__ */ extern int nsysent; -#define NUM_SYSENT 440 /* Current number of defined syscalls */ - -/* sy_funnel flags bits */ -#define FUNNEL_MASK 0x07f -#define UNSAFE_64BIT 0x080 +#define NUM_SYSENT 456 /* Current number of defined syscalls */ /* * Valid values for sy_cancel