Date: Wed, 19 Dec 2001 01:30:43 -0700 From: Warner Losh <imp@harmony.village.org> To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de> Cc: arch@freebsd.org Subject: Re: cvs commit: src/sys/isa fd.c Message-ID: <200112190830.fBJ8UhM25504@harmony.village.org> In-Reply-To: Your message of "Wed, 19 Dec 2001 09:02:56 %2B0100." <20011219090256.E97821@uriah.heep.sax.de> References: <20011219090256.E97821@uriah.heep.sax.de> <XFMail.011218143607.jhb@FreeBSD.org> <200112182253.fBIMrdM92149@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20011219090256.E97821@uriah.heep.sax.de> Joerg Wunsch writes: : As Warner Losh wrote: : : > __i386__ is defined on both FreeBSD/i386 and FreeBSD/pc98. There's no : > unique symbole for FreeBSD/i386, so that should be : > : > #if defined(__i386__) && !defined(PC98) : : But that wouldn't exclude any further (hypothetical) architecture : using an IA32-class CPU. I still think we should make our _MACHINE : and MACHINE macros that are defined in <machine/param.h> work well : enough for cpp conditionals. I don't think we can fix them. There's no pc98/include/param.h. There's no pc98/include at all, but instead it uses the i386 ones. But we could add the right goo there. I don't think there will be another IA32 port ever. However, we could define something like PCAT for FreeBSD/i386. But that also is unsatisfying. I don't think that we can do the enumeration of all possible architectures well enough to make things work like you'd like. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112190830.fBJ8UhM25504>