Hi
I've implemented a ringbuffer which will buffer strings between a
pipe-read-task=>[buffer]=>rtdm-rtserial-writetask

The buffer has been implemented in userland and it works.
But in kernelspace (everything in a loaded in a kernel-module) things
doesn't work. It's the put(token) which doesn't work.
The function is put(char* c){ ... }

I've heard that there's an address difference. But how do I handle that?

http://www.xenomai.org/documentation/trunk/html/api/group__util.html#g9ce418051ccb7dd2366128efb8674262
is rtdm_strncpy_from_user() something I should use?

exactlly what is: rtdm_user_info_t *  else than a pointer?
Where do I declare it? There's no clickable link in the api for that that type..

The description sais: "User information pointer as passed to the
invoked device operation handler"
...

/B

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to