openharmony_ci
0247e421c7
!192 修复M核上musl库缺失strdup.c的问题
...
Merge pull request !192 from li_zan/master
2021-06-18 09:43:14 +08:00
kenneth
430b186be7
feat: add LOS_ListHeadInsert function
...
注释中@see部分提到了函数LOS_ListHeadInsert,但是该函数没有定义,增加该函数的定义。
close #I3TAQA
Signed-off-by: kenneth <459864689@qq.com>
2021-06-18 09:01:25 +08:00
kenneth
eb668eb9e0
fix: add API LOS_HwiCreate and LOS_HwDelete
...
新增对外接口LOS_HwiCreate、LOS_HwiDelete
close #I3R75F
Signed-off-by: kenneth <459864689@qq.com>
2021-06-18 08:53:22 +08:00
li_zan
139f83af39
fix: 修复M核上musl库缺失strdup,c的问题
...
close:#I3VZSI
Signed-off-by: li_zan <371442490@qq.com>
2021-06-17 20:28:47 +08:00
zhushengle
bcec32e389
fix: 延时队列为NULL时,返回的响应时间为64位最大值,导致无法更新tick timer的响应周期
...
问题描述:
当g_schedResponseTime = OS_SCHED_MAX_RESPONSE_TIME,且nextExpireTime =(UINT64-1时,
表示系统的延时队列已为NULL, 此时tick timer 中应该设置为最大值,但由于判断
g_schedResponseTime - nextExpireTime >= OS_CYCLE_PER_TICK,导致条件不成立,直接返回,
无法将其设置为最大值,导致tick 中断一直频繁响应。
解决方案:
将延时队列为NULL时的返回值以及idle线程的时间片修改为OS_SCHED_MAX_RESPONSE_TIME - OS_CYCLE_PER_TICK,
保证延时队列为NULL,能够正常设置tick响应的最大值。
Close #I3W1LF
Change-Id: I0d09119240ae5a50ddcb0c96fb23cd3d6e70b892
Signed-off-by: zhushengle <zhushengle@huawei.com>
2021-06-17 20:23:13 +08:00
openharmony_ci
491920548c
!191 修复littlefs编译fs.c缺少头文件件依赖配置
...
Merge pull request !191 from li_zan/master
2021-06-17 19:24:50 +08:00
li_zan
7259289bd9
fix: 修复littlefs编译fs.c缺少头文件件依赖配置+若干musl库的缺失问题+多分区规格宏配置问题
...
close:#I3VT11
Signed-off-by: li_zan <371442490@qq.com>
2021-06-17 17:03:41 +08:00
openharmony_ci
6e162a9318
!190 修正有关makefile文件中bounds_checking_function的路径配置
...
Merge pull request !190 from Caoruihong/master
2021-06-17 09:30:40 +08:00
openharmony_ci
94e620acd0
!189 fix: fix backtrace check issue
...
Merge pull request !189 from rtos-lover/bt_fix
2021-06-16 21:00:44 +08:00
Caoruihong
5c0a6fffea
chore: bounds_checking_function is under //third_party
...
the copy of bounds_checking_function under components was removed,
we should use the copy of bounds_checking_function under //third_party
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Ib5c392f4d592a2fe6f26f6c1e1ea60f1faa836b9
2021-06-16 17:54:58 +08:00
rtos-lover
b6664e66f1
fix: fix backtrace check issue
...
fix issue that when memleak check is enabled, backtace is not enabled
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3VTKD
Signed-off-by: rtos-lover <zhushangyuan@hotmail.com>
2021-06-16 17:12:41 +08:00
openharmony_ci
468ce69f27
!180 update: rename LOS_BackTraceInit
...
Merge pull request !180 from kenneth/BackTraceInit
2021-06-16 13:45:04 +08:00
openharmony_ci
48067a0596
!178 littlefs三方源码采用GN编译修改上库+默认Mount路径可配置
...
Merge pull request !178 from li_zan/master
2021-06-16 10:58:13 +08:00
kenneth
a0a32188ff
update: rename LOS_BackTraceInit
...
change function name LOS_BackTraceInit and involve it in los_init.c when macro is not set to 0
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3SYQQ
Signed-off-by: kenneth <459864689@qq.com>
2021-06-16 08:51:00 +08:00
li_zan
bdb614bc2b
fix: littlefs三方源码采用GN编译修改上库
...
close:I3VJ6X
Signed-off-by: li_zan <371442490@qq.com>
2021-06-15 19:56:50 +08:00
openharmony_ci
3c35617816
!179 通过public_configs方式对外提供cmsis和posix的对外头文件路径
...
Merge pull request !179 from Caoruihong/master
2021-06-15 16:48:41 +08:00
Caoruihong
420e781f33
chore: adjust path of posix header files
...
path of posix header files are exposed via public_configs
of //kernel/liteos_m/kal/posix
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Id838549e1a952d6ddb8664792570f265edfbd91c
2021-06-15 12:11:12 +08:00
openharmony_ci
749bd8a481
!176 musl归一化后调整libc的构建
...
Merge pull request !176 from Caoruihong/porting2
2021-06-11 17:36:29 +08:00
openharmony_ci
9b656ac3c1
!172 fix: fix print format compilation warning
...
Merge pull request !172 from kenneth/printf_format_warning
2021-06-11 13:19:52 +08:00
Caoruihong
a5660c2217
chore: remove the files copied from musl
...
copied and auto-generated files are redundant and should not be tracked.
Change-Id: I22bb3a1873ba6e0be3008306624b50772cdc91b5
Signed-off-by: Caoruihong <crh.cao@huawei.com>
2021-06-11 11:26:58 +08:00
openharmony_ci
a3ab46ec31
!175 修复M核littlefs GN编译的若干错误
...
Merge pull request !175 from li_zan/master
2021-06-11 11:23:45 +08:00
li_zan
d77828e206
fix: 修复M核littlefs GN编译的若干错误
...
close:I3V7ZH
Signed-off-by: li_zan <371442490@qq.com>
2021-06-11 09:48:32 +08:00
kenneth
ef12c89c7a
fix: fix print format compilation warning
...
fix print format compilation warning by changing 0x%x to 0x%p
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3OFSQ
Signed-off-by: kenneth <459864689@qq.com>
2021-06-10 14:52:47 +08:00
openharmony_ci
db89b353e9
!166 修复fatfs文件系统中部分指针访问前未判空、全局变量保护不完全问题。
...
Merge pull request !166 from JING/fatfs
2021-06-10 13:21:37 +08:00
openharmony_ci
9781662cea
!135 添加backtrace for riscv在不打开frame-pointer的提前下
...
Merge pull request !135 from JerryH/backtrace
2021-06-09 11:46:03 +08:00
JerryH
97a5b6d8dc
Merge branch 'master' of gitee.com:openharmony/kernel_liteos_m into backtrace
2021-06-09 10:41:58 +08:00
openharmony_ci
0ba33abcd1
!174 m核上littlefs新增错误码功能
...
Merge pull request !174 from li_zan/master
2021-06-09 09:48:44 +08:00
li_zan
a062378631
fix: m核上littlefs新增错误码功能
...
close:#I3UVMQ
Signed-off-by: li_zan <371442490@qq.com>
2021-06-08 19:13:44 +08:00
openharmony_ci
bd307591b4
!173 fs接口用例补充
...
Merge pull request !173 from wangchen/testsuit
2021-06-07 23:02:46 +08:00
wangchen
2a95af5bf1
feat: 补充fs相关函数用例
...
【背景】当前fs部分函数缺少配套用例。
【修改方案】
1. 在unittest目录下新增fopen等17个接口的用例。
【影响】
对现有的产品编译不会有影响。
re #I3UQ4F
Signed-off-by: wangchen <253227059@qq.com>
2021-06-07 21:59:22 +08:00
openharmony_ci
2f6ab80a06
!170 解决fclose等函数工具链重定义问题
...
Merge pull request !170 from wangchen/master
2021-06-07 21:02:56 +08:00
openharmony_ci
f3a3114ac7
!163 mbedtls适配l0
...
Merge pull request !163 from 野生毛霉君/master
2021-06-07 14:38:27 +08:00
openharmony_ci
7ab7ae7ae7
!137 fix: fix typos
...
Merge pull request !137 from rtos-lover/los_sched.c
2021-06-05 13:53:35 +08:00
wangchen
b244ad4ad0
feat: 解决fclose等函数工具链重定义问题
...
【背景】当前部分单板编译fclose等函数时与对应的gcc工具链重定义。
【修改方案】
1. fclose等函数新增weak定义,并恢复与musl源码一致。
2.外层添加wrap函数,用于配合gcc的--wrap选项。
【影响】
对现有的产品编译不会有影响,报重定义的工程需单独在自己的build.gn中添加
--wrap=xxx。
re #I3UG6O
Signed-off-by: wangchen <253227059@qq.com>
2021-06-05 11:30:16 +08:00
chenjing
bc7a914bce
fix: protect from accssing NULL pointer, access g_handle after fslock
...
close #I3UCX3
Signed-off-by: chenjing <chenjing139@huawei.com>
Change-Id: Ie4d5c1923c2d49e283c77f46d01784bed065a507
2021-06-04 16:20:11 +08:00
mucor
761b86096c
fix(mbedtls): mbedtls l0 support
...
close: #I3UBJA
Signed-off-by: mucor <mucorwang@gmail.com>
2021-06-04 16:07:06 +08:00
openharmony_ci
beea9963f7
!161 fix: fix NULL、UNUSED redefined issue
...
Merge pull request !161 from kenneth/NULL_redefined3
2021-06-04 14:51:52 +08:00
openharmony_ci
3d2a102d35
!160 fix: fatfs中宏FS_LOCK_TIMEMOUT_SEC拼写错误
...
Merge pull request !160 from zhushengle/fs
2021-06-04 14:47:51 +08:00
openharmony_ci
58c330f594
!159 fix: remove project files
...
Merge pull request !159 from kenneth/README.md
2021-06-04 14:46:21 +08:00
openharmony_ci
af9b9ee7fe
!157 fix: comment error
...
Merge pull request !157 from kenneth/los_backtrace.h2
2021-06-04 14:44:56 +08:00
openharmony_ci
9d77efe6aa
!156 fix: correct the counter of exception type
...
Merge pull request !156 from kenneth/los_arch_interrupt.h2
2021-06-04 14:44:41 +08:00
openharmony_ci
70713c705f
!155 fix: fix typo in comment
...
Merge pull request !155 from kenneth/los_queue_want2
2021-06-04 14:44:09 +08:00
openharmony_ci
162673b546
!154 fix: change cpup retval range
...
Merge pull request !154 from kenneth/LOS_HistorySysCpuUsage2
2021-06-04 14:43:42 +08:00
kenneth
765bd55199
fix: fix NULL UNUSED redefined issue
...
change NULL、 UNUSED macro definition
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3E9S3
Signed-off-by: kenneth <459864689@qq.com>
2021-06-04 10:58:43 +08:00
zhushengle
42dc308369
fix: Fixed a spelling error in FS_LOCK_TIMEOUT_SEC.
...
Close #I3TL66
Change-Id: Id7facf210d7bc3c29c631e2f0b48a332e7f1348c
Signed-off-by: zhushengle <zhushengle@huawei.com>
2021-06-04 10:40:44 +08:00
kenneth
4ad01ced93
fix: remove project files
...
update README.md file to remove the project files
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3U5QQ
Signed-off-by: kenneth <459864689@qq.com>
2021-06-04 09:43:39 +08:00
kenneth
a37b73d759
fix: comment error
...
correct typo in comments
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3SLNU
Signed-off-by: kenneth <459864689@qq.com>
2021-06-03 20:49:18 +08:00
kenneth
bff65877a2
fix: correct the counter of exception type
...
correct the counter of exception type from 19 to 21
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3SR54
Signed-off-by: kenneth <459864689@qq.com>
2021-06-03 20:45:12 +08:00
kenneth
811d3fae8a
fix: fix typo in comment
...
The word wantted is misspelled and should be changed to wanted. And expected-size is better than wanted size.
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3RW6C
Signed-off-by: kenneth <459864689@qq.com>
2021-06-03 20:39:33 +08:00
kenneth
d00a35ba92
fix: change cpup retval range
...
change cpup range from 100 to 1000
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3SXJ7
Signed-off-by: kenneth <459864689@qq.com>
2021-06-03 20:34:28 +08:00