Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Philip Blundell <phil-lists@tazenda.demon.co.uk>
To: axp-list@redhat.com
Subject: Re: Newbie to port-IO programming on Alpha
Date: Tue, 16 Mar 1999 18:07:41 +0000	[thread overview]
Message-ID: <E10MyFh-00005k-00@kings-cross.london.uk.eu.org> (raw)
In-Reply-To: Your message of "Mon, 15 Mar 1999 09:18:27 PST." <Pine.LNX.4.05.9903150855120.15396-100000@earth.terran.org>

>I've looked, before and after receiving your email.  I could not find them
>anywhere in glibc.  When I compile a one-line program that includes
><sys/io.h> and returns inb, nm shows the symbol unresolved (though the
>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(?)

No.  On the Alpha ioperm() is a magic function which remaps an area of I/O 
space into the visible area for the calling process.  Functions like inb and 
outb then operate on this remapped area.  They aren't actually inlined for 
user programs the way they can be in the kernel.

Take a look at sysdeps/unix/sysv/linux/alpha/ioperm.c in the glibc source 
code.

p.





  parent reply	other threads:[~1999-03-16 18:19 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
1999-03-16 17:25             ` B. James Phillippe
1999-03-16 18:07           ` Philip Blundell [this message]
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