wirano
202bacb44d
[cpu_cache] fix function replaced by macro
2024-04-18 20:40:55 -04:00
Meco Man
a841091827
[libcpu] remove .asm files in cortex-r52
2024-04-18 20:32:47 -04:00
Rbb666
9a3172540f
Delete unnecessary configurations in cortex-r52
2024-04-18 20:32:47 -04:00
Rbb666
1497a3117a
[bsp][renesas]Add cortex-r52 rzt2m adaptation
2024-04-10 20:47:53 -04:00
liYangYang
9a1996ef59
[bsp][art-pi-smart] 关闭内存对齐检查来避免数据访问异常
2024-03-29 21:43:57 -04:00
Shell
83e95bdff4
sync smart & dfs ( #8672 )
...
Signed-off-by: xqyjlj <xqyjlj@126.com>
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-03-28 23:42:56 +08:00
zhangyan
fad78950ea
[bsp/phytium]Adapter aarch64/aarch32 ( #8580 )
2024-03-13 18:07:03 +08:00
zhangyan
76202e2141
🎯 [libcpu/arm/cortex-a]修改arm/cortex-a启动方式,解决cortex-a开启SMP工作异常问题 ( #8517 )
...
Co-authored-by: wangzongqiang <wangzongqiang1322@phytium.com.cn>
2024-03-02 16:06:07 +08:00
Shell
71560bafb5
🎯 Sync smart & scheduler codes ( #8537 )
...
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-02-23 17:49:15 +08:00
Yuqiang Wang
c6bdee3c50
[ci] open ci check with function declaration warning ( #8546 )
2024-02-20 22:45:04 -05:00
Meco Man
6d4503363a
[libcpu][SConscript]规范group名为libcpu
2024-02-20 08:39:05 +08:00
杨熙
41e08084f8
Bsp nxp support ( #8530 )
...
Co-authored-by: StackYuan <yuanjyjyj@outlook.com>
2024-02-16 00:30:50 +08:00
Meco Man
df29a13d89
[components] remove vmm ( #8269 )
2023-11-21 13:41:54 +08:00
Rbb666
7ace7d0a78
[libcpu][renesas]add cortex-m85 && ek-ra8m1 adapt
2023-10-31 15:09:17 +08:00
tangzz98
acc66c5479
实现MPU抽象层 ( #8080 )
...
- 为RT-Thread设计MPU抽象层,支持ARMV7-M,ARMV8-M架构,让用户使用MPU检测栈溢出等内存问题,实现线程内存隔离
- 在components/mp目录下提供通用的API,libcpu目录下提供各处理器架构的具体实现
- 在STM32U575 NUCLEO, STM32H75 NUCLEO开发板测试通过
2023-10-30 08:24:55 -04:00
Shell
70a8d1d465
[kservice] improve backtrace service in kernel ( #8144 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-10-21 20:14:45 +08:00
Shell
1d678e5596
[smart] fixup: mmap support ( #8154 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-10-20 13:28:20 +08:00
geniusgogo
ecd29fda60
Sync dfs lwp ( #8123 )
2023-10-17 13:07:59 +08:00
guozhanxin
d8a2084c05
[libcpu/cortex-a] Fix the problem of circular include of cpuport.h
2023-09-27 10:16:46 +08:00
Meco Man
47a3139b63
[iar]修复__LDREX 和 __STREX 报 declared implicitly 警告
...
related: https://github.com/RT-Thread/rt-thread/issues/7381
2023-09-20 10:01:25 +08:00
Shell
47b183a297
[smart/syscall] fix exit(2) and add exit_group(2) ( #8005 )
...
Signed-off-by: shell <smokewood@qq.com>
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
Signed-off-by: Shell <smokewood@qq.com>
2023-09-09 09:35:56 +08:00
Wayne Lin
86f72ed6da
Update NuMaker-M2354 BSP building.
...
1. Remove rt_hw_cpu_reset implementation in libcpu.
2. Update configuration.
3. Add drv_log.h for building.
4. Fix warnings.
2023-08-24 12:54:19 -04:00
Shell
d862816a51
[components/mm] add unmap page API ( #7834 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-08-16 15:38:59 +08:00
Meco Man
c6a2f5b7bd
rt_hw_cpu_shutdown: implement default weak function
...
and remvoe duplicated default functions in each cpu/bsp level
2023-08-08 22:34:25 -04:00
Meco Man
cb810dfe75
rt_hw_cpu_reset: remove all other rt_weak
2023-08-08 22:34:25 -04:00
Shell
acfa74f078
[libcpu/arm] fix race condition with ldrex,strex ( #7842 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-07-25 14:07:44 +08:00
Man, Jianting (Meco)
244b903e5d
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT ( #7805 )
2023-07-22 10:36:42 +08:00
lepus
2741bec8f7
[libcpu][cortex-a]modified start_gcc.S ( #7810 )
2023-07-14 23:12:04 +08:00
Supper Thomas
350626841a
[libcpu]fix RT_ASSERT undefine ( #7816 )
2023-07-14 09:47:02 +08:00
程蒙蒙
33f5de4411
[atomic][IAR]修复IAR编译报警 函数“__LDREX”隐式声明 ( #7733 )
2023-06-29 00:04:06 +08:00
Wayne
ed4b4ca9e6
[libcpu] [cortex-a] Revert RT_SMP_AUTO_BOOT. ( #7549 )
...
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2023-05-29 15:23:42 +08:00
Bernard Xiong
4b4c3c85f2
[atomic] add stdc atomic detection. ( #7536 )
2023-05-20 23:41:29 +08:00
huanghe
9217865c6a
[libcpu] fix arm/cortex-a/start_gcc.S ( #7515 )
2023-05-19 11:32:58 +08:00
guozhanxin
82ccbc40db
support llvm-arm 16.0
2023-05-17 12:09:10 -04:00
Shell
b7554a70d2
[libcpu][component][debug] add debug info for gdb ( #7033 )
2023-05-14 23:48:16 +08:00
huanghe
50a4e8c662
[bsp][phytium]适配rt-thread5.0.0 版本 ( #7441 )
...
Co-authored-by: 朱耿宇 <zhugengyu@phytium.com.cn>
2023-05-11 10:25:21 +08:00
WuxiaBai
4eeca5049e
[HUST CSE][libcpu][s3c44b0]Same expression on both sides of '|'
2023-04-28 17:58:59 -04:00
勇
4b2a44f39e
修复 atomic_arm.c 多次指定类型限定符问题 ( #7393 )
2023-04-27 07:09:38 +08:00
wangqinglin
fbc1d6f4fd
[fix]:修复GICv2、GICv3中断触发模式设置无效的问题 ( #7358 )
2023-04-24 17:06:31 +08:00
wangqinglin
ac07f40670
优化设置中断模式api ( #7359 )
2023-04-24 14:16:21 +08:00
Shicheng Chu
93f3cb30e4
[kernel] 将rt_thread结构体改为显式继承rt_object ( #7131 )
2023-04-04 09:06:27 -04:00
Wayne
3309ef6001
[libcpu/arm/cortex-a] Revert safety MMU initialization. ( #6796 )
...
* Revert safety MMU initialization.
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2023-03-31 10:06:28 +08:00
Yaochenger
38eb3fc40f
[utest][atomic]添加返回值测试 ( #7124 )
...
* [utest][atomic]添加返回值测试
2023-03-30 11:06:21 +08:00
Shell
eec78d9f5d
[rt-smart] testcase & improvements for memory management ( #7099 )
...
* [utest/mm] add testcase for create/init
format codes of create/init in components/mm
* [libcpu/aarch64] fix user stack check routine
* [kservice] export API for utest
* [utest/mm] testcase for aspace_map
format & modify the files under components/mm related with aspace_map
* [lwp/user_mm] add user_map_varea for mmap feature
* [mm] rename rt_mm_fault_try_fix to rt_aspace_fault_try_fix
* [utest/mm] testcase for synchronization
* [mm] modify unmap api to improve throughput
* [utest/mm] testcases for cache and varea map
* [format] remove extra space
* [utest/mm] fix testcase problem in header
* [lwp] extend map_user_varea with a flag
* [utest/mm] testcase for lwp_map_user_varea
* [libcpu/arm/cortex-a] fix kernel space layout
* [utest/mm] adjust for armv7 arch
2023-03-30 08:25:15 +08:00
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
Shell
18a14cc935
[rt-smart] move sys_cacheflush to lwp_syscall.c ( #7048 )
...
* [syscall] move sys_cacheflush to lwp_syscall.c
* [syscall] improve assertion
* [format] rename to rt_ctassert
* [debug] modified ct assertion on mm_page.c
2023-03-17 15:11:38 +08:00
wangxiaoyao
484a0d602e
[fixup] add cache maintenance ops;
...
fix bugs on cache maintenance when starting user app
2023-02-21 08:48:49 +08:00
Shell
2d09749086
[rt-smart] PV_OFFSET as a variable ( #6904 )
...
* [rt-smart/mem] remove pv_offset
* [rt-smart] list kernel space command
* [rt-smart] restore ioremap region
* [revert] restore kernel space isolation
* [rt-smart/pv_off] code format
* [rt-smart] add get_pvoff()
* [pvoffset] pvoff as constant for C codes
* [pvoff] pvoff as interfaces
2023-02-14 23:08:32 +08:00
Meco Man
f58d3c5200
rt_device_write/read return data type as rt_ssize_t
...
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
wdfk-prog
7296117203
[cortex-m7]rt_hw_cpu_dcache_ops函数uint32_t替换为rt_uint32_t
2023-02-07 12:05:27 -05:00