summaryrefslogtreecommitdiff
path: root/include/rtdef.h
AgeCommit message (Collapse)Author
2024-06-26[doc][doxygen] Fix doxygen struct error.supperthomas
Signed-off-by: supperthomas <[email protected]>
2024-06-20[timer]add all soft timer config (#9048)zms123456
* add all soft timer * update wq * add timer test * shield LOG_D
2024-06-04[smart] add CPU/thread usage tracing config (#8947)Shell
* [smart] add CPU usage tracing config This patch introduces following features: - Added CPU usage tracing functionality, enabled by default, for applications like 'top' - update time as smart independent Signed-off-by: Shell <[email protected]> * fixup: add ump idle thread --------- Signed-off-by: Shell <[email protected]>
2024-05-30[Feature] Support simple power domain API (#9005)GUI
* [Feature] Power domain for device 1.Support device power on/off. 2.Support attach/detach device. 3.Support power domain driver api. Signed-off-by: GuEe-GUI <[email protected]> * [DM/platform] Enhanced platform bus 1.Add power domain for device. 2.Support `remove` and `shutdown` bus interface. Signed-off-by: GuEe-GUI <[email protected]> --------- Signed-off-by: GuEe-GUI <[email protected]>
2024-05-28[arm64] add hw thread self (#8942)Shell
* [libcpu] arm64: Add hardware thread_self support This patch introduces hardware-based thread self-identification for the AArch64 architecture. It optimizes thread management by using hardware registers to store and access the current thread's pointer, reducing overhead and improving overall performance. Changes include: - Added `ARCH_USING_HW_THREAD_SELF` configuration option. - Modified `rtdef.h`, `rtsched.h` to conditionally include `critical_switch_flag` based on the new config. - Updated context management in `context_gcc.S`, `cpuport.h` to support hardware-based thread self. - Enhanced `scheduler_mp.c` and `thread.c` to leverage the new hardware thread self feature. These modifications ensure better scheduling and thread handling, particularly in multi-core environments, by minimizing the software overhead associated with thread management. Signed-off-by: Shell <[email protected]> * fixup: address suggestion * fixup: rt_current_thread as global * scheduler: add cpu object for UP scheduler Also, maintain the rt_current_thread in cpu object on UP scheduler. --------- Signed-off-by: Shell <[email protected]>
2024-05-17[smart] select console device dynamically (#8949)Shell
* [smart] select console device dynamically - Fixed compiler warning on terminal subsystem for `components/lwp/terminal/terminal.h` - Updated default console setup to dynamically select an appropriate tty device based on the configured console device name. Signed-off-by: Shell <[email protected]> * fixup: remove useless codes --------- Signed-off-by: Shell <[email protected]>
2024-04-16upgrade RT-Thread version to v5.2.0Meco Man
2024-04-15[components][drivers]fix workqueue bugzms123456
fix workqueue bug
2024-04-10add subsys early init level (#8756)geniusgogo
Signed-off-by: geniusgogo <[email protected]>
2024-04-09[drivers/serial] Introduce hooker for TTY (#8733)Shell
In this patch, a hook list has been introduced to address the concerns regarding coupling issues arising from modifications to the serial code for integrating TTY logic. Signed-off-by: Shell <[email protected]>
2024-03-28sync smart & dfs (#8672)Shell
Signed-off-by: xqyjlj <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-03-06[kernel] fix warning of rt_thread_t struct (#8584)Meco Man
2024-02-23🎯 Sync smart & scheduler codes (#8537)Shell
Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-02-19[kernel] fix some strict compiling warningsMeco Man
2024-01-09[drivers][core] 完善设备模型 (#8384)fangjianzhou
2024-01-05✨ feat: delete thread ref (#8456)xqyjlj
2024-01-02[kernel] support for hook listShell
Signed-off-by: Shell <[email protected]>
2024-01-02[kernel] Add hook for malloc servicesShell
Including the patch for memory allocation, testsuites and fixups of static analysis. Signed-off-by: Shell <[email protected]>
2023-12-25[rtdef] remove legacy codeMeco Man
2023-12-21add semaphore max value control. (#8390)geniusgogo
2023-12-21✨ feat(rtdef.h): add rt_always_inlinexqyjlj
2023-11-30[nano] rt-thread susport nano optionMeco Man
2023-11-21[libc] add RT_USING_INTERNAL_LIBC_ONLY macroMeco Man
This option is for RT-Thread Nano version. If select this option, it will not compile components/libc folder and only use tool chain internal libc. Normally, the tool chain internal is only cover ISO standard (e.g. armcc), but some tool chains' internal libc will cover more than ISO standard (e.g. newlib).
2023-11-10fix rt_channel lock. (#8244)geniusgogo
2023-11-10[debug] rename RT_DEBUGING_INIT as RT_DEBUGING_AUTO_INITMeco Man
2023-11-06[rtdef] add comment for RT_USING_LIBC_ISO_ONLY (#8229)Meco Man
2023-10-30实现MPU抽象层 (#8080)tangzz98
- 为RT-Thread设计MPU抽象层,支持ARMV7-M,ARMV8-M架构,让用户使用MPU检测栈溢出等内存问题,实现线程内存隔离 - 在components/mp目录下提供通用的API,libcpu目录下提供各处理器架构的具体实现 - 在STM32U575 NUCLEO, STM32H75 NUCLEO开发板测试通过
2023-10-29[action] Doxygen ci fix (#8191)Supper Thomas
2023-10-25🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)xqyjlj
Signed-off-by: Shell <[email protected]> Co-authored-by: Shell <[email protected]>
2023-10-22[rtdef] remove duplicated rt_device_t defination蒙蒙plus
2023-10-21[kservice] improve backtrace service in kernel (#8144)Shell
Signed-off-by: Shell <[email protected]>
2023-10-20restore smp macro define. (#8151)geniusgogo
2023-10-18[kernel][dm]适配新的设备驱动模型 (#8075)zms123456
2023-10-17Sync dfs lwp (#8123)geniusgogo
2023-10-11change version number to v5.1.0Z8MAN8
2023-10-08Update version number to 5.0.2guozhanxin
2023-09-20[rtdef] attach RT_ETRAP errnoMeco Man
this code will not be used in here, but will be used in other user apps related: 8e6f9cf1be2b08704ff02992dc57d3022bfb073a ecf2d8215961ca7c539132b62a72df6072cc3e14
2023-09-19[rtdef] support POSIX compatible errnoMeco Man
2023-09-18[rtdef] adjust RT_USING_SIGNALS definationMeco Man
2023-09-18[rtdef] add RT_USING_LIBC_ISO_ONLY macroMeco Man
2023-09-06[rtdef] rename RT_CTASSERT to RT_STATIC_ASSERTMeco Man
2023-08-07update components & lwp. (#7888)geniusgogo
2023-07-25[libcpu/arm] fix race condition with ldrex,strex (#7842)Shell
Signed-off-by: Shell <[email protected]>
2023-07-22[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805)Man, Jianting (Meco)
2023-07-20[component/lwp] support more feature of signal from IEEE Std 1003.1-2017 (#7828)Shell
Signed-off-by: Shell <[email protected]>
2023-07-13【dd2.0】Support the Core API for dd2.0 (#7791)ErikChanHub
2023-06-30[atomic]修复bsp/simulator vs2019编译下 atomic 两个volatile的问题 ↵zhkag
(#7736)
2023-06-29[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h (#7750)Shicheng Chu
2023-06-11[rtdef] RT_IS_ALIGN marco add a null address exclusivewdfk-prog
2023-06-09[rtdef] add RT_IS_ALIGN macroMeco Man