Date: Thu, 19 Nov 2009 19:51:18 +1100 (EST) From: Bruce Evans <brde@optusnet.com.au> To: Nathan Whitehorn <nwhitehorn@freebsd.org> Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r199501 - projects/ppc64/sys/compat/freebsd32 Message-ID: <20091119194149.L12648@delplex.bde.org> In-Reply-To: <200911190120.nAJ1KGBA089661@svn.freebsd.org> References: <200911190120.nAJ1KGBA089661@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Nov 2009, Nathan Whitehorn wrote: > Log: > Unhackify changes to support big-endian systems and systems that require > 64-bit types aligned at 32-bit boundaries in their 32-bit ABIs. There are > no longer manual changes to auto-generated files. > ... > Modified: projects/ppc64/sys/compat/freebsd32/freebsd32_misc.c > ============================================================================== > --- projects/ppc64/sys/compat/freebsd32/freebsd32_misc.c Thu Nov 19 01:04:31 2009 (r199500) > +++ projects/ppc64/sys/compat/freebsd32/freebsd32_misc.c Thu Nov 19 01:20:16 2009 (r199501) > ... > @@ -2008,7 +2013,7 @@ freebsd32_lseek(struct thread *td, struc > off_t pos; > > ap.fd = uap->fd; > - ap.offset = (uap->offsetlo | ((off_t)uap->offsethi << 32)); > + ap.offset = PAIR32TO64(off_t,uap->offset); > ap.whence = uap->whence; > error = lseek(td, &ap); > /* Expand the quad return into two parts for eax and edx */ Code to implement eax and edx on arches that don't have them seems to be missing :-). > Modified: projects/ppc64/sys/compat/freebsd32/freebsd32_proto.h > ============================================================================== > --- projects/ppc64/sys/compat/freebsd32/freebsd32_proto.h Thu Nov 19 01:04:31 2009 (r199500) > +++ projects/ppc64/sys/compat/freebsd32/freebsd32_proto.h Thu Nov 19 01:20:16 2009 (r199501) > @@ -3,7 +3,7 @@ > * > * DO NOT EDIT-- this file is automatically generated. > * $FreeBSD$ > - * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 198508 2009-10-27 10:55:34Z kib > + * created from FreeBSD: projects/ppc64/sys/compat/freebsd32/syscalls.master 199485 2009-11-18 15:48:51Z nwhitehorn > */ This seems to have been generated from syscalls.master 199501, not the claimed rev. Similarly for all other generated files. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091119194149.L12648>