openharmony_ci
e59693e7fa
!278 修复开机概率挂死
...
Merge pull request !278 from Zhaotianyu/0603initframework_fix
2021-06-03 14:50:39 +08:00
openharmony_ci
db38464778
!282 fix: 修复MagicKey数组越界访问
...
Merge pull request !282 from MGY917/master
2021-06-03 11:52:17 +08:00
Guangyao Ma
071cd6268a
fix: 修复MagicKey数组越界访问
...
closes #I3U4N9
Signed-off-by: Guangyao Ma <guangyao.ma@outlook.com>
Change-Id: Ic4c4c7442cd381d03d2e40a51655a17299c4c250
2021-06-03 11:11:21 +08:00
arvinzzz
2e82c361f7
fix: 修复开机概率挂死
...
close:#I3SWY2
Change-Id: Ied2a5828ffb682903e291dab4088020033d79230
Signed-off-by: arvinzzz <fcykztyu@163.com>
2021-06-03 09:43:27 +08:00
openharmony_ci
25f1051d7a
!269 修复启动框架debug模式编译问题
...
Merge pull request !269 from Zhaotianyu/0526initframework_fix
2021-06-02 16:50:35 +08:00
arvinzzz
4c024159a9
fix: 修复启动框架debug模式下-Werror=maybe-uninitialized告警以及符号链接不进镜像的隐患
...
close: #I3T5HR
Change-Id: I2e2452d59c82726614fb78d1177d3f0f03d6e315
Signed-off-by: arvinzzz <fcykztyu@163.com>
Change-Id: I7f0b44c15a296bd8d15f0bf1fbdde60f67bb0a6c
2021-06-02 09:31:51 +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
3f16f1684a
!248 fix: fix length typo
...
Merge pull request !248 from kenneth/los_queue.h
2021-05-22 09:13:46 +08:00
zhangfanfan2
0ea476b974
fix: 关闭jffs和fat后,rootfs配置也被相应关闭,导致nand介质的rootfs不可用。
...
close: #I3SBYN
2021-05-21 17:41:30 +08:00
arvinzzz
d2f2679071
fix: Delete useless 'exc interaction' macros and function declarations.
...
close: #I3SDKY
Change-Id: I5ed9356ce2b55b6e07c3f192cdbc4a4f6fbfaa58
2021-05-21 15:10:05 +08:00
jmxl
d25560f8ac
fix: fix stored typo
2021-05-21 10:16:04 +08:00
openharmony_ci
9b364500ad
!252 删除冗余宏定义OFFSET_OF_FIELD
...
Merge pull request !252 from JerryH/list
2021-05-21 09:54:18 +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
openharmony_ci
8a48f4926a
!249 kernel/extended/trace/los_trace.c中可能存在空指针访问
...
Merge pull request !249 from boxi/upload
2021-05-19 14:46:18 +08:00
kenneth
2b643b04c1
fix:fix queuePosition typo
2021-05-19 14:05:28 +08:00
openharmony_ci
6f99abfc7b
!222 fix: correct spelling
...
Merge pull request !222 from rtos-lover/los_task
2021-05-19 13:46:10 +08:00
YOUR_NAME
9b4129c949
Remove redundant macro definition(OFFSET_OF_FIELD)
...
Close #I3QMN1
Change-Id: I0ddd0c4474f5f6b5a2b1dd6608d642167b5548e6
2021-05-19 11:20:09 +08:00
kenneth
a68295d2a9
fix:change queuePosion to queuePosition
2021-05-19 08:38:33 +08:00
boxi
4d863e985b
fix: Fix wrong judgment in los_trace.c to avoid null pointer access.
...
Fix wrong judgment in los_trace.c to avoid null pointer access.
Close #I3RT9F
Change-Id: Id37b80fc6acc085205695318232d5f4fd75472aa
2021-05-18 17:21:47 +08:00
kenneth
12d98b144b
fix: fix length typo
...
fix typos length、there、necessary
close https://gitee.com/openharmony/kernel_liteos_a/issues/I3RSY0
2021-05-18 14:33:59 +08:00
kenneth
8f8c038b21
fix: fix function name OsSchedSetIdleTaskSchedParam
...
correct function name OsSchedSetIdleTaskSchedParam
close https://gitee.com/openharmony/kernel_liteos_a/issues/I3RQ6J
2021-05-18 09:02:48 +08:00
openharmony_ci
29fc5b3e3d
!236 fix: modify event API description
...
Merge pull request !236 from MGY917/event
2021-05-15 10:05:46 +08:00
openharmony_ci
fa273ca817
!242 解决内存泄漏检测错误判断及删除冗余判断
...
Merge pull request !242 from JerryH/mem
2021-05-14 16:07:28 +08:00
YOUR_NAME
8da10b9439
Fix memory leak check and interity error check.
...
Delete redundant judgments.
Close #I3P10Y and #I3QNLT
Change-Id: Ibaf5d4da46f12c291619bb88a41ac18af4612ca1
2021-05-14 14:42:41 +08:00
Guangyao Ma
937734b1e9
fix: modify event API description
...
Change-Id: I131c70e52d907b6c52232596475f2dba16612fce
2021-05-11 21:09:24 +08:00
openharmony_ci
bcf7a0701a
!223 add testsuites/kernel to build
...
Merge pull request !223 from lnlan/ktest_fixed
2021-05-11 17:02:03 +08:00
openharmony_ci
fdbd0820c2
!232 support ipc copy fd to process
...
Merge pull request !232 from zhOu/master
2021-05-11 15:46:37 +08:00
zhOu
f76fa4a344
feature: support ipc copy fd to process
2021-05-11 14:56:09 +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
lnlan
b27264b9f3
add testsuites/kernel to build
...
Change-Id: Ia14a3413b6c974771cef2e147083c7748abd1c59
2021-05-11 11:42:41 +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
rtos-lover
c66fe0313f
fix: correct spelling
...
correct some typos in los_task.c and other files
close https://gitee.com/openharmony/kernel_liteos_a/issues/I3QDB8
2021-05-08 11:23:08 +08:00
openharmony_ci
6012acb509
!218 fix: console compile bug fix
...
Merge pull request !218 from MGY917/master
2021-05-07 12:52:39 +08:00
Guangyao Ma
f8441a0cde
fix: console compile bug fix
...
Change-Id: I4c895bf7278b50d7ddf65e9556d77221b0c7ca32
2021-05-07 11:38:07 +08:00
openharmony_ci
f375e50f2d
!133 feat: introduce mksh toybox to rootfs
...
Merge pull request !133 from MGY917/master
2021-05-07 10:31:08 +08:00
zhushengle
f6c4f6f5da
fix: Solution of conflict
...
Change-Id: If6304999f1dfbcdfbc1670b73ace61b8024336bd
2021-05-06 21:10:22 +08:00
openharmony_ci
27ab6247a6
!216 fix telnet
...
Merge pull request !216 from 野生毛霉君/master
2021-05-06 20:46:12 +08:00
openharmony_ci
be4d8e74cc
!201 系统异常信息保存到存储介质中的功能从shell依赖中剥离
...
Merge pull request !201 from zhangfanfan2/master
2021-05-06 20:44:32 +08:00
mucor
e03370f6ef
fix:telnet not work
...
add open in console dev init process
Change-Id: Ibf9801462d6de231001f094d4e75f01cad50da1f
2021-05-06 19:54:42 +08:00
Guangyao Ma
41c7689dfa
feat: introduce mksh toybox to rootfs
...
Change-Id: I0a6e6f2962ca6904c858898eb93a5b2f93e85b69
2021-05-06 19:20:35 +08:00
openharmony_ci
41f207516e
!215 fix: Sortlink, the response time to insert the node should be inserted into the back of the existing node.
...
Merge pull request !215 from zhushengle/sortlink
2021-05-06 19:16:12 +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
openharmony_ci
78f1de69f4
!211 Delete redundant code
...
Merge pull request !211 from Harylee/update_osal
2021-05-06 14:42:17 +08:00
zhushengle
1323874389
fix: Sortlink, the response time to insert the node should be inserted into the back of the existing node.
...
Close #I3PSJ8
Change-Id: Ib630ba4febbc21d4f25af0961f5c996eadf4e054
2021-05-06 11:02:36 +08:00
openharmony_ci
db16ef1430
!207 错误码不符合预期问题修复
...
Merge pull request !207 from lnlan/ker_fixed
2021-05-05 10:16:01 +08:00
Haryslee
022768ab58
Delete redundant code
...
Change-Id: Id75a1b146766f448838afc80ad11cfd9d990e94e
2021-04-30 10:21:49 +08:00
JING
4b0e47fd03
修复/userdata分区擦除后无法挂载的问题
...
issue#I3O8IF的修改中,将fat无法识别的格式错误码由ENOENT改为ENOTSUP。此处修改有遗漏,造成无fat格式的userdata分区无法挂载。
2021-04-29 20:09:06 +08:00
lnlan
89e9820189
fixed, to set errno in mq_receive and shm_get
...
Change-Id: Iecd1a896f92522ecc75d099c23761969a83b1d29
2021-04-29 19:41:15 +08:00
openharmony_ci
b78b185e07
!193 新增/dev/quickstart节点,作为用户态根进程与其他进程的启动同步通信节点
...
Merge pull request !193 from boxi/master
2021-04-28 19:46:42 +08:00
boxi
46b63f7153
feat: Add /dev/quickstart to support synchronous communication between processes in user mode startup.
...
Add /dev/quickstart to support synchronous communication between processes in user mode startup.
Support ioctl cmd:
QUICKSTART_LISTEN,QUICKSTART_STAGE1,QUICKSTART_STAGE2,QUICKSTART_STAGE3,QUICKSTART_UNREGISTER only for init process;
QUICKSTART_NOTIFY for other app process.
Close #I3OHO5
Change-Id: If6a56123be93a5bc6b6d1069abda8d872b15fae1
2021-04-28 19:42:06 +08:00
openharmony_ci
d5eaed63c0
!191 remove redundant code in fs
...
Merge pull request !191 from 野生毛霉君/master
2021-04-28 17:38:25 +08:00
mucor
aa34ffe7c7
fix:remove redundant code
...
Change-Id: I8662952ac9d7912aaf2e2e72f779b3def41d14c4
2021-04-28 09:57:32 +08:00
openharmony_ci
e5cb9cb56e
!187 remove redundant field regions in VmSpace structure
...
Merge pull request !187 from Harylee/dev
2021-04-28 08:52:49 +08:00
boxi
e28e06b08f
fix: Provide a separate configuration macro for boot environment in RAM.
2021-04-26 20:15:46 +08:00
boxi
bc67393a67
fix: Provide a separate configuration macro for boot environment in RAM.
2021-04-26 19:55:31 +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
Haryslee
20754539e4
remove redundant field regions in VmSpace structure
...
Change-Id: I626a96376fe6bee69b10ee9b56495d62849c19b7
2021-04-26 14:39:45 +08:00
Guangyao Ma
deaa564a66
fix: dereference NULL point bug fix
...
Change-Id: Ib068696c9280105e209469e875c187d741b704d2
2021-04-25 11:47:05 +08:00
openharmony_ci
e93ff481bb
!172 【轻量级 PR】:expand HILOG_BUFFER to reduce the probability of hilog loss
...
Merge pull request !172 from shenchenkai/N/A
2021-04-22 20:17:23 +08:00
shenchenkai
84f1519486
expand HILOG_BUFFER to reduce the probability of hilog loss
2021-04-21 16:54:40 +08:00
JING
da6ca200fb
update kernel/common/los_rootfs.c.
2021-04-21 15:57:15 +08:00
JING
55f84a2ead
/userdata目录若已存在,仍然挂载
2021-04-21 14:58:39 +08:00
openharmony_ci
9fcb67f731
!160 fix: misspell
...
Merge pull request !160 from Harylee/os
2021-04-20 12:30:37 +08:00
Haryslee
08980eac3c
fix: misspell
...
Change-Id: I7bb8abb2c8c250373f22d0e6bec5a9765e2f52be
2021-04-20 09:24:31 +08:00
openharmony_ci
7ba0bfa800
!157 删除无用的__cplusplus,移除不必要的文件x权限
...
Merge pull request !157 from Caoruihong/cplusplus
2021-04-20 09:01:45 +08:00
openharmony_ci
2131237057
!152 修复LOS_RegionFind等接口竞态问题
...
Merge pull request !152 from JerryH/master
2021-04-20 08:16:28 +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
zhangfanfan2
23037dfd38
新增函数LOS_CurrSpaceGet
2021-04-17 16:28:03 +08:00
YOUR_NAME
74af06d5cb
IssueNo:#I3G1Q7
...
Description:Fix related interface competition issues.
Sig:liteos_a
Feature or Bugfix:Bugfix
Binary Source:No
Change-Id: I1198408be9ce577bbf0735e3da53d0834622f429
2021-04-17 16:15:35 +08:00
openharmony_ci
b56c8392fd
!135 watchdog没有用宏隔离
...
Merge pull request !135 from SimonLi/watchdog_bugfix
2021-04-16 08:45:52 +08:00
openharmony_ci
7332c00077
!139 FATFS及mmcblk 性能优化
...
Merge pull request !139 from ysy4tc3/dev
2021-04-15 19:19:51 +08:00
Far
beca52b61b
Feature: Fatfs scandir format and mmcblk read/write optimization
...
1. Bcache block with high mem address is after lower mem address in RCU list when initing bcache.
2. Format will clear the bcache before writing the FAT.
3. The fatfs_readdir use the bcache writing block to reduce the chance of data switching out
4. Add performance analysing macron switch
Change-Id: I8fbc48418509d2e660d725d2c265266e931c26f8
2021-04-15 14:49:43 +08:00
Caoruihong
d2197c801f
use -include option instead of including menuconfig manually
...
Change-Id: Ie48b96fe9c8ab036d7234b56a169d6668171a895
2021-04-14 17:56:48 +08:00
likailong
fdae508932
Issue: #I3I8MT
...
Description: Fix watchdog macro bug
Sig:kernel
Feature or Bugfix: Bugfix
Binary Source: No
2021-04-11 09:44:56 +08:00
openharmony_ci
c5233a5b9f
!130 修复limits.h,调整宏定义位置
...
Merge pull request !130 from Zhaotianyu/0406limits
2021-04-09 17:17:55 +08:00
arvinzzz
13451e9d10
IssueNo:#I3HGTM
...
Description:Fix limits.h & Adjust some macro definition positions.
Feature or Bugfix:Bugfix
Binary Source:NA
Change-Id: Ia53c1b4b83f60862ac24c5c14a87883fe0af6db0
2021-04-09 10:44:13 +08:00
mucor
6ba93994cb
remove redundant page free
...
Change-Id: I5ca037ef20eb65578b804e314617953bfbf6c35b
2021-04-08 20:17:11 +08:00
arvinzzz
9fc6241057
Description: Fix the problem that the actual implementation of the function does not match the description.
...
Change-Id: Icdbc0182efc023734ccbe7e80b1926d64a18d01c
2021-04-06 22:35:13 +08:00
openharmony_ci
a2e59ba316
!117 【轻量级 PR】:update kernel/base/core/los_process.c.
...
Merge pull request !117 from 冷钦街/N/A
2021-04-06 12:31:29 +08:00
x_xiny
a041342a69
signal
...
Change-Id: Ia42e914b7a19b7d519010e371f808baa1c6588c0
2021-04-02 18:27:31 +08:00
冷钦街
3194fcca08
update kernel/base/core/los_process.c.
2021-04-02 15:56:30 +08:00
openharmony_ci
be5e5fdf42
!112 修复代码段及只读段在uncache映射区域可以篡改的漏洞
...
Merge pull request !112 from JerryH/mmu
2021-04-01 09:51:59 +08:00
openharmony_ci
b1655de5ab
!111 调度中存在有符号数与无符号数比较
...
Merge pull request !111 from zhushengle/sched
2021-04-01 09:02:59 +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
zhushengle
36032f117a
IssueNo:#12345
...
Description:Scheduling module has signed number and unsigned number comparison.
Sig:kernel
Feature or Bugfix:Bugfix
Binary Source:No
Change-Id: Ie6385e5ab779b6b542282198b38c966871b03c8e
2021-03-31 15:08:08 +08:00
laokz
349c1e46de
QEMU arm platform: get 'bootargs' from flash; fix code style
...
Change-Id: I94175fa89a61f4f08d9f921203bedfc2dd9e53e4
2021-03-30 23:07:22 +08:00
openharmony_ci
d3e78a2cac
!101 【轻量级 PR】:Fixed Grammar Issues In VM_ERR
...
Merge pull request !101 from Ho Hang/N/A
2021-03-30 10:35:00 +08:00
Ho Hang
b9683cf2c8
update kernel/user/src/los_user_init.c.
2021-03-29 13:15:03 +08:00
openharmony_ci
7387d410bf
!100 解决kernel/liteos_a仓下关闭fat,编译不过的问题
...
Merge pull request !100 from li_zan/master
2021-03-29 12:06:31 +08:00
Ho Hang
ea9791f8e1
Fixed Grammar Issues In VM_ERR
2021-03-29 11:56:26 +08:00
li_zan
2e47684d15
change config for fs2
2021-03-29 10:19:58 +08:00
openharmony_ci
23c2c270b8
!98 内核支持syscall关闭
...
Merge pull request !98 from zhangfanfan2/master
2021-03-27 09:58:48 +08:00
YOUR_NAME
b1be50cdb9
[Desc] Support to close syscall.
...
Change-Id: I6f7c469e96da9cc89c5c33bf7a9afe19625e175f
2021-03-26 20:12:50 +08:00
li_zan
b75c5f3cca
change config for fs
2021-03-26 19:36:58 +08:00
li_zan
195172e655
change config for fs
2021-03-26 17:00:15 +08:00
openharmony_ci
51e587ca44
!59 【轻量级 PR】:update kernel/base/ipc/los_futex.c.
...
Merge pull request !59 from 冷钦街/N/A
2021-03-25 11:29:52 +08:00
openharmony_ci
da15b665b1
!86 remove unused code
...
Merge pull request !86 from Denny/new
2021-03-25 11:20:33 +08:00
zhushengle
9601ecc131
IssueNo:#I29BRN
...
Description:Change the exception error message to Panic to clarify what normal does not return.
Sig:kernel
Feature or Bugfix:Bugfix
Binary Source:No
Change-Id: Ie7087cafe709f79604831f6d3eefcee6fe48ccbb
2021-03-24 16:36:12 +08:00