Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6502

Maintaing some sort of object between kernel and userspace program. And synchronizing data from both userspace and kernel in that object

$
0
0

I looking for mechanism to implement shared object between kernel and userspace. Useless to say the type but it may probably be char * or char obj[array_size] or void *.

the functionality should enable both userspace program and kernel to synchronize data in the object. And also need a mechanism in kernel to alert the userspace program if data is just written to the object in kernel in non-blocking way.

I know it seems more like character device/ or block device driver function but I am working on embedded system that requires data being shared between userspace and device. I dont know much about the available userspace api for the device's read/write so this way need arises. But I am looking for something like alerting userspace application in ISR or interrupt handler.

I tried finding it on the internet. But I could not get any relevant search results

This is the result of google search. which totally not what I searchenter image description here


Viewing all articles
Browse latest Browse all 6502

Trending Articles