diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-09-14 16:08:53 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-10-20 11:16:54 +0200 |
commit | b6dc4b47077803cde93648016d15ce3992573d03 (patch) | |
tree | 425c75b086ca6c211490c7a73b0c96746dba91d5 /bsps/sparc/leon3/start | |
parent | bsps/leon3: Optional IRQ(A)MP timestamp support (diff) | |
download | rtems-b6dc4b47077803cde93648016d15ce3992573d03.tar.bz2 |
sparc: Move CPU counter implementation
Enable a BSP-specific CPU counter implementation.
Update #4954.
Diffstat (limited to 'bsps/sparc/leon3/start')
-rw-r--r-- | bsps/sparc/leon3/start/cpucounter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/sparc/leon3/start/cpucounter.c b/bsps/sparc/leon3/start/cpucounter.c index c36e7ea23b..a6db7677a3 100644 --- a/bsps/sparc/leon3/start/cpucounter.c +++ b/bsps/sparc/leon3/start/cpucounter.c @@ -38,7 +38,7 @@ #include <rtems/counter.h> #include <rtems/sysinit.h> -#include <rtems/score/sparcimpl.h> +#include <bsp/sparc-counter.h> static uint32_t leon3_counter_frequency = 1000000000; @@ -112,7 +112,7 @@ static void leon3_counter_initialize(void) #endif SPARC_Counter *counter; - counter = &_SPARC_Counter_mutable; + counter = &_SPARC_Counter; #if defined(LEON3_HAS_ASR_22_23_UP_COUNTER) leon3_up_counter_enable(); |