20.04 on mac M1
Colin Watson
cjwatson at ubuntu.com
Wed Oct 13 20:25:11 UTC 2021
On Wed, Oct 13, 2021 at 04:17:20PM -0400, Jerry Geis wrote:
> Thanks Colin - Sounds like I may have to tweak this 25 year old program.
Yeah, I suspect so.
On x86, <sys/io.h> provides the following functions:
ioperm
iopl
inb
inp_p
inw
inw_p
inl
inl_p
outb
outb_p
outw
outw_p
outl
outl_p
insb
insw
insl
outsb
outsw
outsl
So you can look for those and see what the program is doing. If it's
really doing direct I/O to hardware ports, then you'll have quite a bit
of work ahead of you to figure out how to port it to a different
architecture. But maybe you'll be lucky and it's just a spurious
#include.
--
Colin Watson (he/him) [cjwatson at ubuntu.com]
More information about the ubuntu-users
mailing list