From owner-p4-projects Sun Oct 13 21:43:40 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 55A5D37B404; Sun, 13 Oct 2002 21:43:38 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 1A92037B401; Sun, 13 Oct 2002 21:43:38 -0700 (PDT) Date: Sun, 13 Oct 2002 21:43:38 -0700 From: Juli Mallett To: "M. Warner Losh" Cc: perforce@freebsd.org Subject: Re: PERFORCE change 19235 for review Message-ID: <20021013214338.C38506@FreeBSD.org> References: <200210132233.g9DMXoBJ037852@repoman.freebsd.org> <20021013.224106.118757029.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021013.224106.118757029.imp@bsdimp.com>; from imp@bsdimp.com on Sun, Oct 13, 2002 at 10:41:06PM -0600 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: "M. Warner Losh" [ Data: 2002-10-13 ] [ Subjecte: Re: PERFORCE change 19235 for review ] > In message: <200210132233.g9DMXoBJ037852@repoman.freebsd.org> > Juli Mallett writes: > : XXXMIPS We really want to add a 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 | 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