From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To: RedHat AXP list <axp-list@redhat.com>
Subject: Re: Newbie to port-IO programming on Alpha
Date: Tue, 16 Mar 1999 14:21:02 +0100 (MET) [thread overview]
Message-ID: <Pine.GSO.3.96.990316140841.18479B-100000@delta.ds2.pg.gda.pl> (raw)
In-Reply-To: <Pine.LNX.4.05.9903150855120.15396-100000@earth.terran.org>
On Mon, 15 Mar 1999, B. James Phillippe wrote:
> program compiles and executes normally). All that I can see in <sys/io.h>
> is that ioperm and iopl are declared as extern. This doesn't even make
> sense for Alpha, so I assume if those functions are defined in the glibc
> that they're noops geared only to aid in porting(?)
Ioperm() and iopl() use mprotect() to permit or deny access to I/O port
ranges. These functions as well as libc's _in[bwl]() and _out[bwl]()
make use of /dev/mem mmap()ed in a way depending on contents read from
/proc/cpuinfo or /etc/alpha_systype (in this order of preference).
From applications' point of view all these functions perform in exactly
the same way as their ia32 counterparts which make use of CPU features.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
next prev parent reply other threads:[~1999-03-16 13:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-14 3:36 Newbie to port-IO programming on Alpha Brendan Miller
1999-03-14 9:15 ` B. James Phillippe
1999-03-14 12:50 ` Martin Ostermann
1999-03-14 22:42 ` B. James Phillippe
1999-03-15 5:11 ` QuickCam supported on Alpha? (was: Newbie to port-IO programming on Alpha) Brendan Miller
1999-03-15 13:44 ` Christopher C Chimelis
1999-03-16 18:07 ` Philip Blundell
[not found] ` <E10MfXZ-0008AV-00@kings-cross.london.uk.eu.org>
1999-03-29 6:37 ` Brendan Miller
[not found] ` <E10RZUl-0007TN-00@fountain.nexus.co.uk>
1999-03-29 16:50 ` Brendan Miller
1999-03-29 17:10 ` Phil Blundell
1999-03-30 3:11 ` Brendan Miller
1999-03-30 8:58 ` Phil Blundell
1999-04-06 5:19 ` QuickCam supported on Alpha?2 Brendan Miller
1999-04-06 9:03 ` Phil Blundell
1999-03-15 9:35 ` Newbie to port-IO programming on Alpha Martin Ostermann
1999-03-15 17:18 ` B. James Phillippe
1999-03-16 13:21 ` Maciej W. Rozycki [this message]
1999-03-16 17:25 ` B. James Phillippe
1999-03-16 18:07 ` Philip Blundell
1999-03-14 9:53 ` Bart Warmerdam
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox