synchronization between kernel space and user space
thank u first of all...
i would like to explain my problem in detail. i have written a device driver for com1 port of a pc in 2.6.18 version of kernel. my application program is in user space. when i am communicating between two PCs over com1 ports, while receving data my application program should wait till driver reports that it has received some data. for this synchronisation, i wanted to create a fifo in kernel space and i wanted to read the same fifo in user space continously. i hope that i am clear. my problem is to how to create a fifo in kernel space and how to access the same fifo in user space.
|