simple example for rtdm
Hi
I've written a little exemple for rtdm. It uses open, close, read, write ioctl and 3 kind of buffer (local, device, global). This is an alpha release, so I'll be pleased to get some feedback.
you can find it here :
http://zarb.org/~trem/tut03-skeleton-drv.c
http://zarb.org/~trem/tut03-skeleton-app.c
http://zarb.org/~trem/Makefile
regards,
trem
Quoted 10 lines · trem
Hi
I've written a little exemple for rtdm. It uses open, close, read, write ioctl and 3 kind of buffer (local, device, global). This is an alpha release, so I'll be pleased to get some feedback.
you can find it here :
http://zarb.org/~trem/tut03-skeleton-drv.c
http://zarb.org/~trem/tut03-skeleton-app.c
http://zarb.org/~trem/Makefile
Thanks once again for your effort. I'm sorry that I cannot go into details soon, so just a minor comment from the first glance: please fix the coding style to kernel style.
Jan
PS: Didn't you also once post a patch for the existing tut02? That's probably still hanging around in no-man's land, right?
Quoted 7 lines · Jan Kiszka
Quoted 6 lines · trem
Hi
I've written a little exemple for rtdm. It uses open, close, read, write ioctl and 3 kind of buffer (local, device, global). This is an alpha release, so I'll be pleased to get some feedback.
Quoted 8 lines
Quoted 4 lines
you can find it here :
http://zarb.org/~trem/tut03-skeleton-drv.c
http://zarb.org/~trem/tut03-skeleton-app.c
http://zarb.org/~trem/MakefileThanks once again for your effort. I'm sorry that I cannot go into details soon, so just a minor comment from the first glance: please fix the coding style to kernel style.
I've updated the coding style. It should be better now.
Quoted 4 lines
Jan
PS: Didn't you also once post a patch for the existing tut02? That's probably still hanging around in no-man's land, right?
I've done a patch for tut01, but not for tut02. We have say that we write a complete tut and after we split it.