From owner-freebsd-current Mon Apr 20 04:24:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA03517 for freebsd-current-outgoing; Mon, 20 Apr 1998 04:24:31 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from gjp.erols.com (alex-va-n008c243.moon.jic.com [206.156.18.253]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA03509 for ; Mon, 20 Apr 1998 11:24:27 GMT (envelope-from gjp@gjp.erols.com) Received: from gjp.erols.com (localhost.erols.com [127.0.0.1]) by gjp.erols.com (8.8.8/8.8.7) with ESMTP id HAA18109; Mon, 20 Apr 1998 07:24:09 -0400 (EDT) (envelope-from gjp@gjp.erols.com) X-Mailer: exmh version 2.0.1 12/23/97 To: "Matthew N. Dodd" cc: current@FreeBSD.ORG From: "Gary Palmer" Subject: Re: source code layout? In-reply-to: Your message of "Sun, 19 Apr 1998 22:36:38 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 20 Apr 1998 07:24:08 -0400 Message-ID: <18105.893071448@gjp.erols.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Matthew N. Dodd" wrote in message ID : > 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