Adding device drivers to RTEMS

Chris Johns chrisj at rtems.org
Fri Jun 29 04:35:38 UTC 2007


hwulf at et-inf.fho-emden.de wrote:
> Thank you very much!
> 
> By the way, is there a support for virtual memory in RTEMS?
> 

No not like you get with Unix or Windows. MMU type hardware is used on some 
processors to handle specific mixes of cached and non-cached address spaces. 
You need to refer to the specific BSP for details.

Virtual memory is not deterministic.

> Kind regards,
>  Hank
> 
> Quoting Chris Johns <chrisj at rtems.org>:
> 
>> hwulf at et-inf.fho-emden.de wrote:
>>>
>>> I try to understand the RTEMS IO manager interface.
>>> Am I right that the rtems_device_major_number is the
>>> index of the rtems_driver_address_table Device_drivers[]
>>> to the appropriate driver functions?
>>>
>>
>> Yes. See cpukit/sapi/src/io.c:_IO_Initialize_all_drivers and
>> cpukit/sapi/src/ioinitialize.c.
>>
>>> So if I have the following Device_drivers[] array,
>>> I could assume '1' for the major number of the
>>> sound driver?
>>
>> Yes.
>>
>>>
>>>  rtems_driver_address_table Device_drivers[] = {
>>>          CONSOLE_DRIVER_TABLE_ENTRY,
>>>          SOUND_DRIVER_TABLE_ENTRY,
>>>          { NULL, NULL, NULL, NULL, NULL, NULL }
>>>  };
>>>
>>>
>>> Kind regards,
>>>  Hank
>>>
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.com
>>> http://rtems.rtems.org/mailman/listinfo/rtems-users
> 
> 



More information about the users mailing list