[PATCH v2 3/3] i386: Port to RTEMS

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Feb 6 06:31:37 UTC 2020


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.


More information about the devel mailing list