From owner-freebsd-hackers Sat Dec 13 21:07:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA09561 for hackers-outgoing; Sat, 13 Dec 1997 21:07:19 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from mutara.noc.erols.net (gjp@mutara.noc.erols.net [207.172.25.12]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA09548 for ; Sat, 13 Dec 1997 21:07:09 -0800 (PST) (envelope-from gjp@mutara.noc.erols.net) Received: (from gjp@localhost) by mutara.noc.erols.net (8.8.8/8.8.7) id AAA17194; Sun, 14 Dec 1997 00:06:53 -0500 (EST) Date: Sun, 14 Dec 1997 00:06:53 -0500 (EST) Message-Id: <199712140506.AAA17194@mutara.noc.erols.net> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 References: <199712140433.XAA17136@mutara.noc.erols.net> <16085.882074445@coconut.itojun.org> From: gjp@erols.net (Gary Palmer) Subject: Re: Beginning SPARC port X-Original-Newsgroups: lists.freebsd.hackers To: itojun@itojun.org CC: hackers@FreeBSD.ORG Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In article <16085.882074445@coconut.itojun.org>, itojun@itojun.org (Jun-ichiro itojun Itoh) writes: > hardware I/O model is CPU specific. There are architectures > that do not have inb/outb instruction, and maps I/O device control > registers onto memory. I dunno how Sparc-with-PCI motherboard > access pci registers, but I'm sure there has to be bunch of changes. Right, but in that case you #define the inb/outb macros to be the appropriate load/store instructions for the processor. What I am trying to say is that while it may not be the Politically Correct(TM) solution, it is not totally i386 bound either. Being #defines, its a bit more flexible than you were making out. Gary