summaryrefslogtreecommitdiff
path: root/src/kservice.c
AgeCommit message (Collapse)Author
2023-02-21fix rt_kprint 64bit errorzhkag
2023-02-02[doxygen] Fix some warnings in doxygen (#6899)tuduweb
2023-02-02[Kernel] Add Smart ID in logo show (#6898)Bernard Xiong
2022-12-16[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 (#6740)guo
* [dfs] sync cromfs * [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration * [format] fix some format issue.
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-03sync branch rt-smart. (#6641)guo
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <[email protected]> Co-authored-by: zhkag <[email protected]>
2022-09-07[kernel][version] 采用新的版本宏定义Meco Man
版本控制规范:https://semver.org/ 目前的版本子号不是很规范,其中RT_VERSION甚至和VS那边造成了冲突 ```c /* RT-Thread version information */ #define RT_VERSION 4L /**< major version number */ #define RT_SUBVERSION 1L /**< minor version number */ #define RT_REVISION 1L /**< revise version number */ ``` 参考ESP32: ```c /** Major version number (X.x.x) */ #define ESP_ARDUINO_VERSION_MAJOR 2 /** Minor version number (x.X.x) */ #define ESP_ARDUINO_VERSION_MINOR 0 /** Patch version number (x.x.X) */ #define ESP_ARDUINO_VERSION_PATCH 3 ``` 建议改成: ```c /* Major version number (X.x.x) */ #define RT_VERSION_MAJOR 4 /* Minor version number (x.X.x) */ #define RT_VERSION_MINOR 2 /* Patch version number (x.x.X) */ #define RT_VERSION_PATCH 0 ```
2022-09-02[kservice] 增加printf格式2进制和8进制,RT_KPRINTF_USING_LONGLONG ↵winfenggao
和 RT_PRINTF_SPECIAL 做了相应处理 (#6361) * 增加printf格式2进制和8进制,RT_KPRINTF_USING_LONGLONG 和 RT_PRINTF_SPECIAL 做了相应处理
2022-08-31[kservice][ti c28x]rt_vsnprintf (#6349)Yunjie Gu
2022-08-24[kernel] 修复 rt_memset 使其 word size independent.Yunjie Gu
For compatibility with 16bit addressing 32bit CPU (e.g. TI C28x).
2022-08-14[kservice] 增加换行符Meco Man
2022-08-02Fix some compilation warning (#5744)dongly
* Fix some compilation warning * 补充修正一些数据类型的使用错误 Co-authored-by: Meco Man <[email protected]>
2022-06-29[enhancement] Add string information for error (#3186)a1012112796
* [enhancement]Add string information for error * Update src/kservice.c * Update src/kservice.c Co-authored-by: Man, Jianting (Meco) <[email protected]> * remove %m Signed-off-by: a1012112796 <[email protected]> Co-authored-by: Meco Man <[email protected]>
2022-06-13[kservice] add NULL check for rt_free and rt_free_align.朱天龙 (Armink)
2022-06-08attach: remove strnlen #6026Meco Man
2022-04-29[kernel] remove the register keyword (#5888)Man, Jianting (Meco)
2022-04-19[kernel] enable RT_DEBUG_DEVICE by default and move weak rt_hw_dealy_us in ↵Meco Man
kservice.c
2022-04-09[kconfig] add 64bit default value for stack size. set tick HZ as 1000 by ↵Man, Jianting (Meco)
default (#5778) * [kconfig] add 64bit default value for stack size. set tick HZ as 1000 by default * 用RT_KSERVICE_USING_STDLIB_MEMXXX代替RT_KSERVICE_USING_STDLIB_MEMCP/MEMSET 将RT_KSERVICE_USING_STDLIB设置为默认开启 * 优化rt_kprintf支持longlong的能力,默认在64位CPU为开启状态 RT_PRINTF_LONGLONG命名不规范,更改为RT_KPRINTF_USING_LONGLONG * fix commit error * fix error * 优化 system 函数 * RT_KSERVICE_USING_STDLIB_MEMXXX->RT_KSERVICE_USING_STDLIB_MEMORY
2022-03-21[kservice] Fix 64 bit compilation warning (#5649)Tangyuxin
2022-01-24[kservice] rt_show_version更新年份 (#5552)Man, Jianting (Meco)
2022-01-14[kservice] fix the problem of rt_strlen crashed in win32Meco Man
2022-01-08Merge branch 'master' into masterGabriel Wang
2022-01-08change all double-empty-lines to single-empty-linesGabriel Wang
2022-01-09[kservice] 增加RT_KSERVICE_USING_STDLIB_MEMSET RT_KSERVICE_USING_STDLIB_MEMCPYMeco Man
2022-01-08[memheap] Fix 64 bit potential risktangyuxin
2022-01-07move some __on_rt_xxxxx_hook from rtdef.h to dedicated c soure filesGabriel Wang
2021-12-22[kservice] implement rt_strcpy()Meco Man
2021-12-19[kservice] remove RT_USING_ASM_MEMCPY RT_USING_ASM_MEMSETMeco Man
2021-12-16分离内存分配接口与内存分配算法 (#5175)Tangyuxin
* [kernel][mem] Multiple instances of small memory allocation algorithm * [kernel][mem] Change small memory management algorithm memory header flag * [kernel][mem] Fix assertion problem * [kernel][slab] Multiple instances of slab memory management algorithm * [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces * [kernel][mem] Clean up memory space of small memory management objects * [kernel][kservice] Add memory application interface and thread protection interface * [kernel][kservice] Fix function return value problem * [kernel][memheap] Optimize memheaptrace print * [kernel][memheap] Support best mode * [kernel][memory] Remove semaphore lock * [kernel][memheap] Add locked flag * [kernel][memory] Support malloc memory in interrupt * [kernel][memheap] Add 'memheapcheck' cmd * [kernel][mem] Fix failure to request full memory * [kernel][memheap] Fix compilation warning * [kernel][mem] Fix mem realloc ASSERT * [examples][testcases] Add small mem testcase * [examples][mem_tc] Modify test memory size * [examples][testcases] Add slab memory management algorithm test case * [examples][testcases] fix small memory management algorithm test case * [kernel][memory] Adjusting memory allocation algorithm object definition and interface * [kernel][memory] Fix compilation warning * [examples][utest] Fix mem test case * [examples][utest] fix slab test case * [utest][testcases] Shorten test time * [kernel][memory] Formatting code * [examples][utest] Adjust test run time * [examples][utest] Formatting code * [bsp] update all rtconfig.h
2021-11-27[kservice] 精简RT_PRINTF_PRECISIONMeco Man
2021-11-27[kservice] 优化RT_PRINTF_LONGLONG,减少重复代码Meco Man
2021-11-16[kservice] add return value's commentMeco Man
2021-11-16将返回值类型由signed int改为int,符合ISO ↵Meco Man
C标准,防止编译器报错
2021-11-11Merge branch 'master' into weakJianting (Meco) Man
2021-11-11Merge pull request #5063 from Eureka1024/masterBernard Xiong
[kernel]增加一种新的查找字节最低非0位的算法
2021-11-09Update kservice.c杨澄
2021-11-07[kservice] add RT_WEAK for rt_vsnprintfMeco Man
2021-11-07精简简化版的__rt_ffs()函数杨澄
2021-11-07Update kservice.c杨澄
2021-10-14Merge remote-tracking branch 'remotes/gitee/gitee_master'guozhanxin
2021-10-13修改size_t为rt_size_tmazhiyuan
2021-10-12fixed bug #5138Meco Man
2021-10-11[Kernel] Add build time to the boot printingnrush
When the firmware is built many times in a day, we can not distinguish them by current boot printing for the lack of compile time. So, it is necessary to add __TIME__ to rt_show_version(). Signed-off-by: nrush <[email protected]>
2021-09-18[update] functions annotation.liukangcc
2021-09-15增加一种新的查找字节最低非0位的算法杨澄
2021-09-14[kservice] 完善 API 注释Sherman
2021-08-03[src][Kconfig] 增加隐性RT_USING_ASM_MEMCPY定义Meco Man
2021-07-09[components][kernel] 解决多核下 finsh 不能响应串口输入问题xukai
2021-06-13将defined(__CC_ARM) || defined(__CLANG_ARM) 改为 ifdef __ARMCC_VERSIONMeco Man
2021-06-13Merge pull request #4785 from mysterywolf/endifguo
[kernel] 补充endif后缀注释