Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 1997 00:06:53 -0500 (EST)
From:      gjp@erols.net (Gary Palmer)
To:        itojun@itojun.org
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Beginning SPARC port
Message-ID:  <199712140506.AAA17194@mutara.noc.erols.net>
References:  <199712140433.XAA17136@mutara.noc.erols.net> <16085.882074445@coconut.itojun.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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