On Thu, 7 Sep 2006, Karel Kulhavy wrote: > How can I perform OUT and IN on OpenBSD? I have some Linux program > that patches BIOS on my notebook so the proper 1400x1050 resolution > can be used, and it uses iopl and outl which don't seem to exist in > OBSD (man outl, man iopl). > > I wonder if I could replace these calls by something else.
Have a look at: http://www.mindrot.org/files/no-1802.c You will need to run it at securelevel == 0 -d