This is probably a pretty simple question, but I was not quite sure of the answer. In brief, can you write an interrupt routine in user space?
I have a bit of hardware (1-wire interface) that, due to a bug, must be interrupt driven; if possible I would like to have my user-space program (alone) transmit data, wait for an interrupt, then request data, interrupt, etc. All the routine would need to do is set a gobal variable or something --- it is so that I know the transfer is complete.
If it is not possible, I shall have to look into how I can do something else from kernel; if it is possible, any basic advice (or useful reading) would be appreciated.