Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Erik Troan <ewt@redhat.com>
Subject: Re: ioperm() and iopl()
Date: Mon, 17 Jun 1996 09:55:31 -0400 (EDT)	[thread overview]
Message-ID: <dee88acbc79e912fda2c47b21ff58703.axp-list@archive.invalid> (raw)
In-Reply-To: <199606171123.NAA11549@fozzy.comnets.rwth-aachen.de>

On Mon, 17 Jun 1996, Martin Ostermann wrote:

> Ioperm() and iopl() seem to be sytem calls on any Linux platform,
> except for Alpha. What's the reason for this?

There isn't an IO bus on the Alpha - it's all done through memory mappings.

> When I use iopl() in an app, I'll get an runtime error, somewhat like
> "Couldn't determine system type -- Maybe /etc/alpha_io_system symlink
> is missing". Well, it is missing, but where is it supposed to point
> to? I don't have libc sources hanging around to look it up, so it
> would be neat if somebody could help me.

That's broken. By default, it looks in /proc/cpuinfo. What does yours
say?

Erik

-------------------------------------------------------------------------------
   Always hoped that I'd be an apostle. Knew that I would make it if I tried.
     Then when we retire we can write the gospels so they'll all talk about
         us when we die. - "The Last Supper" from Jesus Christ Superstar
|   Erik Troan   =   http://sunsite.unc.edu/ewt/   =   ewt@sunsite.unc.edu    |

  reply	other threads:[~1996-06-17 13:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-17 11:23 ioperm() and iopl() Martin Ostermann
1996-06-17 13:55 ` Erik Troan [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-06-17 16:39 David Mosberger-Tang
1996-06-18 12:24 Martin Ostermann
1996-06-18 15:20 David Mosberger-Tang
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