Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 1998 07:24:08 -0400
From:      "Gary Palmer" <gpalmer@FreeBSD.ORG>
To:        "Matthew N. Dodd" <winter@jurai.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: source code layout? 
Message-ID:  <18105.893071448@gjp.erols.com>
In-Reply-To: Your message of "Sun, 19 Apr 1998 22:36:38 EDT." <Pine.BSF.3.96.980419222929.523w-100000@sasami.jurai.net> 

next in thread | previous in thread | raw e-mail | index | archive | help

"Matthew N. Dodd" wrote in message ID
<Pine.BSF.3.96.980419222929.523w-100000@sasami.jurai.net>:
> AFAIK anywhere you see inb/outb/inw/outw you're fairly certain to be i386
> specific.  (This from listening to the netbsd lits.)

Or, as I commented to you a while back (if I remember right) you just
put in the right mapping for the in/out class of instructions instead
of whatever grossness the ix86 has. e.g. on the ARM, everything is
memory mapped, and doesn't need special classes of instructions to
handle I/O, so just have it ldrb/strb/ldr/str (in the same order of the
quoted list of macros above) and it will DTRT

I guess what I'm saying is that yes, its not totally MI, but its probably
not as bad as being totally MS (machine specific), either.

Gary
--
Gary Palmer                                          FreeBSD Core Team Member
FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18105.893071448>