Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/sysent.h
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | |||||
struct sysentvec { | struct sysentvec { | ||||
int sv_size; /* number of entries */ | int sv_size; /* number of entries */ | ||||
struct sysent *sv_table; /* pointer to sysent */ | struct sysent *sv_table; /* pointer to sysent */ | ||||
int sv_errsize; /* size of errno translation table */ | int sv_errsize; /* size of errno translation table */ | ||||
const int *sv_errtbl; /* errno translation table */ | const int *sv_errtbl; /* errno translation table */ | ||||
int (*sv_transtrap)(int, int); | int (*sv_transtrap)(int, int); | ||||
/* translate trap-to-signal mapping */ | /* translate trap-to-signal mapping */ | ||||
int (*sv_fixup)(register_t **, struct image_params *); | int (*sv_fixup)(uintptr_t *, struct image_params *); | ||||
/* stack fixup function */ | /* stack fixup function */ | ||||
void (*sv_sendsig)(void (*)(int), struct ksiginfo *, struct __sigset *); | void (*sv_sendsig)(void (*)(int), struct ksiginfo *, struct __sigset *); | ||||
/* send signal */ | /* send signal */ | ||||
char *sv_sigcode; /* start of sigtramp code */ | char *sv_sigcode; /* start of sigtramp code */ | ||||
int *sv_szsigcode; /* size of sigtramp code */ | int *sv_szsigcode; /* size of sigtramp code */ | ||||
char *sv_name; /* name of binary type */ | char *sv_name; /* name of binary type */ | ||||
int (*sv_coredump)(struct thread *, struct vnode *, off_t, int); | int (*sv_coredump)(struct thread *, struct vnode *, off_t, int); | ||||
/* function to dump core, or NULL */ | /* function to dump core, or NULL */ | ||||
int (*sv_imgact_try)(struct image_params *); | int (*sv_imgact_try)(struct image_params *); | ||||
void (*sv_stackgap)(struct image_params *, u_long *); | void (*sv_stackgap)(struct image_params *, uintptr_t *); | ||||
int (*sv_copyout_auxargs)(struct image_params *, u_long *); | int (*sv_copyout_auxargs)(struct image_params *, | ||||
uintptr_t *); | |||||
int sv_minsigstksz; /* minimum signal stack size */ | int sv_minsigstksz; /* minimum signal stack size */ | ||||
vm_offset_t sv_minuser; /* VM_MIN_ADDRESS */ | vm_offset_t sv_minuser; /* VM_MIN_ADDRESS */ | ||||
vm_offset_t sv_maxuser; /* VM_MAXUSER_ADDRESS */ | vm_offset_t sv_maxuser; /* VM_MAXUSER_ADDRESS */ | ||||
vm_offset_t sv_usrstack; /* USRSTACK */ | vm_offset_t sv_usrstack; /* USRSTACK */ | ||||
vm_offset_t sv_psstrings; /* PS_STRINGS */ | vm_offset_t sv_psstrings; /* PS_STRINGS */ | ||||
int sv_stackprot; /* vm protection for stack */ | int sv_stackprot; /* vm protection for stack */ | ||||
int (*sv_copyout_strings)(struct image_params *, register_t **); | int (*sv_copyout_strings)(struct image_params *, | ||||
uintptr_t *); | |||||
void (*sv_setregs)(struct thread *, struct image_params *, | void (*sv_setregs)(struct thread *, struct image_params *, | ||||
u_long); | uintptr_t); | ||||
void (*sv_fixlimit)(struct rlimit *, int); | void (*sv_fixlimit)(struct rlimit *, int); | ||||
u_long *sv_maxssiz; | u_long *sv_maxssiz; | ||||
u_int sv_flags; | u_int sv_flags; | ||||
void (*sv_set_syscall_retval)(struct thread *, int); | void (*sv_set_syscall_retval)(struct thread *, int); | ||||
int (*sv_fetch_syscall_args)(struct thread *); | int (*sv_fetch_syscall_args)(struct thread *); | ||||
const char **sv_syscallnames; | const char **sv_syscallnames; | ||||
vm_offset_t sv_timekeep_base; | vm_offset_t sv_timekeep_base; | ||||
vm_offset_t sv_shared_page_base; | vm_offset_t sv_shared_page_base; | ||||
▲ Show 20 Lines • Show All 192 Lines • Show Last 20 Lines |