On 05/02/2020 16:56, Jan Sommer wrote:

diff --git a/rtemsbsd/include/machine/clock.h b/rtemsbsd/include/machine/clock.h
index 936ffd88..415e2b55 100644
--- a/rtemsbsd/include/machine/clock.h
+++ b/rtemsbsd/include/machine/clock.h
@@ -1 +1,2 @@
-/* EMPTY */
+extern int tsc_is_invariant;
+extern uint64_t tsc_freq;
This file is used on all architectures. I am not sure if it is good to have this architectures-specific stuff here. You can provided an architecture-specific <machine/clock.h>. The include path order makes sure that it is found before the generic one.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to