Shell
dd2f1a795a
[rt-smart] fix competition on aspace ( #7064 )
...
* [mm] mmu operations should be wrapped by _aspace_bst_insert & _aspace_bst_remove to avoid competition on page table
* [lwp] may not return null on failed
2023-03-19 14:41: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
Meco Man
dfddd79b24
[errno code][-RT_EINVAL] fix that use RT_EINVAL without -
2023-03-16 20:21:43 -04:00
Shell
fcc01a617d
[rt-smart] Fix return value in syscall ( #7045 )
...
* [timer] fix sys return value to avoid outdated errno
* [rtdef] add wrap to stringify
* [syscall] return value in rt errno should be recycle immediately after call to posix layer
* [syscall] return type of syscall should be long
errno should be recycle immediately after call to rt posix layer to avoid
outdated value
* [format] move prototype to header file
* [fix] futex definition conflict
2023-03-13 19:09:34 +08:00
wangxiaoyao
34bf77b8e3
[format]
2023-03-11 19:01:33 +08:00
wangxiaoyao
cb60ef2c86
[lwp] clear vnode in fd after free
2023-03-11 19:01:33 +08:00
wangxiaoyao
672966cc41
[lwp] arch should recycle resource it allocated
2023-03-11 19:01:33 +08:00
wangxiaoyao
d1ed1c06cb
[timer] use int pointer to interpret notify func in sevp
2023-03-02 15:48:46 +08:00
wangxiaoyao
31bfc855c1
[syscall][fix] kernel overwrite ustack data in timer create
2023-03-02 15:48:46 +08:00
zhkag
111a5b88cb
smart select POSIX timer clock
2023-03-01 00:37:20 +08:00
wangxiaoyao
fef2607764
[lwp] save virtual addr in shm structure
2023-02-25 20:05:59 +08:00
geniusgogo
d3553e7220
fixed fstat/stat/readlink syscall.
2023-02-25 17:07:20 +08:00
Shell
382e9bcac7
[rt-smart] handling kernel from accessing unmapped user stack ( #6957 )
...
[rt-smart] handling kernel from accessing unmapped user stack
2023-02-24 14:52:16 +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
wangxiaoyao
855aef9c9c
[mm] distinguish NULL and MAP_FAILED
2023-02-21 08:48:49 +08:00
Bernard Xiong
0ea687e0cb
[lwP] fix _m_lock in posix mutex
2023-02-21 08:47:00 +08:00
zhkag
657cbfdac7
修复编译警告
2023-02-09 15:21:17 +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
geniusgogo
890c1c9264
fixed syscall errno return.
2023-02-07 12:05:48 -05:00
Shell
b2402029b2
[rt-smart][fix/lwp] don't restore terminal for background lwp ( #6847 )
...
* [fix/lwp] don't restore term for background lwp
2023-01-13 09:48:43 +08:00
wangxiaoyao
93dd8c6c6e
[rt-smart] fix warnings
2023-01-10 09:37:22 +08:00
Meco Man
9bc68d26a4
format Kconfig and sconscript
2023-01-08 22:52:13 -05:00
Shell
7450ef6c4d
[rt-smart] kernel virtual memory management layer ( #6809 )
...
synchronize virtual memory system works.
adding kernel virtual memory management layer for page-based MMU enabled architecture
porting libcpu MMU codes
porting lwp memory related codes
2023-01-08 21:08:55 -05:00
zhkag
7f9ccd3c80
格式化代码
2023-01-09 09:32:07 +08:00
zhkag
7fc3b2d7b5
添加 sys_mq_close 函数
2023-01-09 09:32:07 +08:00
zhkag
ce308cd965
更新 mq syscall
2023-01-09 09:32:07 +08:00
guo
68ca9f07a6
[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 ( #6740 )
...
* [dfs] sync cromfs
* [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration
* [format] fix some format issue.
2022-12-16 18:38:28 +08:00
Man, Jianting (Meco)
99bdf978d7
[rtdef] use lower-case to define attributes ( #6728 )
...
* [rtdef] rename RT_WEAK attribute as rt_weak
* [rtdef] rename RT_USED attribute as rt_used
* [rtdef] rename RT_SECTION attribute as rt_section
* [rtdef] rename ALIGN attribute as rt_align
* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -05:00
Shell
e991be9c51
[smart][risc-v/libcpu] port rv64 cpu code ( #6704 )
...
* [risc-v/libcpu] porting Smart & RTOS
* [fix] rv64 plic
* [risc-v/rv64] remove macro in rtdef
2022-12-10 22:16:42 +08:00
zhkag
2e488e0440
[rt-smart]同步 gitee nanosleep 修复 ( #6710 )
2022-12-08 10:02:40 -05:00
guo
ecf2d82159
sync branch rt-smart. ( #6641 )
...
* Synchronize the code of the rt mart branch to the master branch.
* TTY device
* Add lwP code from rt-smart
* Add vnode in DFS, but DFS will be re-write for rt-smart
* There are three libcpu for rt-smart:
* arm/cortex-a, arm/aarch64
* riscv64
Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
Meco Man
c9878aacd2
[scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm
...
将路径更新为IAR最新版本的路径
2022-06-09 07:01:59 +08:00
Man, Jianting (Meco)
a514b3bd16
[components][kconfig] 整理Kconfig目录名称和结构 ( #5698 )
2022-03-25 23:07:18 +08:00
geniusgogo
658b2c1027
fix 32bit & 64bit value to pointer interconvert.
2022-01-28 11:35:10 +08:00
liukangcc
3d2e23ec1c
[update] move dfs_posix.h to legacy/dfs/dfs_posix.h
2022-01-14 23:09:32 +08:00
Meco Man
ed09f38012
[libc] remove RT_USING_LIBC
2021-12-30 01:27:25 +08:00
Bernard Xiong
36d5154256
Merge pull request #5320 from mysterywolf/pse-master
...
[POSIX] move PSE branch to master
2021-12-05 13:16:39 +08:00
recan-li
cf92ae747f
fix: Fix compile warnings on qemu-vexpress-a9 platform (-Wimplicit-function-declaration)
2021-12-04 01:03:26 +08:00
Meco Man
7973ede5a8
增加RT_USING_POSIX_FS
2021-11-29 00:53:46 -05:00
Meco Man
74669b3f1d
update vexpress-a9
2021-11-08 11:07:54 -05:00
Meco Man
ee4b7916a3
[libc标准化]脱敏dfs_select.h 由标准sys/select.h代替
2021-09-22 16:45:21 -04:00
Meco Man
c360688714
使用poll.h代替dfs_poll.h
2021-09-11 11:56:54 -04:00
Meco Man
3c05a4e719
[compoenets] auto & manual formatted
2021-03-08 18:19:04 +08:00
shaojinchun
1e7bd3d8a1
修改lwp支持中arm cortex-a的swi入口函数处理
2019-04-27 13:54:51 +08:00
armink
fa4d4ab7cf
Update all of debug log definition to DBG_TAG and DBG_LVL.
2019-04-12 10:18:57 +08:00
qz721
2eb1bef773
Make 'qemu-vexpress-a9' and 'imx6ul' use the same libcpu code.
2019-03-25 20:03:49 +08:00
shaojinchun
b225764b84
fix lwp SConscript的头文件目录为空的问题;lwp把arm9改名成arm926
2019-03-14 17:28:44 +08:00
armink
0d7ba79219
Remove the DBG_COLOR and DBG_ENABLE definition.
2019-03-06 17:54:30 +08:00
Bernard Xiong
711c923614
[lwp] Fix compiling warning in lwP.
2019-01-13 14:25:52 +08:00
Bernard Xiong
9b9dc591f5
[lwp] Correct the change log.
2018-12-19 20:10:33 +08:00