Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Marshall G. Gates" <mggates@mindspring.com>
Subject: Re: linking problems with I/O port operations
Date: 1999/01/29	[thread overview]
Message-ID: <78tkkn$aih$1@samsara0.mindspring.com> (raw)
In-Reply-To: 36B24C42.EBB3DF77@psc.edu


Jacob Gladish wrote in message <36B24C42.EBB3DF77@psc.edu>...
>I got some code the is supposed to be able to transer MP3's up and down
>from the diamond rio. and it built fine on a linux/intel box, but when I
>try to build it on my alpha, I get undefined references to
>
>_inb(unsigned long) ...and
>_outb(unsigned char, unsigned long)
>
These two function calls map to the Intel Instruction of similar name.

_inb returns a byte read from a specified Intel I/O port
_outb writes a byte to a specified I/O port.

Since these calls are native to the Intel platform, I would suggest that you
look at rewriting the code that uses them in an alpha approved way.  I wish
I could help more

Marshall






  reply	other threads:[~1999-01-29  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-29  5:00 linking problems with I/O port operations Jacob Gladish
1999-01-29  5:00 ` Marshall G. Gates [this message]
1999-02-02  5:00   ` Jacob Gladish
1999-02-08  5:00     ` Marshall G. Gates
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