Commit Graph

20 Commits

Author SHA1 Message Date
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
guozhanxin ba5c63e65d add rtsmart ci 2023-02-13 10:56:17 +08:00
guozhanxin 1404186602 [utestcases] add cpp11 base testcase. 2022-04-21 14:35:11 +08:00
Gabriel Wang 576457b6f0 add RT_HOOK_USING_FUNC_PTR 2022-01-05 15:48:42 +08:00
mazhiyuan c3465dfab7 add thread testcase 2021-10-11 13:47:26 +08:00
liukangcc bf94a69afd [add] mailbox testcase. 2021-09-09 10:27:48 +08:00
tyustli f4abcef96f [add] utest kernel mutex_tc.c file 2021-09-06 15:30:08 +08:00
guozhanxin 389077897e [add] signal testcases 2021-09-04 18:04:57 +08:00
Sherman 7c24a01979 [utestcase] 添加 message queue 测试用例 2021-09-02 17:43:58 +08:00
guozhanxin fe4bec08a5 【ci】添加 timer、irq 测试 2021-08-24 17:20:12 +08:00
liukangcc f8c12d0f21 [add] event test case. 2021-08-19 08:50:14 +08:00
guozhanxin 5074c86dce [ci][autotest] add ipc.conf 2021-08-15 16:17:15 +08:00
tyustli 8d1f0758d6 [add] semaphore testcase ci config 2021-08-12 19:48:27 +08:00
guozhanxin 3bc6d7c414 [utestcase] 完善测试用例集合的 README 2021-07-08 13:39:56 +08:00
guozhanxin cc5fa682cd [ci] Simplified configuration files. 2021-06-18 19:43:57 +08:00
Henson 89717a4546 [ci] add riscv64 autotest. 2021-06-17 21:50:46 +08:00
guozhanxin 4d213254c3 [ci] add kernel/mem testcase. 2021-06-03 15:08:31 +08:00
zhouji 3350b0ba4e [update] 整理cortex-a kconfig菜单,并更新相关BSP的配置。 2021-05-27 17:44:44 +08:00
zhouji 1523e4680d [add] 添加gicv3中断控制器代码,更新menuconfig配置选项与utest的config.h 2021-05-14 16:08:31 +08:00
guozhanxin 3906f3b948 [add] auto test ci. 2021-05-10 20:34:35 +08:00