openharmony_ci
1a3f3f54e7
!302 fix: Codex告警清零
...
Merge pull request !302 from Far/master
2021-06-08 08:48:48 +08:00
openharmony_ci
647f3defcd
!296 支持最小化特性编译,添加了一个针对qemu arm virt的样例config配置
...
Merge pull request !296 from Caoruihong/master
2021-06-07 22:51:46 +08:00
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
Caoruihong
744b2021b2
chore: add a mini config for qemu arm virt
...
support turn off as many features as possible.
current only libc and posix and bsd can not be turned off.
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I1e97570c67593207a56dc11f357eca4b4a018bfd
2021-06-05 17:40:22 +08:00
openharmony_ci
2067b2f648
!256 fix: 解决kill进程时无法保证进程持有的系统资源合理释放
...
Merge pull request !256 from zhushengle/Sig
2021-06-03 17:00:00 +08:00
zhushengle
cf89f016e9
fix: 解决kill进程时无法保证进程的已持有的内核资源合理释放.
...
背景: 当前信号实现原理是在系统调用结束和中断结束时检查是否有信号处理,
如果有信号处理就切去处理信号,信号处理结束后回来继续按原来流程执行。
问题:当用户态线程在执行系统调用或缺页异常时,运行在内核态,如果此时有信
号需要处理,且该线程已经持有了部分内核资源(如:锁,内存等), 此时如
果有中断发生,则在中断结束时,就会去处理该信号,此时用户态线程持有
了内核未释放的资源跑到了用户态去运行,如果该线程在用户态出现问题,
那么它持有的内核资源就无法被释放了。
方案:用户态线程在执行系统调用和缺页异常时暂时屏蔽信号,防止此时有中断去
处理信号,等系统调用结束或缺页异常结束时再去处理信号。
解决的问题:
1. 执行系统调用或缺页异常时屏蔽信号,防止中断去处理信号
2.解决无法kill 因为用户态的锁、ipc等阻塞的用户态线程
3.进程退出方式转变为: 依次通过kill去杀死该进程的所有线程
Close #I3S0N0
Change-Id: I0c48b9c89382826191b8a9326c71b57ba84124c2
2021-05-24 14:29:37 +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