Does anybody know how or if it's possible to turn off interrupts for a
couple of instructions from a user space app? There's a whole HOWTO
describing how to do IO-Port Programming. I have some indexed registers
that I need to deal with and they require two IO instructions to set the
index and then read/write the data register. I can accomplish this from a
user space app (running as root) via the techniques described in the
IO-Port-Programming mini HOWTO, but I'd like to intlock around the two IO
instructions to protect the index register from being changed by another app
or driver.
--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.