[PATCH 08/12] kern_tc.c: Add definition of tc_getfrequency in kern_tc
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Apr 7 08:45:06 UTC 2022
On 07/04/2022 10:36, Gabriel Moyano wrote:
> ---
> cpukit/score/src/kern_tc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
> index a8ba268ea3..dd718b3bab 100644
> --- a/cpukit/score/src/kern_tc.c
> +++ b/cpukit/score/src/kern_tc.c
> @@ -1506,7 +1506,6 @@ unlock:
> #endif /* __rtems__ */
> }
>
> -#ifndef __rtems__
> /* Report the frequency of the current timecounter. */
> uint64_t
> tc_getfrequency(void)
> @@ -1515,6 +1514,7 @@ tc_getfrequency(void)
> return (timehands->th_counter->tc_frequency);
> }
>
> +#ifndef __rtems__
> static bool
> sleeping_on_old_rtc(struct thread *td)
> {
Please add this new global function to <rtems/score/timecounter.h>.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list