diff options
| author | Shell <[email protected]> | 2024-05-08 09:25:57 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-08 09:25:57 +0800 |
| commit | 48bd0e49f2687708e0aca2f3791ccc295920c80a (patch) | |
| tree | 0136f4ea386c9b837ec07b436356bea30a00e0f2 /libcpu | |
| parent | 9ba6cec663428bad57204e2e3373b48c70efe61f (diff) | |
[ipc] support of lockless rt_completion (#8887)
* [ipc] lockless rt_completion implementation
The new rt_completion implemented by lockless algorithm can improve timer resolution for up to ~12%, compare to sem IPC.
Signed-off-by: Shell <[email protected]>
* fixup: error
* remove useless changes
---------
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/risc-v/rv64/cpuport.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libcpu/risc-v/rv64/cpuport.c b/libcpu/risc-v/rv64/cpuport.c new file mode 100644 index 0000000000..cb222821b9 --- /dev/null +++ b/libcpu/risc-v/rv64/cpuport.c @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2006-2024, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: + * Date Author Notes + * 2024-04-26 Shell lockless rt_completion + */ + +#include <rtthread.h> + +#undef rt_hw_isb +rt_weak void rt_hw_isb(void) +{ + return ; +} |
