Sharing Memory between driver space and user space
Hi,
The sys V functions, shmget(), shmatt(), and shmdet() allow memory to be shared between one or more applications in userspace. The memory may be efficiently accessed in each user application by dereferencing pointers. Will this work between driver code and userspace? If not, is there another method whereby memory can be shared between a device driver, and user code using pointers? I am writing a display driver, and want to share the pixel image between user code and the display driver. The user code will simply update the pixel image by dereferencing a pointer, and the driver will be responsible for keeping the display up to date. Thanks for any information, Ian Davidson |
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
|
All times are GMT -5. The time now is 11:45 PM. |