summaryrefslogtreecommitdiff
path: root/components
AgeCommit message (Collapse)Author
2024-11-20[DM/FIXUP] Fixup CLKGuEe-GUI
1. Default return OK when input NULL (if is not necessary in device). 2. Support object parse in OFW. 3. Support CLK depends fix auto. 4. Fixup rt_clk_array_prepare_enable and rt_clk_array_disable_unprepare. Signed-off-by: GuEe-GUI <[email protected]>
2024-11-19[components][driver]add phy and mdio buszhuzhuzhu
old phy bus is too simple add phy_bus is not adapt rt_bus framework,so writer a stronger phy bus framework. here is my commit message: add mdio bus and phy bus to kernel,the phy bus use rt_bus framewok ,driver writer can write phy_driver first .when mac driver need to use phy they can register phy_device and pjhy_devie will serach for driver which match by uid and mask,if no driver match with the device that you register,phy_bus will return the genphy to you device,the genphy driver is the general driver for phy,so you can use it but it can not support the capcity of chip it may be cause performance is not up to peak
2024-11-19[components/libc/posix]add comments for rwlock APIs.ligr
2024-11-19[components/libc/posix]add comments for condition variable APIs.ligr
2024-11-18[components/libc/posix]add comments for mutex APIs.ligr
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