From owner-cvs-sys Fri Dec 6 21:26:33 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA04442 for cvs-sys-outgoing; Fri, 6 Dec 1996 21:26:33 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id VAA04434; Fri, 6 Dec 1996 21:26:25 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.6/8.6.5) with SMTP id VAA01018; Fri, 6 Dec 1996 21:25:52 -0800 (PST) Message-Id: <199612070525.VAA01018@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Peter Wemm cc: dyson@freebsd.org, bde@zeta.org.au (Bruce Evans), cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, dyson@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/include endian.h In-reply-to: Your message of "Sat, 07 Dec 1996 13:11:47 +0800." <199612070511.NAA27272@spinner.DIALix.COM> From: David Greenman Reply-To: dg@root.com Date: Fri, 06 Dec 1996 21:25:52 -0800 Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >"John S. Dyson" wrote: >> > >> > Most of the kernel doesn't pick up the CPU options. >> > >> Why not? That seems to be unwise, shouldn't anything with any >> cpu specific inlines also pick-up the CPU options? Anything >> that uses endian.h (or cpufunc.h) are perfect examples of where >> there might be some value in that. >> >> John > >Perhaps we should seriously consider using 'cc -include opt_global.h' and >moving things like Ix86_CPU etc into there? It has the benefits of having >every file know about the settings, but without having to modify every file. I'd rather see a #include added to cpufunc.h, which is included by systm.h, which is included by everything (?) in the kernel. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project