From owner-freebsd-hackers Thu Nov 7 7: 6: 1 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 30FC737B401; Thu, 7 Nov 2002 07:06:00 -0800 (PST) Received: from phoenix.infradead.org (carisma.slowglass.com [195.224.96.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6085B43E42; Thu, 7 Nov 2002 07:05:55 -0800 (PST) (envelope-from hch@infradead.org) Received: from hch by phoenix.infradead.org with local (Exim 4.10) id 189oE2-0007bN-00; Thu, 07 Nov 2002 15:05:42 +0000 Date: Thu, 7 Nov 2002 15:05:42 +0000 From: Christoph Hellwig To: John Baldwin Cc: Julien Mabillard , freebsd-hackers@FreeBSD.ORG Subject: Re: sio i/o Message-ID: <20021107150542.A28917@infradead.org> References: <20021107123348.GA28123@euclyde.cwglobal.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@FreeBSD.org on Thu, Nov 07, 2002 at 09:33:29AM -0500 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, 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 > > 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 Umm, ispurely a userland header on linux, so he's probably referring to the userland versions of those that are provided by the linux ports with PC-like hardware.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message