svn commit: r206392 - user/jmallett/octeon/sys/mips/mips
Nathan Whitehorn
nwhitehorn at freebsd.org
Thu Apr 8 15:14:01 UTC 2010
On 04/08/10 01:48, Juli Mallett wrote:
> Author: jmallett
> Date: Thu Apr 8 06:48:20 2010
> New Revision: 206392
> URL: http://svn.freebsd.org/changeset/base/206392
>
> Log:
> Hide quad syscall calling convention behind __mips_o32.
>
> Modified:
> user/jmallett/octeon/sys/mips/mips/vm_machdep.c
>
> Modified: user/jmallett/octeon/sys/mips/mips/vm_machdep.c
> ==============================================================================
> --- user/jmallett/octeon/sys/mips/mips/vm_machdep.c Thu Apr 8 06:42:19 2010 (r206391)
> +++ user/jmallett/octeon/sys/mips/mips/vm_machdep.c Thu Apr 8 06:48:20 2010 (r206392)
> @@ -265,19 +265,29 @@ cpu_set_syscall_retval(struct thread *td
> {
> struct trapframe *locr0 = td->td_frame;
> unsigned int code;
> +#if defined(__mips_o32)
> int quad_syscall;
> +#endif
>
What about 32-bit O32 compatibility? For PPC64, I wrapped this kind of
code in if (p->p_sysent->sv_flags & SV_ILP32).
-Nathan
More information about the svn-src-user
mailing list