diff options
| author | Meco Man <[email protected]> | 2023-08-07 12:42:10 -0400 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2023-08-08 22:34:25 -0400 |
| commit | c6a2f5b7bdee378cc868ee9284e760ebbdf635f0 (patch) | |
| tree | cde35e55f90e6a0b12a5796734a9b75fbdc65d0a /libcpu/arm/cortex-a | |
| parent | cb810dfe750dab6a53a8c20d83f082e0a12ab024 (diff) | |
rt_hw_cpu_shutdown: implement default weak function
and remvoe duplicated default functions in each cpu/bsp level
Diffstat (limited to 'libcpu/arm/cortex-a')
| -rw-r--r-- | libcpu/arm/cortex-a/cpuport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/cortex-a/cpuport.c b/libcpu/arm/cortex-a/cpuport.c index ec523f2aa7..ac947fb823 100644 --- a/libcpu/arm/cortex-a/cpuport.c +++ b/libcpu/arm/cortex-a/cpuport.c @@ -74,7 +74,7 @@ void rt_hw_spin_unlock(rt_hw_spinlock_t *lock) /*@{*/ /** shutdown CPU */ -rt_weak void rt_hw_cpu_shutdown() +void rt_hw_cpu_shutdown(void) { rt_base_t level; rt_kprintf("shutdown...\n"); |
