summaryrefslogtreecommitdiff
path: root/components
AgeCommit message (Collapse)Author
2024-11-18[DM/FEATURE] Support clock subprobe in OFWGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2024-11-18[DM/FEATURE] Support driver depends fix autoGuEe-GUI
We need a API to fix the driver load auto when a second driver get it in probe process that we can not be careful of the driver-to-driver's depends in different SoC. Signed-off-by: GuEe-GUI <[email protected]>
2024-11-18[DM/FIXUP] remove OFW switch macrosGuEe-GUI
The drivers will support OFW and name probe both. We should make build OK when OFW is disable. Signed-off-by: GuEe-GUI <[email protected]>
2024-11-18[DM/FEATURE] DM Device IDA managementGuEe-GUI
Drivers can manage their own IDs without having to concern themselves with the register/unregister in system Link: https://github.com/RT-Thread/rt-thread/issues/9534 Signed-off-by: GuEe-GUI <[email protected]>
2024-11-18add headzhuzhuzhu
2024-11-18add ofw api to of net,driver writer can use this api get phy modes or get ↵zhujiale
mac address
2024-11-18pcizhujiale
2024-11-18[utest] format code and remove duplicate header fileMeco Man
2024-11-17Modify the position of libc_rent definitionrcitachi
2024-11-16[components/libc/posix][pthreads]add comments for thread APIs of pthread.ligr
2024-11-15[net][sal]add comments for BSD socket APIs.ligr
2024-11-13fix:[CAN][STM32]open时立刻启动can_start,还未完成其他配置,可能 ↵wdfk-prog
导致异常
2024-11-13feat: devfs: handling unit size in POSIX RW requestShell
POSIX.1 says: > read() attempts to read up to count bytes from file descriptor fd > into the buffer starting at buf. On the other hand, for rt_device_read, the `@size` is defined as the number of unit (block size for blk device, otherwise one byte). Changes: - Transferred unit size from POSIX R/W(in bytes) to rt_device_R/W during request of file R/W operations. Signed-off-by: Shell <[email protected]>
2024-11-13[libc] add comments for libdl APIs.ligr
2024-11-12fixup: smart: uninitialized buffer on mount(2) (#9636)Shell
The `struct stat` object used inside mount(2) is uninitialized, which can lead to undefined behavior during running Changes: - Set zero to buffer before calling to stat() Signed-off-by: Shell <[email protected]>
2024-11-06[libcpu][component] fixed the r52 kernel gcc context switch assemblykurisaw
2024-11-05[components/net/at]修复大数据量传输socket断开后可能丢数据的 ↵yangpeng
问题
2024-11-04[components][finsh]在RT_USING_POSIX_STDIO时,使用get_console获取当� ↵liuchao
�console描述符
2024-11-05Specification submissionkurisaw
2024-11-05[net][lwip] lwip hook functions are provided to provide greater flexibility ↵kurisaw
for unknown Ethernet protocols
2024-11-04[components/net/at]修复at socket信号量释放异常yangpeng
2024-11-03:truck: renaming: move `smp` to `smp_call`Shell
2024-11-03feat: smp_call: added signaling call_reqShell
This patch introduces `rt_smp_call_request` API to handle queued requests across cores with user provided data buffer, which provides a way to request IPI through a non-blocking pattern. It also resolved several issues in the old implementation: - Multiple requests from different cores can not be queued in the work object of the target core. - Data racing on `rt_smp_work` of same core. If multiple requests came in turns, or if the call is used by the target cpu, while a new request is coming, the value will be overwrite. - Memory vulnerability. The rt_smp_event is allocated on stack, though the caller may not wait until the call is done. - API naming problem. Actually we don't provide a way to issue an IPI to ANY core in mask. What the API do is aligned to MANY pattern. - FUNC_IPI registering to PIC. Changes: - Declared and configured the new `RT_SMP_CALL_IPI` to support functional IPIs for task requests across cores. - Replaced the single `rt_smp_work` array with `call_req_cores` to manage per-core call requests safely. - Added `_call_req_take` and `_call_req_release` functions for atomic handling of request lifetimes, preventing data race conditions. - Replaced single event handling with a queue-based approach (`call_queue`) for efficient multi-request processing per core. - Introduced `rt_smp_call_ipi_handler` to process queued requests, reducing IPI contention by only sending new requests when needed. - Implemented `_smp_call_remote_request` to handle remote requests with specific flags, enabling more flexible core-to-core task signaling. - Refined `rt_smp_call_req_init` to initialize and track requests with atomic usage flags, mitigating potential memory vulnerabilities. Signed-off-by: Shell <[email protected]>
2024-11-01[libc] modify function names to resolve naming conflictsrcitachi
2024-10-24add missing extern "C" in header to support cppKai
2024-10-21fixup: smart: sys_mount: UAF vulnerabilityShell
This patch addresses a use-after-free (UAF) vulnerability in the sys_mount. The issue occurred due to improper handling of memory deallocation, which could lead to crashes or undefined behavior on user request of mounting. Changes made: - Moved the `rt_free(copy_source)` function call to occur after the necessary operations are completed, preventing premature deallocation of memory. Signed-off-by: Shell <[email protected]>
2024-10-19update(cherryusb): update to v1.4.1sakumisu
2024-10-11[components][sal]add netdev ifindex featurezms123456
2024-10-11[components][smp]remove redundant memset & unlock in smpzms123456
2024-10-10[component][sal]add netgetdev apizms123456
2024-10-10[components][dfs][dfs_v1]cat输出实际读取的长度yangpeng
2024-10-09[drivers][spi] Fixed an issue that caused spi bus deadlock in the spi ↵Yuqiang Wang
configuration
2024-10-08[doxygen][rsoc]add pwm touch can i2c spi driver example for doxygenCYFS
2024-10-07[Bug] [ymodem] last frame's data_sz issue, fixed.sulfurandcu
2024-10-06feat:[drivers][spi] rt_spi_configure 添加互斥保护Meco Man
2024-10-06feat:[drivers][spi] rt_spi_bus_configure 添加 -RT_EBUSY ↵wdfk-prog
返回值,并增加说明注释
2024-10-05[doxygen]add pin driver example for doxygenCYFS3
2024-10-05[feat] add pci api,the pci/pcie driverzhuzhuzhu
add pci api,the pci/pcie driver writer can use this to get resource of current device with flag,there are three flag : 1. PCI_BUS_REGION_F_MEM it mean memory space 2. PCI_BUS_REGION_F_IO it mean io space 3. PCI_BUS_REGION_F_PREFETCH it mean prefetchable memory
2024-10-04[components][i2c] 修改为debug等级打印wdfk-prog
2024-10-03[components][ulog] ULOG_OUTPUT_LEVEL未定义时,level_output_info产生警告wdfk-prog
2024-09-29fix rtc alarm thread parameters issuemilo
2024-09-29[bsp][nxp][rsoc] Fix compilation issues with bsp of nxp/lxp serieshydevcode
2024-09-29[dev] make RTC alarm internal thread's attributes configurablemilo
2024-09-29[doxygen][rsoc]add dac driver example for doxygen (#9483)CYFS
2024-09-26[doxygen]add rtc devices example for doxygenCYFS
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