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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to