From owner-freebsd-hackers Thu May 6 1:29: 1 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 43E0114F9E for ; Thu, 6 May 1999 01:28:58 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id JAA35290; Thu, 6 May 1999 09:28:59 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Thu, 6 May 1999 09:28:59 +0100 (BST) From: Doug Rabson To: CyberPsychotic Cc: Julian Elischer , freebsd-hackers@FreeBSD.ORG, tech@openbsd.org Subject: Re: io ports reading/writing In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 6 May 1999, CyberPsychotic wrote: > ~ > I think you just open /dev/io and use inb/outb. Be warned that this will > ~ > only work on i386 - the alpha uses a library, libio, to emulate inb/outb > ~ > in user programs. > ~ > ~ Also beware the arguments are in the oposite order to linux in outb() > ~ > > oops.. I actually wasn't able to find inb/outb routines in standard-linked > library at all. Should I link any external routines? (as for now I just made > them of my own, using inline asm directives). There are inline macros in -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message