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

孙世龙 sunshilong369 at gmail.com
Tue Apr 7 13:16:10 CEST 2020


Thanks, I'll check it out.

Pierre FICHEUX <pierre.ficheux at smile.fr> 于2020年4月7日周二 下午6:34写道:

> Hi,
>
> I wrote some RTDM examples for Pi 3 GPIO (based on BCM register access,
> not GPIO kernel API).
>
> May be it could help...
>
> regards
>
> Le lun. 6 avr. 2020 à 09:45, Jan Kiszka via Xenomai <xenomai at xenomai.org>
> a écrit :
>
>> 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
>>
>>
>
> --
>
> Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.ficheux at smile.fr
>                              http://www.smile.fr
>                              https://smile.eu/fr/offres/embarque-iot
> I would love to change the world, but they won't give me the source code
>
>


More information about the Xenomai mailing list