Far
b5370af822
fix: codex clean
...
1. 修复可能对NULL指针解引用的场景
2. 将不修改内容的指针入参修改为const
3. 对getpgrp的返回值进行校验后再使用
4. 修复了局部变量未初始化的问题
Close #I3UOFN
Signed-off-by: Far <yesiyuan2@huawei.com>
2021-06-07 17:08:02 +08:00
openharmony_ci
a3cef3f176
!264 补充TODOList
...
Merge pull request !264 from Denny/DennyShen-master-patch-73167
2021-05-21 15:17:08 +08:00
arvinzzz
8cde768588
refactor: Refactored the kernel boot process and added a init framework
...
close: #I3I768
Change-Id: I4f801df4abe1a9afdf43391c28276e96a5e81513
2021-05-20 16:45:43 +08:00
zhushengle
a89fb57f57
fix: Fix kernel page fault exception handling causing system exception.
...
Close #I3RAN4
Change-Id: Ice9bc67371ad85476ec99b46b7555d41abd93e94
2021-05-14 13:12:57 +08:00
zhushengle
e840188a65
fix:User-mode exception handling runs on the thread's SVC stack.
...
Close #I3QFXL
Change-Id: Iaa036651415d93df231916d7534364ad3a86ed3c
2021-05-11 17:19:10 +08:00
openharmony_ci
ca5555e6a5
!190 fix:solve the coupling between the kernel and the structure under ARCH
...
Merge pull request !190 from zhushengle/Stack
2021-05-11 11:46:40 +08:00
zhushengle
1e308db64e
fix:Fixed exception not saving stack pointer of SVC mode and abnormal signal processing issues
...
Close #I3OAFR
Change-Id: I25b14572809b6fabb9e9d17de89a99047c02a59b
2021-05-11 09:58:54 +08:00
zhushengle
f6c4f6f5da
fix: Solution of conflict
...
Change-Id: If6304999f1dfbcdfbc1670b73ace61b8024336bd
2021-05-06 21:10:22 +08:00
openharmony_ci
be4d8e74cc
!201 系统异常信息保存到存储介质中的功能从shell依赖中剥离
...
Merge pull request !201 from zhangfanfan2/master
2021-05-06 20:44:32 +08:00
YOUR_NAME
d846035f3e
feature:the feature of saving system exception information to the
...
storage medium is separated from the shell module.
Change-Id: Id56939001d70bb92d9cc02bd7c9f55ca8b61cf5b
2021-05-06 15:18:15 +08:00
Haryslee
022768ab58
Delete redundant code
...
Change-Id: Id75a1b146766f448838afc80ad11cfd9d990e94e
2021-04-30 10:21:49 +08:00
openharmony_ci
28df6989f9
!185 多核情况下当系统持有调度锁异常时,无异常信息输出
...
Merge pull request !185 from zhangfanfan2/master
2021-04-28 08:53:15 +08:00
YOUR_NAME
5bf4d1c712
fix: no exception information output, when the system is abnormal
...
after holding the scheduling lock in SMP.
Change-Id: I6f148d7b36d7aa6d0df09300949f53ea3c3d63b7
2021-04-26 20:13:13 +08:00
zhushengle
6d63f75e7f
fix:Solve the coupling between the kernel and the structure under ARCH.
...
Close #I3OAFR
Change-Id: Icea238e20adf402d0ec1fc7e47ff4e58124a5e83
2021-04-26 19:54:49 +08:00
boxi
f13b90e430
fix: Provide a separate configuration macro for boot environment in RAM.
...
Provide a separate configuration macro for boot environment in RAM.
Depends on: Need to copy boot environment data to the specified ram by boot.
Closes #I3OADR
Change-Id: Ie36a92c0a44f245482d1602c3a6851395944776d
2021-04-26 19:39:52 +08:00
YOUR_NAME
28aa777191
fix: no exception information output, when the system is abnormal
...
after holding the scheduling lock in SMP.
Change-Id: Ib10128fede9aa3e00269f1265089a917ffd96d88
2021-04-25 20:53:33 +08:00
YOUR_NAME
0ed8adfe3a
fix: no exception information output, when the system is abnormal after holding
...
the scheduling lock in SMP.
Change-Id: Idb793a5446126e638af52ff78b43bb7f8271317c
2021-04-25 20:16:51 +08:00
zhangfanfan2
9ab63a41b3
fix:LR value is incorrectly parsed when the user mode exception stack is backtracked
2021-04-23 11:53:06 +08:00
Caoruihong
18a98d1cb4
move noreturn attribute in front
...
Change-Id: Idce45c48e41b6794de21635517cab8a9d2c9ef03
2021-04-21 17:19:56 +08:00
openharmony_ci
7ba0bfa800
!157 删除无用的__cplusplus,移除不必要的文件x权限
...
Merge pull request !157 from Caoruihong/cplusplus
2021-04-20 09:01:45 +08:00
Caoruihong
7e73c929a2
remove __cplusplus guards in .c files
...
Change-Id: I052d930d54e63179b17b77f02c107a015f3cfc3f
2021-04-19 18:28:25 +08:00
Caoruihong
1ea9610ffd
code optimization
...
Change-Id: I8d2e9f96e86f4130474da9898791240b5d42328e
2021-04-19 15:24:00 +08:00
Caoruihong
ea794ac751
add noreturn attribute for LOS_Panic
...
Change-Id: Id2c76e3282d72bce18cf0925e12afaa0c3b06a90
2021-04-16 18:46:05 +08:00
Caoruihong
d2197c801f
use -include option instead of including menuconfig manually
...
Change-Id: Ie48b96fe9c8ab036d7234b56a169d6668171a895
2021-04-14 17:56:48 +08:00
openharmony_ci
b9a4f8b3f1
!115 kernel platform目录整改
...
Merge pull request !115 from SimonLi/master
2021-04-10 10:31:37 +08:00
zhangfanfan2
ee8ae574ec
回退IsValidFP的修改提交
2021-04-09 19:36:29 +08:00
YOUR_NAME
cd9c1d9789
[Desc] Modify IsValidFP to IsValidVaddr for issues I3HWYP
...
Change-Id: I0580a9328f8824869f1744f31cbfc2bf85516f66
2021-04-09 17:14:32 +08:00
SimonLi
3d3f0710f9
Merge branch 'master' of https://gitee.com/kkup180/kernel_liteos_a
2021-04-09 14:30:22 +08:00
openharmony_ci
cf5baa29f2
!127 clang编译的系统镜像内核栈回溯功能失效
...
Merge pull request !127 from zhangfanfan2/master
2021-04-08 14:53:13 +08:00
SimonLi
91b3d9f744
Merge branch 'master' of https://gitee.com/kkup180/kernel_liteos_a
2021-04-08 09:10:16 +08:00
Caoruihong
c2e7879dbc
fix accuracy of LOS_CurrNanosec
...
Change-Id: I5612d54d3cb92a119baaec396c723734c27a9d0c
2021-04-07 22:51:03 +08:00
YOUR_NAME
03a64228ed
[Desc] Solve the problem of exception stack traceback for clang.
...
Change-Id: Ifdca9a23ba788fa66f3815203514c9034680df49
2021-04-07 15:43:57 +08:00
likailong
acc1b904bf
Merge branch 'master' of https://gitee.com/kkup180/kernel_liteos_a
2021-04-06 07:26:03 +08:00
likailong
e04f712511
Merge branch 'master' of https://gitee.com/kkup180/kernel_liteos_a
2021-04-02 16:05:41 +08:00
likailong
3fe7ec0200
IssueNo: #I3EPPI
...
Description: platform directory refactoring
Sig: kernel
Feature or Bugfix: Feature
Binary Source: No
2021-04-02 16:03:50 +08:00
likailong
d8f89448ba
IssueNo: #I3EPPI
...
Description: platform directory refactoring
Sig: kernel
Feature or Bugfix: Feature
Binary Source: No
2021-04-02 08:18:25 +08:00
YOUR_NAME
25ab07f136
IssueNo:#I3EH1L
...
Description:Fix the bug that the code segment and read-only segment can be modified in the uncache mapping area.
Sig:liteos_a
Feature or Bugfix:Bugfix
Binary Source:No
Change-Id: I030489b240d5bcbe088046392d566648fde85f0a
2021-03-31 20:16:03 +08:00
YOUR_NAME
c959d43684
IssueNo:#I3E0F2
...
Description:Delete VM to support only kernel mode.
Sig:liteos_a
Feature or Bugfix:Feature
Binary Source:No
Change-Id: Ie1029c8fbc0c1b85c138663933118d2d148b7769
2021-03-31 16:14:54 +08:00
YOUR_NAME
b1be50cdb9
[Desc] Support to close syscall.
...
Change-Id: I6f7c469e96da9cc89c5c33bf7a9afe19625e175f
2021-03-26 20:12:50 +08:00
Guangyao Ma
307c3d6fad
fix:start up optimized
...
Change-Id: Ia6907482000a06aada11feb4c52347e8f93e73b5
2021-03-17 16:09:00 +08:00
zhangfanfan2
36eb117140
组件解耦修改---支持内核态dynload和net关闭
2021-03-13 19:05:12 +08:00
mamingshuai
73a7b66116
update openharmony 1.0.1
2021-03-11 18:43:57 +08:00
openharmony_ci
58da2cb0c2
!33 OpenHarmony LiteOS-A QEMU support
...
Merge pull request !33 from WojciechZmuda/qemu-arm-dev
2020-12-31 18:21:58 +08:00
laokz
c2b31e9628
修改region相关:优化OsVmRegionSplit红黑树节点操作,修改OsVmRegionAdjust起始地址不在region时的行为,修复OsIsRegionCanExpand计算错误,更正几处typos
2020-11-27 20:49:06 +08:00
Zbigniew Bodek
aff8a3e3c1
Fix build when KERNEL_DYNLOAD is disabled
...
Fix unused function warning treated as error
when KERNEL_DYNLOAD option is switched off.
Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: I21a01ff3d7ecb7b2e65bacbaa985c6390f5e4be7
2020-11-17 23:07:01 +08:00
Zbigniew Bodek
064427fcaf
Allow enabling SSP for platforms that don't randomize canary
...
HiSilicon-specific randomization routine for the __stack_chk_guard
should not be called for other platforms that don't implement
this function.
Fix build for targets that don't link with HiSi libraries when
stack smashing protector is enabled.
Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: I1843c897b32991fddc3d0ba362d188c4a621d052
2020-11-17 23:07:01 +08:00
Zbigniew Bodek
4188734ee4
Allow to disable stack protector feature
...
Currently disabling stack protector will cause build to fail.
This commit will fix that problem and allow to toggle feature
when needed.
Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: Iee8ccfdb9fce4ba69aa557e2ac915ddc45b2f21e
2020-11-17 23:07:01 +08:00
laokz
94542ad4b6
修正符号typo
2020-10-19 17:48:22 +08:00
Caoruihong
63bd69267a
drop unnecessary executable file permission mode
...
Change-Id: Ia6c1f6302407a707b3ec9b805f4c92d8a7970b86
2020-10-13 16:37:25 +08:00
l00517597
14ed17ca76
Description:Fix the offset calculating of pc and lr in elf file.
...
Reviewed-by:huangjieliang zhushengle
2020-09-28 15:37:47 +08:00