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 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel