Hi all,
I want to send the data to kernel space and wait
till
the interrupt finishes.(PCI dma
transfer)
I could do it using a shared variable between user
and
kernel spaces. Then polling is done in the user
space
checking the shared variable.
But this is not an effective way.
I want to use wait/wakeup method for
this.
( wait in the user space and wake up the
user
space process in the interrupt
routine).
It is possible to sychronize the kernel/user
spaces
in this way?
Can anyone help me with this?
Thanx in advance.
Sumudu
|