diff options
author | kib <kib@FreeBSD.org> | 2009-04-01 13:11:50 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2009-04-01 13:11:50 +0000 |
commit | 75320d2f76b42fc84343a9d5b98da79e99a280c3 (patch) | |
tree | 04d9b8a769b4fba85f03537f81ff969237307065 /sys/compat | |
parent | 253f7779bc4142bb2814f0f44999bc0e48e9bbe5 (diff) | |
download | FreeBSD-src-75320d2f76b42fc84343a9d5b98da79e99a280c3.zip FreeBSD-src-75320d2f76b42fc84343a9d5b98da79e99a280c3.tar.gz |
Rename implementation function for freebsd32 sysarch(2) to allow for
the arguments translations. Provide ABI-compatible definition of the
struct i386_ldt_args for freebsd32 compat layer.
In collaboration with: pho
Reviewed by: jhb
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/freebsd32/freebsd32.h | 6 | ||||
-rw-r--r-- | sys/compat/freebsd32/syscalls.master | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/sys/compat/freebsd32/freebsd32.h b/sys/compat/freebsd32/freebsd32.h index 08d6510..84e832c 100644 --- a/sys/compat/freebsd32/freebsd32.h +++ b/sys/compat/freebsd32/freebsd32.h @@ -191,4 +191,10 @@ struct thr_param32 { uint32_t spare[3]; }; +struct i386_ldt_args32 { + uint32_t start; + uint32_t descs; + uint32_t num; +}; + #endif /* !_COMPAT_FREEBSD32_FREEBSD32_H_ */ diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master index 25cb81c..4d571f2 100644 --- a/sys/compat/freebsd32/syscalls.master +++ b/sys/compat/freebsd32/syscalls.master @@ -298,7 +298,7 @@ 162 AUE_NULL OBSOL getdomainname 163 AUE_NULL OBSOL setdomainname 164 AUE_NULL OBSOL uname -165 AUE_SYSARCH NOPROTO { int sysarch(int op, char *parms); } +165 AUE_SYSARCH STD { int freebsd32_sysarch(int op, char *parms); } 166 AUE_RTPRIO NOPROTO { int rtprio(int function, pid_t pid, \ struct rtprio *rtp); } 167 AUE_NULL UNIMPL nosys |