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
This commit is contained in:
Konstantin Belousov 2009-04-01 13:11:50 +00:00
parent 2c66cccab7
commit 088b38ac84
2 changed files with 7 additions and 1 deletions

View File

@ -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_ */

View File

@ -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