Console driver that needs extra TIMER

Joel Sherrill joel.sherrill at oarcorp.com
Thu Aug 14 14:25:26 UTC 2014


On 8/14/2014 9:21 AM, Sebastian Huber wrote:
> On 14/08/14 16:15, Joel Sherrill wrote:
>>> E.g. most of the tests won't even start without modifications. So
>>>> effectively I have to fall back to a polling driver for console if I
>>>> want to run the tests unmodified, or is there any mechanism to generally
>>>> increment the amount of timers for all tests?
>> I don't think so. There are some BSP hooks for various features and
>> default number
>> of termios ports. But nothing specific to an object.
>>
>> I suppose one could be added but for orthogonality, it would make me wonder
>> why we wouldn't also let you add a BSP factor on every Classic API object.
>> Just thinking out load.
> Its not only a BSP factor.  It is also a per driver factor.  Since the console 
> and clock drivers are optional if you make it only BSP specific, then you have 
> to overestimate.
>
That has been the problem with the number of termios ports. When set
above 1 needed for
the tests, it tends to cover up resource under allocation issues.

If the "needs driver" is not defined, the constant could be undef'ed and
redef'ed to 0.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985




More information about the devel mailing list