rt-thread/src
Yaochenger de4f237482
[atomic]添加arm与risc-v下的常用原子操作函数 (#7053)
* Update Kconfig
* Update trap_gcc.S
* Update bsp/hifive1/drivers/SConscript

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
* Update SConscript
* [atomic]提交一份arm与risc-v架构下的常用原子操作函数
* 修改变量类型
* 更新rtatomic.h与atomic_port.c
* 更新rt-thread\libcpu\arm\common\atomic_port.c
* 更新include/rtatomic.h与libcpu/arm/common/SConscript
* 更新include/rtatomic.h
* 修正格式与Kconfig
* 修正格式与文件结构

* 规范文件格式与文件重命名
* 添加测试用例与CI
* 添加函数声明
* 修改virt64/SConscript 添加atomic_riscv.c
  * 1.规范代码风格
  * 2.添加RISC-V64原子指令支持 解决在RV64下编译器将32-bit运算结果扩展为64-bit 导致判断错误
* 添加C11标准库原子操作测试

---------

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-03-23 20:06:50 +08:00
..
Kconfig [atomic]添加arm与risc-v下的常用原子操作函数 (#7053) 2023-03-23 20:06:50 +08:00
SConscript sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
clock.c [rtdef] use lower-case to define attributes (#6728) 2022-12-11 13:12:03 -05:00
components.c [rtdef] use lower-case to define attributes (#6728) 2022-12-11 13:12:03 -05:00
cpu.c [src] add assertion for debugging 2023-02-21 08:48:49 +08:00
device.c rt_device_write/read return data type as rt_ssize_t 2023-02-07 21:43:57 -05:00
driver.c sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
idle.c [src] add assertion for debugging 2023-02-21 08:48:49 +08:00
ipc.c [mutex] mutex may suspend a thread already suspended & fix ceilingprio (#7046) 2023-03-13 19:21:41 +08:00
irq.c [rtdef] use lower-case to define attributes (#6728) 2022-12-11 13:12:03 -05:00
kservice.c fix rt_kprint 64bit error 2023-02-21 15:49:30 +08:00
mem.c [doxygen] Fix some warnings in doxygen (#6899) 2023-02-02 21:00:58 -05:00
memheap.c [Kernel] Fix the alignment issue for memheap. 2023-02-28 17:32:36 -05:00
mempool.c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
object.c [doxygen][src] Fix the comment in rt_custom_object_create 2023-01-19 09:14:54 -05:00
scheduler.c [src] add assertion for debugging 2023-02-21 08:48:49 +08:00
signal.c [fix] pipeline 2023-02-21 08:48:49 +08:00
slab.c 分离内存分配接口与内存分配算法 (#5175) 2021-12-16 16:23:58 +08:00
thread.c [doxygen] Fix some warnings in doxygen (#6899) 2023-02-02 21:00:58 -05:00
timer.c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00