2006/9/13, Mathew Schofield <mr.skoe@xxxxxxxxx>:
I'm baffled at a small hack that the X.Org and Syllable i830 (intel_extreme) drivers. I have absolutely no idea how to do this in BeOS/Haiku, other then using inline Assembly.
It depends on if you want to call the interrupt in kernel land or user land. See syllable/system/sys/kernel/kernel/virt86.c to better understand the problem.