Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/sysent.h
Show First 20 Lines • Show All 154 Lines • ▼ Show 20 Lines | struct sysentvec { | ||||
void (*sv_onexec_old)(struct thread *td); | void (*sv_onexec_old)(struct thread *td); | ||||
int (*sv_onexec)(struct proc *, struct image_params *); | int (*sv_onexec)(struct proc *, struct image_params *); | ||||
void (*sv_onexit)(struct proc *); | void (*sv_onexit)(struct proc *); | ||||
void (*sv_ontdexit)(struct thread *td); | void (*sv_ontdexit)(struct thread *td); | ||||
int (*sv_setid_allowed)(struct thread *td, | int (*sv_setid_allowed)(struct thread *td, | ||||
struct image_params *imgp); | struct image_params *imgp); | ||||
void (*sv_set_fork_retval)(struct thread *); | void (*sv_set_fork_retval)(struct thread *); | ||||
/* Only used on x86 */ | /* Only used on x86 */ | ||||
struct regset **sv_regset_begin; | |||||
struct regset **sv_regset_end; | |||||
}; | }; | ||||
#define SV_ILP32 0x000100 /* 32-bit executable. */ | #define SV_ILP32 0x000100 /* 32-bit executable. */ | ||||
#define SV_LP64 0x000200 /* 64-bit executable. */ | #define SV_LP64 0x000200 /* 64-bit executable. */ | ||||
#define SV_IA32 0x004000 /* Intel 32-bit executable. */ | #define SV_IA32 0x004000 /* Intel 32-bit executable. */ | ||||
#define SV_AOUT 0x008000 /* a.out executable. */ | #define SV_AOUT 0x008000 /* a.out executable. */ | ||||
#define SV_SHP 0x010000 /* Shared page. */ | #define SV_SHP 0x010000 /* Shared page. */ | ||||
#define SV_AVAIL1 0x020000 /* Unused */ | #define SV_AVAIL1 0x020000 /* Unused */ | ||||
▲ Show 20 Lines • Show All 175 Lines • Show Last 20 Lines |