----- Am 22. Jan 2024 um 17:52 schrieb Gedare Bloom ged...@rtems.org: > On Tue, Jan 16, 2024 at 8:44 AM Sebastian Huber > <sebastian.hu...@embedded-brains.de> wrote: >> >> Switch back to the idle thread if no watchdogs are active. In some tests, >> the >> idle thread may do some non-blocking work. >> --- >> bsps/shared/dev/clock/clockimpl.h | 16 ++++++++++++++++ >> 1 file changed, 16 insertions(+) >> >> diff --git a/bsps/shared/dev/clock/clockimpl.h >> b/bsps/shared/dev/clock/clockimpl.h >> index e922c0b320..ec56e175f5 100644 >> --- a/bsps/shared/dev/clock/clockimpl.h >> +++ b/bsps/shared/dev/clock/clockimpl.h >> @@ -139,6 +139,21 @@ volatile uint32_t Clock_driver_ticks; >> #error "Clock_driver_support_shutdown_hardware() is no longer supported" >> #endif >> >> +#if CLOCK_DRIVER_USE_FAST_IDLE >> +static bool Clock_Has_watchdogs(const Per_CPU_Control *cpu) >> +{ > > nit: if this cannot be overridden by BSPs and is purely internal to > this header file implementation, it should not use "Clock_"
Ok, I change it to _Clock_Has_watchdogs(). -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@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/ _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel