Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 1999 09:23:45 +0500 (GMT)
From:      CyberPsychotic <fygrave@tigerteam.net>
To:        Julian Elischer <julian@whistle.com>
Cc:        Doug Rabson <dfr@nlsystems.com>, freebsd-hackers@FreeBSD.ORG, tech@openbsd.org
Subject:   Re: io ports reading/writing
Message-ID:  <Pine.GSO.4.05.9905060918170.632-100000@kyrnet.kg>
In-Reply-To: <Pine.BSF.3.95.990505115355.10507C-100000@current1.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
~ > 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).



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?Pine.GSO.4.05.9905060918170.632-100000>