i386_get_ioperm() and i386_set_ioperm()

These were removed from sysarch.h between OpenBSD 5.9 to 6.0?

I believe this code (port.h):
https://github.com/lcdproc/lcdproc/blob/master/server/drivers/port.h

On OpenBSD 5.9, it uses the code branch for 'NetBSD/OpenBSD'
lines 174 to 270
based on having types, pio.h, and sysarch.h, and having i386_xxx_ioperm

But then with OpenBSD 6.0, it drops to using the 'Everything else' assembly
lines 338 to 388
which fails miserably, because there is no "/dev/io"


Is there a work around for the removal of i386_get_ioperm()
Can i386_iopl() be used in some way?

Thanks

Reply via email to