On Thu, 7 Nov 2002, 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> > it depends if he wants to do it in or out of the kernel.. He doesn't specify.. :-/ > -- > > John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message