Date: Thu, 08 Apr 2010 09:13:57 -0500 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: Juli Mallett <jmallett@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: Re: svn commit: r206392 - user/jmallett/octeon/sys/mips/mips Message-ID: <4BBDE4A5.8090604@freebsd.org> In-Reply-To: <201004080648.o386mKnr042060@svn.freebsd.org> References: <201004080648.o386mKnr042060@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BBDE4A5.8090604>