Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2002 15:57:16 +0100
From:      Julien Mabillard <jmab@gve.ch>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: sio i/o
Message-ID:  <20021107145716.GA28974@euclyde.cwglobal.ch>
In-Reply-To: <XFMail.20021107093329.jhb@FreeBSD.org>
References:  <20021107123348.GA28123@euclyde.cwglobal.ch> <XFMail.20021107093329.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
great, thanks :-)

On Thu, Nov 07, 2002 at 09:33:29AM -0500, John Baldwin wrote:
> 
> On 07-Nov-2002 Julien Mabillard wrote:
> > hi,
> > can anyone tell me where inb(), outb() are defined
> > in the sources (FreeBSD RELENG_4_7 or CURRENT)?
> > on linux systems this is defined in <sys/io.h>
> 
> For FreeBSD should be using bus_space_read_1() and bus_space_write_1()
> instead.  However, you can find inb() and outb() in
> <machine/cpufunc.h> on i386 and compatibility macros for some other
> arch's in <machine/bus.h>
> 
> -- 
> 
> John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message

-- 
--------------------------------------------------------------------
Key fingerprint = D34A 577C 869B 28A2 3886  4298 50CB DC18 31A4 ACAD
--------------------------------------------------------------------
email: jmab@gve.ch

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




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