summaryrefslogtreecommitdiff
path: root/components
AgeCommit message (Collapse)Author
2024-09-25[doxygen]add dac driver example for doxygenCYFS
2024-09-25[doxygen][rsoc] add adc driver example for doxygen (#9465)CYFS
* [doxygen] add adc driver example for doxygen * add data structures
2024-09-24[components] change variable nameCYFS
为什么提交这份PR (why to submit this PR) #9397 你的解决方案是什么 (what is your solution) 将 line 758的dir改为link_dir
2024-09-24smpzhujiale
2024-09-24smpzhujiale
2024-09-24smpzhujiale
2024-09-24smpzhujiale
2024-09-24smpzhujiale
2024-09-24smpzhujiale
2024-09-24smpzhujiale
2024-09-24smpzhujiale
2024-09-24SMPzhujiale
2024-09-24SMPzhujiale
2024-09-24smp_callzhujiale
2024-09-24smp_callzhujiale
2024-09-24smp_ipizhujiale
2024-09-24smp_ipizhujiale
2024-09-19feat: smart: user space context optimizationShell
This patch optimizes the user-space context handling in the ARM64 architecture, specifically improving how the context is saved and restored during system calls and interrupts. The changes make the code more efficient and easier to maintain, while ensuring proper preservation of user context during system transitions. Changes: - Introduced a parameter for context saving to improve flexibility. - Replaced hardcoded stack pointer operations with frame-relative references for better readability and code reuse. - Simplified context restoration, removing redundant operations like loading/storing floating-point registers. Signed-off-by: Shell <[email protected]>
2024-09-19fixup: pty: possible memory leaking on close()Shell
The ref_count of the vnode is NOT bound to the resource reference counts of the ptm device created by opening `dev/ptmx`, so the conditional release of resource may end up by memory leaking if the multiple user have open the `dev/ptmx`. Changes: - Removed conditional branch on recycling resource Signed-off-by: Shell <[email protected]>
2024-09-19[DM/FDT] Fixup memory address reserved and translate in earlyGuEe-GUI
1.Fixup `fdt_reserved_memory_reg` loop time. 2.Fixup `rt_fdt_translate_address` cells value reader. Signed-off-by: GuEe-GUI <[email protected]>
2024-09-19optimize sal_bindzhao maosheng
2024-09-19[DRIVER/PIC] Add ARM GICv2/v3 V2M, ITS support.GuEe-GUI
Fix some code style and init for V2M, ITS. V2M is the PCI MSI/MSI-X for GICv2. ITS is the PCI MSI/MSI-X for GICv3/v4. Signed-off-by: GuEe-GUI <[email protected]>
2024-09-19[FEATURE/PIC] support PIC cancel (only in debug)GuEe-GUI
PIC may free because some wrongs in debug. We should remove in PIC list or there are some undefined behavior will happen. Signed-off-by: GuEe-GUI <[email protected]>
2024-09-19[FIXUP/PIC] pirq's child handler should lock lessGuEe-GUI
When call the child handler, the PIC ops needn't lock again. Critical zone protection by PIC implementers. Signed-off-by: GuEe-GUI <[email protected]>
2024-09-19[FIXUP/PIC] set interrupt status when do trapsGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2024-09-19[PIC/FIXUP] pirq reinit failGuEe-GUI
don't reinit pirq's list if cascade Signed-off-by: GuEe-GUI <[email protected]>
2024-09-19[fix]:fix log format and reopen with a different oflag issue (#9452)milo
fix log format and reopen with a different oflag issue
2024-09-15fixup: dfs_v2: Correct device mode permissions in devfsShell
The mode permissions for character, block, and pipe devices were previously set to 0777, which is overly permissive and not in line with standard practice. This change reduces the permissions to 0666, restricting execute permissions while still allowing read/write access. Changes: - Adjusted permissions for character/block/pipe devices from 0777 to 0666. Signed-off-by: Shell <[email protected]>
2024-09-15[doxygen] add driver example for doxygen (#9446)Supper Thomas
2024-09-14[components][sal]delay getting sal_proto_family in sal_ioctlsocketzms123456
2024-09-14fixup: smart: remove unnecessary Kconfig optionShell
The `LWP_CONSOLE_INPUT_BUFFER_SIZE` is a legacy config option for TTY driver used in smart. Since the driver is updated, there's no dependency of this option any more. Changes: - Removed unused Kconfig option `LWP_CONSOLE_INPUT_BUFFER_SIZE` Signed-off-by: Shell <[email protected]>
2024-09-14fixup: dfsv2: seq: aligned proto of lseek to manualShell
In manual, the prototype of lseek is `off_t lseek(int fd, off_t offset, int whence);` where the return type is `off_t` but not ssize_t. Signed-off-by: Shell <[email protected]>
2024-09-14[component][sal]delete netdev_lozms123456
netdev_lo无需单独处理,可以根据协议去找对应的网络设备
2024-09-13[drivers] Specifies the name of the drivers driver fileCXSforHPU
https://github.com/RT-Thread/rt-thread/pull/9420
2024-09-13[FEATURE/OFW] add address reverse/translate for DMA/CPU's addressGuEe-GUI
DMA and CPU address view is different, we need to convert them: +--------+ +--------+ +---------+ +--------+ | | | | | | | | | CPUs | | DEV0 | | IOMMU <----+ | DEV1 | | | | | | | | | | +----+---+ +----+---+ +----+----+ | +----+---+ | | | | | 0x200000 | 0x1000 | 0x1000 | | 0x8000 | | | | | | +-------------+-----------+ +----------+ | | +--------v----------------------------------------------------+ | | | Address BUS | | | +-------------------------------------------------------------+ Signed-off-by: GuEe-GUI <[email protected]>
2024-09-13[FEATURE/FDT] Add bootargs select in earlyGuEe-GUI
Maybe use for memory/DMA buffer init before ofw_node unflatten. Signed-off-by: GuEe-GUI <[email protected]>
2024-09-13[FIXUP/OFW] ofw_parse_object failGuEe-GUI
The ofw parse should: 1. Check obj_name EQU the current node's rt_data. 2. Find the next object name. 3. goto "2" until obj_name EQU the cmp_cell's obj_name. Signed-off-by: GuEe-GUI <[email protected]>
2024-09-13[FIXUP/OFW] remove the last empty string for bootargsGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2024-09-13[FIXUP/OFW] DTS version header always v1.0GuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2024-09-13[FIXUP/OFW] Increase append child node's ref_countGuEe-GUI
rt_ofw_append_child append a new child node and return, ref_get is necessary. Signed-off-by: GuEe-GUI <[email protected]>
2024-09-13[FIXUP/OFW] rt_ofw_foreach_node_by_compatible argsGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2024-09-13[components][sal]replace netdev's spin_lock_irqsave to spin_lockzms123456
netdev的函数不会在中断中调用,无需关中断
2024-09-13[component][net]add more socket flagzms123456
2024-09-13[components][lwip]fix lwip poll macro conflictzms123456
2024-09-13[lwp] 取消脚本中限制rv的具体cpu类别heyuanjie87
此目录中为rv64通用代码
2024-09-11[components][lwp]remove extra check in sys_bindzms123456
2024-09-11[DM/MISC] Add error no for ptrGuEe-GUI
When the driver request a API gets RT_NULL which return value is ptr, they could not know why get a RT_NULL. some API return RT_NULL, is not error internal maybe, it just not supported for this platform, but the driver still could work ok, the API can return (RT_NULL + -RT_EEMPTY) to driver. on the other hand, the driver can do more behaviors by error no. When the API return the -RT_EBUSY, driver can wait for a moment and retry. When the API return the -RT_ENOSYS, driver can try the next mode or request's name. Signed-off-by: GuEe-GUI <[email protected]>
2024-09-10[components][sensor]增加电源检测类型CYFS
2024-09-09[components][sal][at] _gethostbyname_by_device 添加注释ryancw
2024-09-09[components][sal][at] netdb添加at_gethostbyname_rryancw