Build of rtems-libbsd for all BSPs

Chris Johns chrisj at rtems.org
Sun Jul 12 22:59:57 UTC 2015


On 29/05/2015 1:40 am, Joel Sherrill wrote:
> 
> 
> On 5/28/2015 10:30 AM, Sujay Raj wrote:
>> On i386/pc386, adding a line :
>>
>> extern u_int64_t tsc_freq;
>>
>> to freebsd/sys/contrib/altq/altq/altq_subr.c
>>
>> gets it to build successfully. Though I wonder what its repercussions
>> would be.
> 
> Does the variable have a value? I looked at it enough to think
> that pc386/clock appeared to need to set it.
> 
> Alternatively, we could disable the x86 specific timebase
> code and use the same as other targets. I kind of lean to
> that if it is possible.
>  

I suspect this is related to 'machine/clock.h' being stubbed out in the
RTEMS tree. The variable is declared in arch specific headers and I
think these should be used if available. I have not looked into doing
this yet.

Chris


More information about the devel mailing list