From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199606161428.PAA00621@dax.dcs.ed.ac.uk> Date: Mon, 17 Jun 1996 09:55:31 -0400 (EDT) From: Erik Troan Subject: Re: ioperm() and iopl() 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 |