Freebsd assembly programming - IN/OUT commands.

Bruce M Simpson bms at spc.org
Sun Oct 17 14:00:54 PDT 2004


On Sun, Oct 17, 2004 at 09:46:29PM +0200, Jan Opacki wrote:
> Thanks for help. i386_set_ioperm() is exactly what i need.

I have to say though I've had processes dump core the first time I've
tried doing I/O port accesses after calling i386_set_ioperm() on 5.x
since 5.0. This behaviour is sporadic. With opening /dev/io, I have
had no problem.

Also, the /dev/io method appears to work on amd64, whereas the
i386_set_ioperm() method does not.

BMS


More information about the freebsd-hackers mailing list