Changeset View
Changeset View
Standalone View
Standalone View
head/sys/compat/freebsd32/freebsd32_util.h
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | #define SYSCALL32_INIT_HELPER_COMPAT(syscallname) \ | ||||
SYSCALL32_INIT_HELPER_COMPAT_F(syscallname, 0) | SYSCALL32_INIT_HELPER_COMPAT_F(syscallname, 0) | ||||
int syscall32_module_handler(struct module *mod, int what, void *arg); | int syscall32_module_handler(struct module *mod, int what, void *arg); | ||||
int syscall32_helper_register(struct syscall_helper_data *sd, int flags); | int syscall32_helper_register(struct syscall_helper_data *sd, int flags); | ||||
int syscall32_helper_unregister(struct syscall_helper_data *sd); | int syscall32_helper_unregister(struct syscall_helper_data *sd); | ||||
struct iovec32; | struct iovec32; | ||||
struct rusage32; | struct rusage32; | ||||
register_t *freebsd32_copyout_strings(struct image_params *imgp); | int freebsd32_copyout_strings(struct image_params *imgp, | ||||
register_t **stack_base); | |||||
int freebsd32_copyiniov(struct iovec32 *iovp, u_int iovcnt, | int freebsd32_copyiniov(struct iovec32 *iovp, u_int iovcnt, | ||||
struct iovec **iov, int error); | struct iovec **iov, int error); | ||||
void freebsd32_rusage_out(const struct rusage *s, struct rusage32 *s32); | void freebsd32_rusage_out(const struct rusage *s, struct rusage32 *s32); | ||||
struct image_args; | struct image_args; | ||||
int freebsd32_exec_copyin_args(struct image_args *args, const char *fname, | int freebsd32_exec_copyin_args(struct image_args *args, const char *fname, | ||||
enum uio_seg segflg, u_int32_t *argv, u_int32_t *envv); | enum uio_seg segflg, u_int32_t *argv, u_int32_t *envv); | ||||
#endif /* !_COMPAT_FREEBSD32_FREEBSD32_UTIL_H_ */ | #endif /* !_COMPAT_FREEBSD32_FREEBSD32_UTIL_H_ */ |