Date: Sun, 13 Oct 2002 21:43:38 -0700 From: Juli Mallett <jmallett@FreeBSD.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: perforce@freebsd.org Subject: Re: PERFORCE change 19235 for review Message-ID: <20021013214338.C38506@FreeBSD.org> In-Reply-To: <20021013.224106.118757029.imp@bsdimp.com>; from imp@bsdimp.com on Sun, Oct 13, 2002 at 10:41:06PM -0600 References: <200210132233.g9DMXoBJ037852@repoman.freebsd.org> <20021013.224106.118757029.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* De: "M. Warner Losh" <imp@bsdimp.com> [ Data: 2002-10-13 ] [ Subjecte: Re: PERFORCE change 19235 for review ] > In message: <200210132233.g9DMXoBJ037852@repoman.freebsd.org> > Juli Mallett <jmallett@freebsd.org> writes: > : XXXMIPS We really want to add a <platform> directory or such, > : and add platform description (e.g. endianness, CPU support > : level, etc.) stuff into a configuration file there that files > : like this can use to pull in definitions such as _BYTE_ORDER. > > NetBSD has done a good job at this. We should likely be careful to > have a sys/sgimips and a sys/cpu/mips. The former should be > sys/arch/mips, but we don't have arch/ in FreeBSD. We're going to > have to be very careful about what we put in a generic 'mips' > directory and what we put in a port specific directory (since for mips > we're going to have to have multiple such directories, since it is > kinda hard to support both endians with the same port). Locally I've been using sys/mips/{sgi,}mips/*.c and sys/mips/sgimips/*.h and then conditionalising on the definition of SGI... -- Juli Mallett <jmallett@FreeBSD.org> | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org http://people.FreeBSD.org/~jmallett/ | Support my FreeBSD hacking! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021013214338.C38506>