Is anybody can show me a simple rtdm driver to read/write virtual memory device?

Jan Kiszka jan.kiszka at siemens.com
Mon Apr 6 09:45:00 CEST 2020


On 06.04.20 09:22, 孙世龙 via Xenomai wrote:
> Is anybody could show me a simple xenomai3 rtdm driver to read/write
> virtual memory device?
> A virtual memory device to:
>      write "hello world" to memory device in real real time(It's appricate
> if the write operation could wake up the read task which allready waited to
> read)
> read  the memory device in real time(It's appricate if the read operation
> could wake up the write task which allready waited to write)
> 

What do you mean with "virtual memory"?

If you are looking for a pattern how a driver implements read/write 
callbacks, maybe study the serial drivers. They come closest to "simple".

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux



More information about the Xenomai mailing list