From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 22666 invoked from network); 16 Mar 1999 18:19:47 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 16 Mar 1999 18:19:47 -0000 Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA30008 for ; Tue, 16 Mar 1999 13:10:08 -0500 Received: from [158.152.220.239] (helo=kings-cross.london.uk.eu.org) by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1) id 10MyHv-00026S-0A for axp-list@redhat.com; Tue, 16 Mar 1999 18:10:01 +0000 Received: from [::ffff:127.0.0.1] (helo=kings-cross.london.uk.eu.org ident=phil) by kings-cross.london.uk.eu.org with esmtp (Exim 2.05 #1) id 10MyFh-00005k-00 for axp-list@redhat.com; Tue, 16 Mar 1999 18:07:41 +0000 X-Mailer: exmh version 2.0.2 2/24/98 (debian) To: axp-list@redhat.com Subject: Re: Newbie to port-IO programming on Alpha In-reply-to: Your message of "Mon, 15 Mar 1999 09:18:27 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Philip Blundell Date: Tue, 16 Mar 1999 18:07:41 +0000 Sender: phil@kings-cross.london.uk.eu.org Message-Id: >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 > and returns inb, nm shows the symbol unresolved (though the >program compiles and executes normally). All that I can see in >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.