yixinghua121
983f02151a
修复 MMCSD 宏拼写错误+内核开启LOG_D编译问题
2025-03-12 16:02:43 +08:00
lingfengPeng
29a06142c5
fix dangling pointer in component pthread and dfs_elm ( #9976 )
...
* [components/libc/posix][pthreads]fix the risk of dangling pointer
* [components][dfs][dfs_elm]:fix risk of dangling pointer, unmount the temp driver then free the temp FATFS in dfs_elm_mkfs.
2025-03-11 10:48:29 +08:00
wycwyhwyq
88195c8cab
[components][dfs_v2]: Fix cromfs bug ( #10054 )
AutoTestCI / components/cpp11 (push) Waiting to run
AutoTestCI / kernel/atomic (push) Waiting to run
AutoTestCI / kernel/atomic/riscv64 (push) Waiting to run
AutoTestCI / kernel/atomic_c11 (push) Waiting to run
AutoTestCI / kernel/atomic_c11/riscv64 (push) Waiting to run
AutoTestCI / kernel/device (push) Waiting to run
AutoTestCI / kernel/ipc (push) Waiting to run
AutoTestCI / kernel/irq (push) Waiting to run
AutoTestCI / kernel/mem (push) Waiting to run
AutoTestCI / kernel/mem/riscv64 (push) Waiting to run
AutoTestCI / kernel/thread (push) Waiting to run
AutoTestCI / kernel/timer (push) Waiting to run
AutoTestCI / rtsmart/aarch64 (push) Waiting to run
AutoTestCI / rtsmart/arm (push) Waiting to run
AutoTestCI / rtsmart/riscv64 (push) Waiting to run
AutoTestCI / components/utest (push) Waiting to run
BSP compilation with more drivers / BSP Compilation with More Drivers (push) Waiting to run
pkgs_test / change (push) Has been skipped
manual_trigger_scons_fail_bsp_all.yml / Infineon/psoc6-pioneerkit_modus (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / airm2m/air105 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / allwinner/d1 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / allwinner/d1s (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / amebaz (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / avr32uc3b0 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / bf533 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / bouffalo_lab/bl61x (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / bouffalo_lab/bl808/d0 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / bouffalo_lab/bl808/lp (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / bouffalo_lab/bl808/m0 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / ck802 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / core-v-mcu/core-v-cv32e40p (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / essemi/es32f0654 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / essemi/es32f365x (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / fm33lc026 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / ft2004 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / hc32l136 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / hk32/hk32f030c8-mini (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / imx/imx6ull-smart (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / imxrt/imxrt1170-nxp-evk/m7 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / juicevm (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / lpc43xx/M0 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / lpc43xx/M4 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / lpc54608-LPCXpresso (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / lpc824 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / m16c62p (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / microblaze (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / mini4020 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / mm32f327x (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / mm32l07x (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / nios_ii (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / nuclei/nuclei_fpga_eval (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / nv32f100x (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / phytium/aarch32 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / pic32ethernet (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / raspberry-pi/raspi2 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / rockchip/rk2108 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / rv32m1_vega/ri5cy (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / rx (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / samd21 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / sep6200 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / synopsys/boards (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / tae32f5300 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / taihu (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / thead-smart (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / ti/c28x/tms320f28379d (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / tkm32F499 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / tms320c6678 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / upd70f3454 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / w60x (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / wch/arm/ch579m (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / wch/risc-v/ch32v103r-evt (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / wch/risc-v/ch569w-evt (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / wh44b0 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / x86 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / xplorer4330/M0 (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / yichip/yc3121-pos (push) Has been cancelled
manual_trigger_scons_fail_bsp_all.yml / yichip/yc3122-pos (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f072-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f091-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f103-100ask-mini (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f103-100ask-pro (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f103-atk-nano (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f103-atk-warshipv3 (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f103-blue-pill (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f103-dofly-M3S (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f103-dofly-lyc8 (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f103-fire-arbitrary (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f103-gizwits-gokitv21 (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f103-hw100k-ibox (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f103-onenet-nbiot (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f103-yf-ufun (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f103-ys-f1pro (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f107-uc-eval (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f207-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f302-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f334-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f401-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f401-weact-blackpill (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f405-smdz-breadfruit (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f407-armfly-v5 (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f407-atk-explorer (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f407-robomaster-c (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f407-st-discovery (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f410-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f411-atk-nano (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f411-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f411-weact-blackpill (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f412-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f413-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f427-robomaster-a (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f429-armfly-v6 (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f429-atk-apollo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f429-fire-challenger (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f429-st-disco (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f446-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f469-st-disco (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f723-st-disco (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f746-st-disco (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f746-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f767-atk-apollo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f767-fire-challenger-v1 (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f767-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32f769-st-disco (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32g070-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32g071-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32g431-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32g474-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32g491-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32h743-armfly-v7 (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32h743-atk-apollo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32h743-openmv-h7plus (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32h743-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32h747-st-discovery (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32h750-armfly-h7-tool (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32h750-artpi (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32h750-fk750m1-vbt6 (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32h750-weact-ministm32h7xx (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l010-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l053-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l412-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l431-BearPi (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l432-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l433-ali-startkit (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l433-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l452-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l475-atk-pandora (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l475-st-discovery (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l476-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l496-ali-developer (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l496-st-discovery (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l496-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l4r5-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l4r9-st-eval (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l4r9-st-sensortile-box (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32l552-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32mp157a-st-discovery (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32mp157a-st-ev1 (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32u575-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32wb55-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32wl55-st-nucleo (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32wle5-yizhilian-lm401 (push) Has been cancelled
manual_scons_dist_STM32_all / stm32/stm32wle5-yizhilian-lm402 (push) Has been cancelled
RT-Thread BSP Static Build Check / ESP32C3 (push) Has been cancelled
RT-Thread BSP Static Build Check / Infineon_TI_microchip (push) Has been cancelled
RT-Thread BSP Static Build Check / RT-Thread Online Packages (STM32F407 RT-Spark) (push) Has been cancelled
RT-Thread BSP Static Build Check / RTduino/Arduino Libraries (Raspberry Pico) (push) Has been cancelled
RT-Thread BSP Static Build Check / RTduino/Arduino Libraries (STM32F412 Nucleo) (push) Has been cancelled
RT-Thread BSP Static Build Check / aarch64 (push) Has been cancelled
RT-Thread BSP Static Build Check / gd32_n32_apm32 (push) Has been cancelled
RT-Thread BSP Static Build Check / hpmicro (push) Has been cancelled
RT-Thread BSP Static Build Check / i386-unknown (push) Has been cancelled
RT-Thread BSP Static Build Check / llvm-arm (push) Has been cancelled
RT-Thread BSP Static Build Check / mips (push) Has been cancelled
RT-Thread BSP Static Build Check / nordic(yml) (push) Has been cancelled
RT-Thread BSP Static Build Check / nuvoton (push) Has been cancelled
RT-Thread BSP Static Build Check / nxp_renesas (push) Has been cancelled
RT-Thread BSP Static Build Check / others_at32_hc32_ht32 (push) Has been cancelled
RT-Thread BSP Static Build Check / riscv-none (push) Has been cancelled
RT-Thread BSP Static Build Check / riscv64-unknown (push) Has been cancelled
RT-Thread BSP Static Build Check / simulator (push) Has been cancelled
RT-Thread BSP Static Build Check / stm32_f2_f4 (push) Has been cancelled
RT-Thread BSP Static Build Check / stm32_f7_g0_h7_mp15_u5_h5_wb5 (push) Has been cancelled
RT-Thread BSP Static Build Check / stm32f0_f1 (push) Has been cancelled
RT-Thread BSP Static Build Check / stm32l4 (push) Has been cancelled
2025-03-02 16:01:11 +08:00
Shell
9386411d13
feat: mm: added affinity pages allocator
...
This patch introduces a tagged pages allocator to address the existing problems
of page aliasing on specific platforms and the requirement of page coloring.
It implements an affinity-id aware page manager by separating the runtime page
list into two types: a normal single linked-list and a multi-dimensional affinity-list.
Changes:
- Introduced tagged pages allocator and managing algorithm for affinity pages list
- Modified components to support affinity-id list management
- Updated page allocation and freeing functions to handle tagged pages
- Added configuration options for page affinity block size and debugging
- Modified mmap and elf loading to respect affinity settings
- Enhanced page list management to support multi-dimensional affinity-list
Signed-off-by: Shell <smokewood@qq.com >
2025-02-25 11:26:30 +08:00
Chen Wang
c40b79037c
doxygen: add prefix for groups ( #9991 )
...
pkgs_test / change (push) Has been skipped
AutoTestCI / components/cpp11 (push) Has been cancelled
AutoTestCI / kernel/atomic (push) Has been cancelled
AutoTestCI / kernel/atomic/riscv64 (push) Has been cancelled
AutoTestCI / kernel/atomic_c11 (push) Has been cancelled
AutoTestCI / kernel/atomic_c11/riscv64 (push) Has been cancelled
AutoTestCI / kernel/device (push) Has been cancelled
AutoTestCI / kernel/ipc (push) Has been cancelled
AutoTestCI / kernel/irq (push) Has been cancelled
AutoTestCI / kernel/mem (push) Has been cancelled
AutoTestCI / kernel/mem/riscv64 (push) Has been cancelled
AutoTestCI / kernel/thread (push) Has been cancelled
AutoTestCI / kernel/timer (push) Has been cancelled
AutoTestCI / rtsmart/aarch64 (push) Has been cancelled
AutoTestCI / rtsmart/arm (push) Has been cancelled
AutoTestCI / rtsmart/riscv64 (push) Has been cancelled
AutoTestCI / components/utest (push) Has been cancelled
RT-Thread BSP Static Build Check / ESP32C3 (push) Has been cancelled
RT-Thread BSP Static Build Check / Infineon_TI_microchip (push) Has been cancelled
RT-Thread BSP Static Build Check / RT-Thread Online Packages (STM32F407 RT-Spark) (push) Has been cancelled
RT-Thread BSP Static Build Check / RTduino/Arduino Libraries (Raspberry Pico) (push) Has been cancelled
RT-Thread BSP Static Build Check / RTduino/Arduino Libraries (STM32F412 Nucleo) (push) Has been cancelled
RT-Thread BSP Static Build Check / aarch64 (push) Has been cancelled
RT-Thread BSP Static Build Check / gd32_n32_apm32 (push) Has been cancelled
RT-Thread BSP Static Build Check / hpmicro (push) Has been cancelled
RT-Thread BSP Static Build Check / i386-unknown (push) Has been cancelled
RT-Thread BSP Static Build Check / llvm-arm (push) Has been cancelled
RT-Thread BSP Static Build Check / mips (push) Has been cancelled
RT-Thread BSP Static Build Check / nordic(yml) (push) Has been cancelled
RT-Thread BSP Static Build Check / nuvoton (push) Has been cancelled
RT-Thread BSP Static Build Check / nxp_renesas (push) Has been cancelled
RT-Thread BSP Static Build Check / others_at32_hc32_ht32 (push) Has been cancelled
RT-Thread BSP Static Build Check / riscv-none (push) Has been cancelled
RT-Thread BSP Static Build Check / riscv64-unknown (push) Has been cancelled
RT-Thread BSP Static Build Check / simulator (push) Has been cancelled
RT-Thread BSP Static Build Check / stm32_f2_f4 (push) Has been cancelled
RT-Thread BSP Static Build Check / stm32_f7_g0_h7_mp15_u5_h5_wb5 (push) Has been cancelled
RT-Thread BSP Static Build Check / stm32l4_f0_f1 (push) Has been cancelled
BSP compilation with more drivers / BSP Compilation with More Drivers (push) Has been cancelled
doc_doxygen / doxygen_doc generate (push) Has been cancelled
doc_doxygen / deploy (push) Has been cancelled
* doxygen: add prefix for groups
Add "group_" prefix to doxygen group names. This makes
it easier to grep with group name later.
This patch only modifies the groups defined in the pathes
of INPUT of documentation/Doxyfile:
INPUT = . \
../src \
../include \
../components/finsh \
../components/drivers/include/drivers \
../components/drivers/clk \
../components/dfs/dfs_v2/src \
../components/dfs/dfs_v2/include
Other groups are not touched.
Signed-off-by: Chen Wang <unicorn_wang@outlook.com >
* ci: fixed error report when run file_check.py
Such as:
- "please delete extra space at the end of this line."
- "the RT-Thread error code should return negative value. e.g. return
-RT_ERROR"
Signed-off-by: Chen Wang <unicorn_wang@outlook.com >
---------
Signed-off-by: Chen Wang <unicorn_wang@outlook.com >
2025-02-15 12:15:19 +08:00
GuEe-GUI
f20e8973be
[DFS/ISO9660] Remove warning for ops
...
Signed-off-by: GuEe-GUI <2991707448@qq.com >
2025-02-11 14:58:18 +08:00
heyuanjie87
d3d33ff983
[dfs]mmap的文件在关闭后释放file指针 ( #9917 )
...
* [dfs]mmap的文件在关闭后释放file指针
2025-02-09 15:55:30 +08:00
zms123456
4343d32df4
[components][fs]sync procfs ( #9206 )
...
ToolsCI / Tools (push) Waiting to run
AutoTestCI / components/cpp11 (push) Waiting to run
AutoTestCI / kernel/atomic (push) Waiting to run
AutoTestCI / kernel/atomic/riscv64 (push) Waiting to run
AutoTestCI / kernel/atomic_c11 (push) Waiting to run
AutoTestCI / kernel/atomic_c11/riscv64 (push) Waiting to run
AutoTestCI / kernel/device (push) Waiting to run
AutoTestCI / kernel/ipc (push) Waiting to run
AutoTestCI / kernel/irq (push) Waiting to run
AutoTestCI / kernel/mem (push) Waiting to run
AutoTestCI / kernel/mem/riscv64 (push) Waiting to run
AutoTestCI / kernel/thread (push) Waiting to run
AutoTestCI / kernel/timer (push) Waiting to run
AutoTestCI / rtsmart/aarch64 (push) Waiting to run
AutoTestCI / rtsmart/arm (push) Waiting to run
AutoTestCI / rtsmart/riscv64 (push) Waiting to run
AutoTestCI / components/utest (push) Waiting to run
RT-Thread BSP Static Build Check / ESP32C3 (push) Waiting to run
RT-Thread BSP Static Build Check / Infineon_TI_microchip (push) Waiting to run
RT-Thread BSP Static Build Check / RT-Thread Online Packages (STM32F407 RT-Spark) (push) Waiting to run
RT-Thread BSP Static Build Check / RTduino/Arduino Libraries (Raspberry Pico) (push) Waiting to run
RT-Thread BSP Static Build Check / RTduino/Arduino Libraries (STM32F412 Nucleo) (push) Waiting to run
RT-Thread BSP Static Build Check / aarch64 (push) Waiting to run
RT-Thread BSP Static Build Check / gd32_n32_apm32 (push) Waiting to run
RT-Thread BSP Static Build Check / hpmicro (push) Waiting to run
RT-Thread BSP Static Build Check / i386-unknown (push) Waiting to run
RT-Thread BSP Static Build Check / llvm-arm (push) Waiting to run
RT-Thread BSP Static Build Check / mips (push) Waiting to run
RT-Thread BSP Static Build Check / nordic(yml) (push) Waiting to run
RT-Thread BSP Static Build Check / nuvoton (push) Waiting to run
RT-Thread BSP Static Build Check / nxp_renesas (push) Waiting to run
RT-Thread BSP Static Build Check / others_at32_hc32_ht32 (push) Waiting to run
RT-Thread BSP Static Build Check / riscv-none (push) Waiting to run
RT-Thread BSP Static Build Check / riscv64-unknown (push) Waiting to run
RT-Thread BSP Static Build Check / simulator (push) Waiting to run
RT-Thread BSP Static Build Check / stm32_f2_f4 (push) Waiting to run
RT-Thread BSP Static Build Check / stm32_f7_g0_h7_mp15_u5_h5_wb5 (push) Waiting to run
RT-Thread BSP Static Build Check / stm32l4_f0_f1 (push) Waiting to run
BSP compilation with more drivers / BSP Compilation with More Drivers (push) Waiting to run
pkgs_test / change (push) Has been skipped
doc_doxygen / doxygen_doc generate (push) Has been cancelled
doc_doxygen / deploy (push) Has been cancelled
* add procfs
* fix ref count check error
2025-01-14 14:18:39 +08:00
zms123456
0ae537e531
[components][dfs]separate dfs fs data structure ops ( #9205 )
...
separate dfs fs data structure ops
2025-01-14 14:17:00 +08:00
wycwyhwyq
53bd56ccf9
[components][dfs_v2]: Fix dfs_devfs_open memory leak
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:cpp11/cpp11.conf QEMU_ARCH:arm QEMU_MACHINE:vexpress-a9 RTT_BSP:bsp/qemu-vexpress-a9 RUN:yes SD_FILE:sd.bin UTEST:components/cpp11]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:kernel/atomic.conf QEMU_ARCH:arm QEMU_MACHINE:vexpress-a9 RTT_BSP:bsp/qemu-vexpress-a9 RUN:yes SD_FILE:sd.bin UTEST:kernel/atomic]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:kernel/atomic.conf QEMU_ARCH:riscv64 QEMU_MACHINE:virt RTT_BSP:bsp/qemu-virt64-riscv RUN:yes SD_FILE:None UTEST:kernel/atomic/riscv64]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:kernel/atomic_c11.conf QEMU_ARCH:arm QEMU_MACHINE:vexpress-a9 RTT_BSP:bsp/qemu-vexpress-a9 RUN:yes SD_FILE:sd.bin UTEST:kernel/atomic_c11]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:kernel/atomic_c11.conf QEMU_ARCH:riscv64 QEMU_MACHINE:virt RTT_BSP:bsp/qemu-virt64-riscv RUN:yes SD_FILE:None UTEST:kernel/atomic_c11/riscv64]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:kernel/device.conf QEMU_ARCH:arm QEMU_MACHINE:vexpress-a9 RTT_BSP:bsp/qemu-vexpress-a9 RUN:yes SD_FILE:sd.bin UTEST:kernel/device]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:kernel/ipc.conf QEMU_ARCH:arm QEMU_MACHINE:vexpress-a9 RTT_BSP:bsp/qemu-vexpress-a9 RUN:yes SD_FILE:sd.bin UTEST:kernel/ipc]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:kernel/irq.conf QEMU_ARCH:arm QEMU_MACHINE:vexpress-a9 RTT_BSP:bsp/qemu-vexpress-a9 RUN:yes SD_FILE:sd.bin UTEST:kernel/irq]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:kernel/mem.conf QEMU_ARCH:arm QEMU_MACHINE:vexpress-a9 RTT_BSP:bsp/qemu-vexpress-a9 RUN:yes SD_FILE:sd.bin UTEST:kernel/mem]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:kernel/mem.conf QEMU_ARCH:riscv64 QEMU_MACHINE:virt RTT_BSP:bsp/qemu-virt64-riscv RUN:yes SD_FILE:None UTEST:kernel/mem/riscv64]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:kernel/thread.conf QEMU_ARCH:arm QEMU_MACHINE:vexpress-a9 RTT_BSP:bsp/qemu-vexpress-a9 RUN:yes SD_FILE:sd.bin UTEST:kernel/thread]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:kernel/timer.conf QEMU_ARCH:arm QEMU_MACHINE:vexpress-a9 RTT_BSP:bsp/qemu-vexpress-a9 RUN:yes SD_FILE:sd.bin UTEST:kernel/timer]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:rtsmart/base.conf QEMU_ARCH:aarch64 QEMU_MACHINE:virt RTT_BSP:bsp/qemu-virt64-aarch64 RUN:no SD_FILE:sd.bin UTEST:rtsmart/aarch64]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:rtsmart/base.conf QEMU_ARCH:arm QEMU_MACHINE:vexpress-a9 RTT_BSP:bsp/qemu-vexpress-a9 RUN:no SD_FILE:sd.bin UTEST:rtsmart/arm]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:rtsmart/base.conf QEMU_ARCH:riscv64 QEMU_MACHINE:virt RTT_BSP:bsp/qemu-virt64-riscv RUN:yes SD_FILE:None UTEST:rtsmart/riscv64]) (push) Waiting to run
AutoTestCI / ${{ matrix.legs.UTEST }} (map[CONFIG_FILE:utest_self/self.conf QEMU_ARCH:arm QEMU_MACHINE:vexpress-a9 RTT_BSP:bsp/qemu-vexpress-a9 RUN:yes SD_FILE:sd.bin UTEST:components/utest]) (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:ESP32C3 RTT_TOOL_CHAIN:sourcery-riscv32-esp32 SUB_RTT_BSP:[ESP32_C3]]) (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:Infineon_TI_microchip RTT_TOOL_CHAIN:sourcery-arm SUB_RTT_BSP:[Infineon/psoc6-cy8ckit-062S2-43012 Infineon/psoc6-cy8ckit-062-BLE Infineon/psoc6-cy8ckit-062s4 Infineon/psoc6-cy8ckit-062-WIFI-BT Infineon/psoc6-cy8c… (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:RT-Thread Online Packages (STM32F407 RT-Spark) RTT_TOOL_CHAIN:sourcery-arm SUB_RTT_BSP:[stm32/stm32f407-rt-spark]]) (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:RTduino/Arduino Libraries (Raspberry Pico) RTT_TOOL_CHAIN:sourcery-arm SUB_RTT_BSP:[raspberry-pico]]) (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:RTduino/Arduino Libraries (STM32F412 Nucleo) RTT_TOOL_CHAIN:sourcery-arm SUB_RTT_BSP:[stm32/stm32f412-st-nucleo]]) (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:aarch64 RTT_TOOL_CHAIN:sourcery-aarch64 SUB_RTT_BSP:[qemu-virt64-aarch64 raspberry-pi/raspi3-64 raspberry-pi/raspi4-64 phytium/aarch64]]) (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:gd32_n32_apm32 RTT_TOOL_CHAIN:sourcery-arm SUB_RTT_BSP:[gd32/arm/gd32103c-eval gd32/arm/gd32105c-eval gd32/arm/gd32105r-start gd32/arm/gd32107c-eval gd32/arm/gd32205r-start gd32/arm/gd32207i-eval gd32/arm/gd32303… (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:hpmicro RTT_TOOL_CHAIN:RISC-V-GCC-RV32 SUB_RTT_BSP:[hpmicro/hpm6750evkmini hpmicro/hpm6750evk hpmicro/hpm6750evk2 hpmicro/hpm6300evk hpmicro/hpm6200evk hpmicro/hpm5300evk hpmicro/hpm5301evklite hpmicro/hpm6800evk… (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:i386-unknown RTT_TOOL_CHAIN:sourcery-i386-unknown-elf SUB_RTT_BSP:[x86]]) (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:llvm-arm RTT_TOOL_CHAIN:llvm-arm SUB_RTT_BSP:[stm32/stm32l475-atk-pandora]]) (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:mips RTT_TOOL_CHAIN:sourcery-mips SUB_RTT_BSP:[loongson/ls1bdev loongson/ls2kdev loongson/ls1cdev]]) (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:nordic(yml) RTT_TOOL_CHAIN:sourcery-arm SUB_RTT_BSP:[nrf5x/nrf51822 nrf5x/nrf52832 nrf5x/nrf52833 nrf5x/nrf52840 nrf5x/nrf5340]]) (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:nuvoton RTT_TOOL_CHAIN:sourcery-arm SUB_RTT_BSP:[nuvoton/numaker-pfm-m487 nuvoton/numaker-hmi-ma35d1 nuvoton/numaker-iot-m487 nuvoton/numaker-m032ki nuvoton/numaker-iot-m467 nuvoton/numaker-m467hj nuvoton/nk-n9h3… (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:nxp_renesas RTT_TOOL_CHAIN:sourcery-arm SUB_RTT_BSP:[nxp/lpc/lpc55sxx/lpc55s69_nxp_evk nxp/lpc/lpc55sxx/lpc55s28_nxp_evk nxp/lpc/lpc55sxx/lpc55s06_nxp_evk nxp/lpc/lpc55sxx/lpc55s16_nxp_evk nxp/lpc/lpc55sxx/lpc55s… (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:others_at32_hc32_ht32 RTT_TOOL_CHAIN:sourcery-arm SUB_RTT_BSP:[qemu-vexpress-a9 airm2m/air32f103 acm32/acm32f0x0-nucleo CME_M7 apollo2 asm9260t allwinner_tina ft32/ft32f072xb-starter mini2440 at91/at91sam9g45 at9… (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:riscv-none RTT_TOOL_CHAIN:sourcery-riscv-none-embed SUB_RTT_BSP:[k210]]) (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:riscv64-unknown RTT_TOOL_CHAIN:sourcery-riscv64-unknown-elf SUB_RTT_BSP:[bluetrum/ab32vg1-ab-prougen bouffalo_lab/bl60x bouffalo_lab/bl70x]]) (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:simulator RTT_TOOL_CHAIN:gcc SUB_RTT_BSP:[simulator]]) (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:stm32_f2_f4 RTT_TOOL_CHAIN:sourcery-arm SUB_RTT_BSP:[stm32/stm32f207-st-nucleo stm32/stm32f302-st-nucleo stm32/stm32f334-st-nucleo stm32/stm32f401-st-nucleo stm32/stm32f401-weact-blackpill stm32/stm32f405-smdz-br… (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:stm32_f7_g0_h7_mp15_u5_h5_wb5 RTT_TOOL_CHAIN:sourcery-arm SUB_RTT_BSP:[stm32/stm32f746-st-disco stm32/stm32f746-st-nucleo stm32/stm32f767-atk-apollo stm32/stm32f767-fire-challenger-v1 stm32/stm32f767-st-nucleo st… (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (map[RTT_BSP:stm32l4_f0_f1 RTT_TOOL_CHAIN:sourcery-arm SUB_RTT_BSP:[stm32/stm32l4r5-st-nucleo stm32/stm32l4r9-st-eval stm32/stm32l4r9-st-sensortile-box stm32/stm32l010-st-nucleo stm32/stm32l053-st-nucleo stm32/stm32l412-st-nu… (push) Waiting to run
BSP compilation with more drivers / BSP Compilation with More Drivers (push) Waiting to run
pkgs_test / change (push) Waiting to run
2025-01-09 19:07:56 +08:00
Shell
6c6c5f5d35
feat: Kconfig: collecting some config to sub-menu
...
To improve the readability of the menuconfig.
Signed-off-by: Shell <smokewood@qq.com >
2025-01-06 19:34:16 +08:00
Shell
8507c38222
fixup: umount: set errno according to POSIX
...
According to the POSIX.1, we should give a EBUSY on umount(2) of busy
filesystem.
Signed-off-by: Shell <smokewood@qq.com >
2025-01-06 19:34:16 +08:00
Shell
b63b388d1f
feat: add support for dfs remount functionality
...
This patch introduces a remount feature for the DFS, allowing for the
modification of mount parameters without unmounting the filesystem,
the remount functionality helps modify certain mount flags (like `MS_RDONLY`) without
requiring an unmount, providing more control over mounted filesystems in the system.
The updates is essential for user space init proc to cleanup the runtime
resource, ensuring clean handling of cached data and enhancing system
robustness during power down processing.
Changes:
- Defined new constants for remount flags in `dfs_fs.h`.
- Added the `dfs_remount()` function in `dfs_fs.c` to handle remount operations.
- Introduced a check for unsupported flags and handle error conditions such as invalid paths
or non-directory targets.
- Updated the `dfs_mnt` structure in `dfs_mnt.h` to include a read-only flag (`MNT_RDONLY`).
- The `dfs_remount()` function allows changing the read-only status of a mounted filesystem.
- Added `MNT_LAZY_UMNT` and `MNT_RDONLY` flags to `dfs_mnt` structure.
- Introduced `dfs_mnt_setflags` function for dynamic flag management.
- Updated `dfs_remount` to utilize `dfs_mnt_setflags` for flag setting.
- Enhanced unmount operations with `dfs_mnt_umount_iter` and lazy unmounting.
- Added `dfs_pcache_clean` to handle cache cleanup for read-only mounts.
- Improved error reporting in `dfs_umount` for better user feedback.
- Refactored `sys_mount` to streamline parameter handling and support remounts.
- Introduced `_cp_from_usr_string` helper for user-space string operations.
- Updated internal APIs to ensure consistency in reference count management.
Signed-off-by: Shell <smokewood@qq.com >
2025-01-06 19:34:16 +08:00
Shell
944f3d05b5
feat: add system reboot and process teardown support
...
The patch introduces support for system reboot functionality and process teardown,
allowing for a clean shutdown and unmounting of the root filesystem. This is
necessary for ensuring a proper system shutdown process, especially when dealing
with resource cleanup and ensuring that all processes have exited before system
shutdown.
Changes:
- Added `lwp_teardown()` function to handle process cleanup and system teardown.
- Introduced `lwp_pid_wait_for_empty()` to wait for process ID table emptiness
before proceeding with shutdown.
- Updated `dfs_mnt_unref()` to trigger callbacks when unmounting a filesystem.
- Added new reboot types (`RB_AUTOBOOT`, `RB_POWER_OFF`) and implemented their
corresponding actions, including cleanup of processes and unmounting root
filesystem.
- Extended `sys_reboot()` to handle reboot and power off types with appropriate
callbacks for process and filesystem teardown.
- Introduced callback mechanism for root filesystem unmount notifications.
Signed-off-by: Shell <smokewood@qq.com >
2025-01-06 19:34:16 +08:00
yuqingli
a343e1d7a0
[romfs/dfs_romfs.c] _rom_fops add ioctl
2025-01-03 00:39:54 -05:00
yuqingli05
d57b7cb40a
修复编译过程中的 DFS_V2报错、FAL警告
2025-01-01 19:02:50 -05:00
GuEe-GUI
07b114ae73
[DFS/FIXUP] Fixup ISO9660 build
...
Signed-off-by: GuEe-GUI <2991707448@qq.com >
2024-12-18 21:37:51 +08:00
Supper Thomas
5b75e1c8bf
doc(doxyge):fix doxygen path
2024-12-09 17:12:59 -05:00
ligr
1cf97d8565
[components][dfs]add some comments and fix some former comments error for dfs v1.
2024-12-03 19:10:21 -05:00
ligr
e9452ee98f
[documentation][dfs]add some comments to dfs posix APIs for supplement.
2024-11-30 21:09:58 -05:00
GUI
42a41c696d
[DM/FEATURE] Support SCSI bus ( #9592 )
...
* [DM/FEATURE] Support block for SCSI
1. Support SD and CD-ROM.
2. SD will port to UFS and ATA device.
Signed-off-by: GuEe-GUI <2991707448@qq.com >
2024-11-22 16:59:37 +08:00
Shell
e763e51e49
feat: devfs: handling unit size in POSIX RW request
...
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 <smokewood@qq.com >
2024-11-13 22:56:07 -05:00
kurisaw
2241f4676b
[libcpu][component] fixed the r52 kernel gcc context switch assembly
2024-11-06 16:09:52 +08:00
yangpeng
c9a1245977
[components][dfs][dfs_v1]cat输出实际读取的长度
2024-10-10 17:44:32 -04:00
Shell
d45e13c471
fixup: dfs_v2: Correct device mode permissions in devfs
...
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 <smokewood@qq.com >
2024-09-15 13:29:43 -04:00
Shell
2cbd5889d1
fixup: dfsv2: seq: aligned proto of lseek to manual
...
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 <smokewood@qq.com >
2024-09-14 13:30:53 -04:00
Shell
679761983d
fixup: ptyfs: CI reported snprintf type issues
2024-09-01 15:12:34 -04:00
zhuzhuzhu
1be24fc7da
【修复】修复link系统调用返回值问题
2024-08-25 10:57:38 -04:00
zhuzhuzhu
dc232080a0
【修复】修复rmdir系统调用返回值不符合用户预期问题
2024-08-25 10:57:15 -04:00
zhuzhuzhu
d9fac09f71
【修复】 修复dup系统调用对用户态的返回值问题
2024-08-25 10:56:47 -04:00
zhuzhuzhu
c4c227e367
【修复】修复symlink系统调用返回值不是预期问题
2024-08-25 10:56:03 -04:00
zhujiale
d086039608
fix_return
2024-08-24 14:44:39 +08:00
zhujiale
afa17ed343
fix_return_err
2024-08-24 14:44:39 +08:00
Rbb666
8c5f24469c
[ci][bsp]fix same54&same70&ls1cdev build errors. ( #9282 )
...
[ci][bsp]fix same54&same70&ls1cdev ci build errors.
2024-08-08 14:08:59 +08:00
Shell
cfa3ecfa9e
bsp: cvitek/c906B: feat: add config of bootfs
...
To support more choice on bootfs. romfs, cromfs are now supported on
risc_v_big platform.
Changes:
- added mount operations under port
- added prototypes for cromfs init APIs
Signed-off-by: Shell <smokewood@qq.com >
Reviewed-on: https://github.com/RT-Thread/rt-thread/pull/9229
Reviewed-by: Chen Wang <unicorn_wang@outlook.com >
2024-07-29 20:16:54 +08:00
Bernard Xiong
937f0dbf5a
Merge pull request #9208 from zmshahaha/errno
...
[components][lwp]fix exec and mount error code
2024-07-18 20:32:06 +08:00
zhao maosheng
a6b2014214
fix exec and mount error code
2024-07-18 13:25:37 +08:00
zhuzhuzhu
4ad194bb47
[fix] fix cromfs read out of mem range ( #9197 )
...
Update dfs_cromfs.c
2024-07-17 09:08:10 +08:00
Shell
1b581d0755
[dfs] Mark dirty on unmap on shared mapping only ( #9195 )
...
[dfs] feat: Mark dirty on unmap for shared mapping
This patch optimizes the pcache varea management by refining the
conditions under which pages are marked dirty, specifically targeting
the unmap operations in the dfs_pcache component. These changes were
necessary to enhance the efficiency of page cache management.
Changes:
- Adjusted include statements in `dfs_pcache.c` for better organization.
- Modified `dfs_aspace_unmap` function:
- Added a check to ensure `varea` is not privately locked before marking a page as dirty.
- Updated `dfs_aspace_page_unmap` function:
- Added a similar check for `varea` lock status before marking a page as dirty.
Signed-off-by: Shell <smokewood@qq.com >
2024-07-16 17:03:54 +08:00
Shell
90917cc75a
[format] cleanup libcpu/aarch64 ( #8950 )
...
* [dfs] fixup compiler warning
Signed-off-by: Shell <smokewood@qq.com >
* [format] libcpu/arm64: separate context switching codes
Signed-off-by: Shell <smokewood@qq.com >
* [format] libcpu/arm64: separate vector
Signed-off-by: Shell <smokewood@qq.com >
* [format] libcpu/arm64: separate context_gcc.S
Signed-off-by: Shell <smokewood@qq.com >
* [format] libcpu/arm64: moving headers to include directory
Signed-off-by: Shell <smokewood@qq.com >
* style: replace tab with space
---------
Signed-off-by: Shell <smokewood@qq.com >
2024-06-28 00:23:09 +08:00
zhuzhuzhu and zhujiale
1869c543a6
[fix]fix tmpfs bug ( #8970 )
...
* first
* second
* thrid
* Update SConscript
* tmpfs testcase default n
* Update dfs_tmpfs.c
* format document
---------
Co-authored-by: zhujiale <zhujiale@rt-thread.com >
2024-06-13 08:54:02 +08:00
Shell
5f947863b4
[dfsv2] fixup out-of-memory access ( #8973 )
...
This change addresses a potential out-of-memory access issue in the
devfs filesystem component. The issue arises when the `rt_malloc`
function allocates memory for a path string without accounting for
the null terminator, leading to undefined behavior.
As the manual documented:
> DESCRIPTION
> The strlen() function calculates the length of the string pointed to
> by s, excluding the terminating null byte ('\0').
To fix this, the memory allocation size was increased by one byte
to ensure space for the null terminator. This prevents potential
out-of-memory access and ensures proper string termination.
Signed-off-by: Shell <smokewood@qq.com >
2024-05-21 19:45:08 +08:00
xiao-mang
c359e93a9c
fix file mmap ( #8865 )
2024-04-28 15:21:02 +08:00
zms123456
be97a8ef25
[components][dfs]remove duplicate lseek in devfs ( #8859 )
...
remove duplicate lseek in devfs
2024-04-25 18:28:43 +08:00
latercomer
3ff2b08d82
[clang-format] 增加clang-format格式化配置,通过ide或者手动运行tools/run-clang-format.py进行代码自动格式化
2024-04-21 01:18:37 -04:00
xiao-mang
98204c249b
fix for art-pi smart
2024-04-19 18:17:20 +08:00
xiao-mang
4de96450be
fix for art-pi smart
2024-04-19 18:17:20 +08:00
xiao-mang
b50a53129f
fix chdir for ash's cd ( #8824 )
2024-04-19 17:58:04 +08:00
geniusgogo
bdfa1ea20a
fix symlink ( #8755 )
...
Signed-off-by: geniusgogo <xpxyr@sina.com >
2024-04-10 23:55:29 +08:00
geniusgogo
651f23a604
[dfsv2] add dfs pwrite pread
2024-04-09 22:26:58 -04:00