wangchen
|
bdb9864436
|
fix: 编译框架在做编译入口的统一
【背景】编译框架在做编译入口的统一,a核两种编译方式生成结果有差异
【修改方案】
1,修改kernel依赖
【影响】
对现有的产品编译不会有影响。
re #I4KRQN
Signed-off-by: wangchen <253227059@qq.com>
|
2021-12-14 13:19:31 +00:00 |
openharmony_ci
|
9b397173fe
|
!728 移除顶层BUILD.gn中的visibility属性设置
Merge pull request !728 from Caoruihong/remove_visibility
|
2021-12-08 13:57:00 +00:00 |
openharmony_ci
|
2fa85a2c72
|
!703 fix: 解决dmesg -s参数double lock问题
Merge pull request !703 from Kiita/1109_dmesg
|
2021-12-08 10:56:48 +00:00 |
Caoruihong
|
63a0fcaefb
|
chore(build): remove visibility of the top BUILD.gn
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I83616f794d169c8637ab79b2dd96d3858d11fce7
|
2021-12-08 17:55:07 +08:00 |
openharmony_ci
|
144214869f
|
!643 添加对GCC工具链的支持
Merge pull request !643 from Caoruihong/support_gcc
|
2021-12-08 07:20:38 +00:00 |
Kiita
|
e1512566e3
|
fix: 解决dmesg -s参数double lock问题
【背景】自研shell或者mksh拉起后使用dmesg -s命令出现自旋锁double lock的问题。
【修改方案】
dmesg -s参数设置dmesg缓冲区过程需要访问UartOutput所访问的全局缓冲区,这意味着两个功能模块
使用了同一把自旋锁,若在dmesg命令执行过程使用了打印,则就可能会导致double lock。因此拆分
了dmesg -s命令过程中自旋锁的使用区域,避开内核中必要的打印。
re #I4HIJK
Signed-off-by: yansira <yansira@hotmail.com>
Change-Id: Iad74c058c9a8090fd3d9f338caab7d8f2170f9ac
|
2021-12-06 11:28:07 +08:00 |
Caoruihong
|
6e886d4233
|
feat(build): support gcc toolchain
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I6f2dea19cbd2e5b562bb51e30592205a2bb4fbdb
|
2021-12-05 02:49:48 +08:00 |
openharmony_ci
|
67e31f7b45
|
!726 fix: 删除冗余的头文件los_pmm.h
Merge pull request !726 from kenneth/los_pmm.h
|
2021-12-03 07:02:35 +00:00 |
openharmony_ci
|
26c09d26fc
|
!727 fix: 修改MMU模块的注释错误
Merge pull request !727 from kenneth/page_idx
|
2021-12-03 07:01:51 +00:00 |
kenneth
|
1a8e22dcf1
|
fix: 修改MMU模块的注释错误
修改los_arch_mmu.c中的page_idx 为scanIndex,修改pmm_alloc_page为LOS_PhysPageAlloc。
fix #I4KMMJ
Signed-off-by: kenneth <zhushangyuan@huawei.com>
|
2021-12-03 11:07:18 +08:00 |
kenneth
|
8e614bb161
|
fix: 删除冗余的头文件
删除无用的头文件kernel\base\include\los_pmm.h
fix #I4KN63
Signed-off-by: kenneth <zhushangyuan@huawei.com>
|
2021-12-03 10:59:20 +08:00 |
openharmony_ci
|
f88608e5a4
|
!722 内核ERR打印,无进程和线程信息,不方便问题定位
Merge pull request !722 from zhangfanfan2/other3
|
2021-12-03 02:38:15 +00:00 |
openharmony_ci
|
30d5badbce
|
!723 用户态进程主线程退出时,其他子线程刚好进入异常处理流程会导致系统卡死
Merge pull request !723 from zhangfanfan2/master
|
2021-12-03 02:37:54 +00:00 |
openharmony_ci
|
c8c07261ca
|
!724 fix: los_stat_pri.h中缺少依赖的头文件
Merge pull request !724 from zhushengle/sched
|
2021-12-01 07:48:13 +00:00 |
zhushengle
|
2cd03c55b7
|
fix: los_stat_pri.h中缺少依赖的头文件
在los_stat_pri.h中添加los_typedef.h
Close #I4KEZ1
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I19f8b79f9f559e1324432280f123a911bf8caf27
|
2021-12-01 09:24:52 +08:00 |
openharmony_ci
|
b3489d49d7
|
!721 feat: 提供低功耗默认处理框架
Merge pull request !721 from zhushengle/pm
|
2021-11-30 09:51:39 +00:00 |
zff
|
d955790a44
|
fix: 用户态进程主线程退出时,其他子线程刚好进入异常处理流程会导致系统卡死
接口OsTaskExitGroup被同一个进程的两个互等线程重入,逻辑出现死循环,导致系统卡死
close: #I4KGBT
Signed-off-by: zff <zhangfanfan2@huawei.com>
Change-Id: I484bba67473f7d0edbfdff95549ffb32bffb4988
|
2021-11-30 16:14:22 +08:00 |
zhangfanfan2
|
540b2017c5
|
fix: 内核ERR级别及以上的打印输出当前进程和线程名
Signed-off-by: zff <zhangfanfan2@huawei.com>
|
2021-11-30 07:41:03 +00:00 |
zhushengle
|
212d1bd1e8
|
feat: 提供低功耗默认处理框架
添加系统在不同低功耗下的默认处理函数。
Close #I4KBG9
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I7d9a32d03daf32998f4cfca17c57b3f0e614d4ac
|
2021-11-30 10:49:47 +08:00 |
openharmony_ci
|
ba8438257a
|
!715 feat: 支持L1 低功耗框架
Merge pull request !715 from zhushengle/pm
|
2021-11-29 07:04:55 +00:00 |
zhushengle
|
64e49aba7c
|
feat: 支持L1 低功耗框架
方案描述:
和L0保持一致,上层通过proc文件系统操作:
power_mode 支持的低功耗模式,通过对该文件进行write操作可以设置低功耗模式
power_count powermanager模块通过对该文件操作,和内核进行交互,简要流程如下:
while (1) {
open // 打开该文件
read // 使powermanager低功耗任务常阻塞,当系统无任何模块持锁时,会唤醒该任务
write // 进行低功耗流程
close // 关闭该文件
}
power_lock write该文件,持锁
power_unlock writw该文件,释放锁
Close #I4JSO
Change-Id: I73fcdeeb5e2039484b3351a81b46a0892b349fe9
Signed-off-by: zhushengle <zhushengle@huawei.com>
|
2021-11-29 11:58:47 +08:00 |
openharmony_ci
|
3e7cfaa520
|
!708 feat: L0-L1 支持Lms轻量级地址消毒
Merge pull request !708 from LiteOS/lms
|
2021-11-27 07:07:52 +00:00 |
LiteOS2021
|
e748fdbe57
|
feat: L0~L1 支持Lms
1.【需求描述】:
支持内核态和用户态堆内存非法访问检测,包括:越界访问、double free、释放后使用;支持libc常用高频函数内存检测;支持安全函数内存检测;读写检测可配可裁剪。
2.【方案描述】:
L0 ~ L1:
(1).影子内存映射与标记
(2).编译器使能-fsanitize=kernel-address 自动插桩检测点
(3).实时校验影子内存的合法性;
(4).错误访问打印回溯栈
BREAKING CHANGE: 新增支持API:
LOS_LmsCheckPoolAdd使能检测指定内存池
LOS_LmsCheckPoolDel不检测指定内存池
LOS_LmsAddrProtect为指定内存段上锁,不允许访问
LOS_LmsAddrDisableProtect去能指定内存段的访问保护
Close #I4HYAV
Signed-off-by: LiteOS2021 <dinglu@huawei.com>
Change-Id: Id8e5c890656da9edc4a22227e6a3c32205c024ce
|
2021-11-27 11:13:41 +08:00 |
openharmony_ci
|
48f645db84
|
!717 refactor:内核安全函数库编译复用三方目录安全函数库中的配置
Merge pull request !717 from Zhaotianyu/1125libsec
|
2021-11-26 06:46:02 +00:00 |
arvinzzz
|
d73aff846b
|
refactor: 内核编译安全函数库复用三方安全函数库中的配置清单,减少冗余
close: #I4JUKM
Signed-off-by: arvinzzz <zhaotianyu9@huawei.com>
Change-Id: I30115a12b9244ac4821c443a838aa248b47d4fb9
|
2021-11-26 11:04:12 +08:00 |
openharmony_ci
|
ce4323ff16
|
!704 【fix】smp启动时副核冗余的启动框架调用
Merge pull request !704 from Zhaotianyu/1110smpinit_fix
|
2021-11-25 22:48:51 +00:00 |
openharmony_ci
|
f6a7003c16
|
!711 硬件随机数配置选项增加arm virt平台支持
Merge pull request !711 from laokz/rng
|
2021-11-25 13:57:33 +00:00 |
openharmony_ci
|
c12bef84b2
|
!716 [LTS-3.0]修复jffs2适配层错误释放锁的BUG
Merge pull request !716 from Far/cherry-pick-1637845785
|
2021-11-25 13:56:13 +00:00 |
openharmony_ci
|
7a7c67cbdd
|
!712 修复jffs2适配层错误释放锁的BUG
Merge pull request !712 from Far/master
|
2021-11-25 13:56:12 +00:00 |
Far
|
d2a2f96adf
|
fixed 011a55f from https://gitee.com/yesiyuanjim/kernel_liteos_a/pulls/712
fix: 修复jffs2适配层错误释放锁的BUG
修复重复释放jffs2全局锁的BUG
Close #I4FH9M
Signed-off-by: Far <yesiyuan2@huawei.com>
|
2021-11-25 13:09:48 +00:00 |
openharmony_ci
|
5db6c62313
|
!710 清理YES/NO宏
Merge pull request !710 from Caoruihong/remove_yesno
|
2021-11-18 09:32:42 +00:00 |
Far
|
011a55ff21
|
fix: 修复jffs2适配层错误释放锁的BUG
修复重复释放jffs2全局锁的BUG
Close #I4FH9M
Signed-off-by: Far <yesiyuan2@huawei.com>
|
2021-11-18 14:22:25 +08:00 |
laokz
|
68f9f49c2a
|
fix(arm-virt): HW_RANDOM_ENABLE配置支持arm virt平台
Signed-off-by: laokz <laokz@foxmail.com>
Change-Id: Idb6b7327d3773abe2ddf0cbc4996650d96c85887
|
2021-11-17 11:41:51 +08:00 |
openharmony_ci
|
fe4082ca9e
|
!709 A核代码静态告警定期清理
Merge pull request !709 from wangchen/1112_codex
|
2021-11-16 06:47:22 +00:00 |
openharmony_ci
|
ac08912230
|
!706 fix: 修复los_vm_scan.c中内部函数OsInactiveListIsLow冗余代码
Merge pull request !706 from kenneth/los_vm_scan
|
2021-11-16 00:48:50 +00:00 |
openharmony_ci
|
a32a7c4fad
|
!707 chore: 优化函数OsVmRegionRightCheck命名
Merge pull request !707 from kenneth/OsVmRegionRightCheck
|
2021-11-16 00:48:26 +00:00 |
Caoruihong
|
bba832ea08
|
chore: replace YES/NO macros to 1/0
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I40e31e82c33418019c1afc16ac174919e72fbb07
|
2021-11-16 01:27:06 +08:00 |
openharmony_ci
|
09fd11bc38
|
!705 清理"bits/xxx.h"类头文件包含
Merge pull request !705 from Caoruihong/clean_bits
|
2021-11-15 09:35:09 +00:00 |
lnlan
|
9ba725c3d4
|
fix: A核代码静态告警定期清理
【背景】A核代码静态告警定期清理
【修改方案】
1,根据codex等工具分析结果,进行必要的规范等问题修改
【影响】
对现有的产品编译不会有影响。
re #I4I0O8
Signed-off-by: wangchen <253227059@qq.com>
|
2021-11-15 02:47:08 +00:00 |
kenneth
|
2bddff54c8
|
chore: 优化函数OsVmRegionRightCheck命名
函数名称OsVmRegionRightCheck修改为OsVmRegionPermissonCheck进行内存区间权限检查
close #I4HR6I
Signed-off-by: kenneth <zhushangyuan@huawei.com>
|
2021-11-11 19:52:25 +08:00 |
kenneth
|
bc32a1ec0f
|
fix: 修复los_vm_scan.c中内部函数OsInactiveListIsLow冗余代码
函数OsInactiveListIsLow()和InactiveListIsLow()代码重复,删除冗余代码。
close #I4HKFF
Signed-off-by: kenneth <zhushangyuan@huawei.com>
|
2021-11-11 19:44:34 +08:00 |
Caoruihong
|
5d5df3a5d7
|
chore: clean "bits/xx.h" includes
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I3dcf576ceba66b0fa447573e997d064026eb8785
|
2021-11-11 12:03:56 +08:00 |
openharmony_ci
|
07cab40473
|
!696 chore: 修复社区反馈问题Percpu结构体注释错误
Merge pull request !696 from kenneth/core_typo
|
2021-11-11 01:29:52 +00:00 |
arvinzzz
|
5ce70a50c3
|
fix: smp初始化中副核冗余的启动框架调用
close: #I4F8A5
Signed-off-by: arvinzzz <zhaotianyu9@huawei.com>
Change-Id: I9a863d3265fd18051d8bfcaab51ad59216630e91
|
2021-11-10 19:14:29 +08:00 |
kenneth
|
0f878febb7
|
chore: 修复社区反馈问题Percpu结构体注释错误
修复社区反馈问题Percpu结构体注释错误,排查下其他拼写错误。
close #I4GMLH
Signed-off-by: kenneth <zhushangyuan@huawei.com>
|
2021-11-10 10:20:33 +08:00 |
openharmony_ci
|
f63ce99399
|
!692 chore: 修复内存模块的一些不规范用语
Merge pull request !692 from kenneth/mmu_fix
|
2021-11-10 02:06:29 +00:00 |
openharmony_ci
|
e317f9b5b5
|
!702 fix: shell支持exit退出,完善帮助信息,特殊处理不可见字符
Merge pull request !702 from huangshan/chore
|
2021-11-09 09:26:47 +00:00 |
huangshan
|
cc6e11281e
|
fix: shell支持exit退出,完善帮助信息,特殊处理不可见字符
Change-Id: Ia6dbff0faed4ec73fcf35691676f1acb2b8df78d
Signed-off-by: huangshan <huangshan9@huawei.com>
|
2021-11-08 18:13:38 +08:00 |
openharmony_ci
|
9525ca2826
|
!697 修改blackbox生成的文件和文件夹权限
Merge pull request !697 from mgceshuang/upload_teeee
|
2021-11-08 02:27:30 +00:00 |
openharmony_ci
|
a412bfb275
|
!686 增加内核epoll系统调用适配musl接口并增加测试用例
Merge pull request !686 from wangchen/tocommit
|
2021-11-08 01:30:05 +00:00 |