From owner-freebsd-hackers Thu Nov 7 10:40:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C42037B404; Thu, 7 Nov 2002 10:40:20 -0800 (PST) Received: from InterJet.elischer.org (12-232-206-8.client.attbi.com [12.232.206.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EB4843E6E; Thu, 7 Nov 2002 10:40:20 -0800 (PST) (envelope-from julian@elischer.org) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA05902; Thu, 7 Nov 2002 10:23:16 -0800 (PST) Date: Thu, 7 Nov 2002 10:23:16 -0800 (PST) From: Julian Elischer To: John Baldwin Cc: Julien Mabillard , freebsd-hackers@FreeBSD.ORG Subject: RE: sio i/o In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 > > For FreeBSD should be using bus_space_read_1() and bus_space_write_1() > instead. However, you can find inb() and outb() in > on i386 and compatibility macros for some other > arch's in > it depends if he wants to do it in or out of the kernel.. He doesn't specify.. :-/ > -- > > John Baldwin <>< 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message