Date: Wed, 1 Apr 2009 13:11:51 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r190621 - head/sys/compat/freebsd32 Message-ID: <200904011311.n31DBpN9032763@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Wed Apr 1 13:11:50 2009 New Revision: 190621 URL: http://svn.freebsd.org/changeset/base/190621 Log: 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 Modified: head/sys/compat/freebsd32/freebsd32.h head/sys/compat/freebsd32/syscalls.master Modified: head/sys/compat/freebsd32/freebsd32.h ============================================================================== --- head/sys/compat/freebsd32/freebsd32.h Wed Apr 1 13:09:26 2009 (r190620) +++ head/sys/compat/freebsd32/freebsd32.h Wed Apr 1 13:11:50 2009 (r190621) @@ -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_ */ Modified: head/sys/compat/freebsd32/syscalls.master ============================================================================== --- head/sys/compat/freebsd32/syscalls.master Wed Apr 1 13:09:26 2009 (r190620) +++ head/sys/compat/freebsd32/syscalls.master Wed Apr 1 13:11:50 2009 (r190621) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904011311.n31DBpN9032763>