JerryH
3bb3173604
fix: smp启动代码解耦及内存映射关系解耦
...
close #I41P8Y
Signed-off-by: JerryH <huangjieliang@huawei.com>
Change-Id: I01833cf617bbc695543a865dbb994c6c22d4a0a8
2021-08-05 16:03:43 +08:00
Haryslee
e425187d17
fix: 修复mprotect修改地址区间的权限后,相应的区间名丢失问题
...
背景:对于mmap映射的区间,修改权限后对应的区间名丢失
方案:mprotect修改权限后,对应区间名继承原区间名
close #I43R40
Signed-off-by: Haryslee <lihao189@huawei.com>
Change-Id: I969c93528cbecc2ded4e437e5aac8f82b8baa609
2021-08-03 20:40:41 +08:00
openharmony_ci
f85c27de59
!476 在内核提示No idle TCB时,增加打印当前系统任务信息,以方便问题定位。
...
Merge pull request !476 from zhangfanfan2/master
2021-07-31 09:19:41 +00:00
YOUR_NAME
11a9b00d43
fix: 在内核提示No idle TCB时,增加打印当前系统任务信息,以方便问题定位。
...
close: #I434UC
Signed-off-by: zff <zhangfanfan2@huawei.com>
Change-Id: If6cdb719412375c79356a50113a0efb45c8968f7
2021-07-30 12:52:31 +08:00
wcc
09d5bcc22d
Merge branch 'master' of gitee.com:openharmony/kernel_liteos_a into misc
2021-07-27 01:40:59 +00:00
openharmony_ci
8755dc9d35
!443 从Make编译切换到GN编译
...
Merge pull request !443 from Caoruihong/build_gn
2021-07-22 01:50:19 +00:00
Caoruihong
a8805a65aa
feat: add support for gn build system
...
add BUILD.gn for all kernel modules
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I018446427bf64615f2596d47862b219659b58b34
2021-07-21 15:52:40 +08:00
openharmony_ci
4adc15e630
!446 init进程收到子进程退出信号后,调用fork重新拉起进程,会导致系统卡死
...
Merge pull request !446 from zhangfanfan2/master
2021-07-21 07:39:31 +00:00
openharmony_ci
d9774e016e
!447 chore: fix function and variable name spell issues
...
Merge pull request !447 from kenneth/chore
2021-07-21 05:29:07 +00:00
kenneth
58d4366e1d
chore: fix function and variable name spell issues
...
fix some spell issues in files under folder kernel/base/core:
change Recyle to Recycle, ilde to idle and Porcess to Process
close #I3R28X
Signed-off-by: kenneth <zhushangyuan@huawei.com>
2021-07-21 08:52:18 +08:00
YOUR_NAME
35a2f3af33
fix: init进程收到子进程退出信号后,调用fork重新拉起进程,会导致系统卡死
...
问题原因:init进程执行信号时,线程栈底预留了部分空间给信号上下文使用,
从而导致处理信号时线程栈底比线程控制块里面记录的大,这样在fork的过程中内核
从init线程栈底copy线程上下文给新进程时,copy的不是实际运行的栈底,以致于
新进程的线程上下文不对,在实际运行时跑飞,引发系统卡死。
解决方案:在fork过程copy线程上下文时,判断是否预留了信号上下文空间,如果预留
了,则copy的栈底要基于预留后的栈底去copy线程上下文。
close: #I41HOY
Signed-off-by: zff <zhangfanfan2@huawei.com>
Change-Id: I61cb05183c78919730e3a68c1c85b72fa1decd16
2021-07-20 21:11:12 +08:00
JerryH1011
7a6e4c8155
fix:修复共享内存shmat和shmdt接口之间存在的死锁问题
...
close #I40QOM
Change-Id: Ib3783f5d6b1095bf2100ab024fe0235a64355823
Signed-off-by: JerryH1011 <huangjieliang@huawei.com>
2021-07-19 14:55:47 +08:00
wcc0
c9d69e2d1b
fix: add capability and amend smoke testcase
...
add setrlimit,gethostname,gethostid and capability
Change-Id: I0d5f23cb87ec2731fb79e7c5cfbe1ce109ac158a
2021-07-16 09:24:44 +08:00
openharmony_ci
d9ed4b4bf6
!427 fix: 修复lwip2.0 增强在futex中异常挂死问题
...
Merge pull request !427 from zhushengle/futex
2021-07-15 01:54:41 +00:00
qidechun
a195aac9fb
feat: add blackbox for liteos_a
...
1、在内核增加BlackBox核心框架,对外提供模块回调接口注册和故障处理接口。
2、增加默认的系统模块适配层,处理通用内核态和用户态故障日志抓取和保存。
3、BBOX特性默认关闭,若想使用此特性,请在内核配置文件中增加如下编译选项:
LOSCFG_BLACKBOX=y
LOSCFG_SAVE_EXCINFO=y
LOSCFG_SAVE_EXCINFO可以帮助抓取更多的故障日志。
4、若已经打开BBOX特性,想快速验证此特性,请添加如下编译选项:
LOSCFG_HIDUMPER=y
Close #I406NP
Signed-off-by: qidechun <qidechun@huawei.com>
2021-07-14 09:37:35 +08:00
zhushengle
1157c4a289
fix : futex requeue机制中,头节点的queueList 为NULL, 导致系统异常
...
queuelist中的普通节点在调整为futexList的节点时,
未校验其queueList的有效性,导致queueList未初始化,
出现访问空指针;且在从旧链表迁移节点到新链表时,
节点从旧链表删除之后又插入到另一个链表中,导致对
旧链表的为NULL判断出错。
Close #I4024F
Change-Id: I506a10fc5740ce16e682c2c419b9d92a82000b86
Signed-off-by: zhushengle <zhushengle@huawei.com>
2021-07-14 09:30:49 +08:00
openharmony_ci
d7387508e3
!402 消除编译告警
...
Merge pull request !402 from x_xiny/master
2021-07-09 08:37:20 +00:00
x_xiny
e4ff04586f
fix:消除编译告警
...
【背景】
消除编译告警
【修改方案】
消除编译告警
re #I3ZC1R
Change-Id: I594d0f57e4cbbdb246a6bef1c978a38228123a34
Signed-off-by: x-xiny <1301913191@qq.com>
Change-Id: I1d75cdcdcf9d06ec28e541cdfea77300da7c6bb1
2021-07-08 20:30:33 +08:00
openharmony_ci
78906f4a6c
!406 修正最小编译时的错误
...
Merge pull request !406 from Caoruihong/qemu_mini
2021-07-07 08:29:28 +00:00
Denny
55e5e29005
回退 'Pull Request !401 : 【DFX子系统】【BBoxDetector】LiteOS_A死机重启维测框架'
2021-07-07 10:29:43 +08:00
Caoruihong
ac8c2c6d5b
fix: minimal compile
...
fix compile errors in minimal compilation
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I48f4f7b27c684e2c747c1949776c5c4f9e383dec
2021-07-07 00:26:33 +08:00
qidechun
425975e481
feat: add blackbox for liteos_a
...
1、在内核增加BlackBox核心框架,对外提供模块回调接口注册和故障处理接口。
2、增加默认的系统模块适配层,处理通用内核态和用户态故障日志抓取和保存。
Close #I3NN7V
Signed-off-by: qidechun <qidechun@huawei.com>
2021-07-06 07:49:59 +08:00
openharmony_ci
003810284c
!384 对内核中menuconfig开关的宏使用#ifdef/#ifndef来做预编译判断
...
Merge pull request !384 from boxi/upload
2021-07-01 07:11:13 +00:00
boxi
4e4f2d6d7e
refactor: 对LiteOS_a内核中menuconfig开关的宏使用#ifdef/#ifndef做预编译处理
...
LiteOS_a中有部分配置宏进行了重复冗余定义,导致当头文件未被包含时,极易引入错误,
故对menuconfig配置宏进行统一处理,均使用#ifdef/#ifndef作为预编译判断方式
Close #I3YEGS
Change-Id: Ife6db770cc66de1d6199a4f3ba3950e9bfd0e71a
Signed-off-by: boxi <lewis.liulei@huawei.com>
2021-07-01 09:08:18 +08:00
zhushengle
7de43bb004
fix: 修复kill进程时,因liteipc阻塞的进程概率无法退出问题
...
kill进程时,会将因为liteipc阻塞的线程唤醒,使其调度并自动退出,由于liteipc阻塞机制为
循环阻塞方式,会导致将因liteipc阻塞的线程唤醒后又进入等待中。此处在唤醒因liteipc阻塞的
线程后检查是否已有kill标志,如果有使其按接收数据失败退出,在返回用户态之前,该线程会进
入退出流程,结束运行。
Close #I3XX7K
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: Iec4e298dff4aefd2994289067a35cb5673e323f9
2021-06-26 17:08:48 +08:00
openharmony_ci
a28dcc38c9
!360 增加清除文件系统缓存的维测接口
...
Merge pull request !360 from 野生毛霉君/master
2021-06-24 07:34:45 +00:00
mucor
3d1cf683f3
feat: add clear cache cmd to /proc/fs_cache
...
write "clear pathcahe" to clear pathcaches and vnodes
write "clear pagecache" to clear pagecaches
write "clear all" to clear both pathcaches and pagechaches
the cache in use will not be cleared
close: #I3XLPH
Signed-off-by: mucor <mucorwang@gmail.com>
2021-06-24 15:11:50 +08:00
openharmony_ci
b8e18ffdf1
!323 fix: 修复内核堆完整性检查逻辑中访问非法指针导致系统异常问题。
...
Merge pull request !323 from Harylee/mem
2021-06-24 06:45:45 +00:00
chenwei
600dded31e
feat: add /proc/fd file to dump the pid/fd/path information
...
1, for users with privilege, display all users' fd info with the template "Pid Fd SysFd Path"
2, for normal user, display its own fd info with the template "Pid Fd Path"
close #I3WB5U
Signed-off-by: chenwei <chenwei26@huawei.com>
2021-06-22 17:27:25 +08:00
mucor
231cb6be27
feat: add /proc/fs_cache to display cache info
...
add /proc/fs_cache to display vnode, path cache, page cache.
also change some bad virable name
close: #I3WWBD
Signed-off-by: mucor <mucorwang@gmail.com>
2021-06-22 14:53:17 +08:00
Haryslee
30f5ab89b7
fix: 修复内核堆完整性检查逻辑中访问非法指针导致系统异常问题。
...
内存完整性校验原有逻辑中当检测到非零异常指针后仍继续访问异常指针
next的内存域导致系统异常。
本次修改后的逻辑为:检测到非零异常指针后直接退出循环,将异常指针
的相关信息输出即可,增加了goto逻辑。对原有功能逻辑无影响。
close #I3VJZT
Change-Id: I5be06a552cf9fd74d8bd78f5cdf04db06eab4f76
Signed-off-by: Haryslee <lihao189@huawei.com>
2021-06-22 09:54:31 +08:00
SimonLi
2f3d7efc24
回退 'Pull Request !342 : 增加/proc/fs_cache来显示文件系统缓存维测信息'
2021-06-21 21:33:52 +08:00
mucor
53c6d96c6f
feat: add /proc/fs_cache to display cache info
...
add /proc/fs_cache to display vnode, path cache, page cache.
also change some bad virable name
close: #I3WESD
Signed-off-by: mucor <mucorwang@gmail.com>
2021-06-21 16:11:06 +08:00
mucor
73a777777e
fix: remove redundant headfile
...
1.remove redundant headfile in kernel, such as:
compiler.h;debug.h;automount.h;inode.h;syslog.h;net.h;
2.split fs.h to file.h and driver.h
3.move vnode.h and path_cache.h to vfs/include
4.remove redundant interface and defines
close: #I3RTNR
Signed-off-by: mucor <mucorwang@gmail.com>
2021-06-19 17:32:47 +08:00
openharmony_ci
fa6993381a
!317 chore: rename function OsCreateUserVmSpace
...
Merge pull request !317 from kenneth/los_vm_map
2021-06-17 14:07:51 +08:00
kenneth
f0b419099d
chore: rename function OsCreateUserVmSpace
...
rename function OsCreateUserVmSpace to fix typo
close https://gitee.com/openharmony/kernel_liteos_a/issues/I3QD42
Signed-off-by: kenneth <459864689@qq.com>
2021-06-16 15:00:53 +08:00
Kenneth
81f3d59717
chore: fix typos
...
fix typo destroy
close https://gitee.com/openharmony/kernel_liteos_a/issues/I3RR17
Signed-off-by: Kenneth <459864689@qq.com>
2021-06-16 14:52:06 +08:00
zhushengle
23937a239f
fix: 3518平台, 异常测试进程无法正常退出
...
用户态线程在用户态处于while(1), 在中断处理时使该线程处于READY状态,
此时进程退出时该线程无法被正常回收,导致进程无法合理退出。
Close #I3V8R5
Change-Id: I7f83f5f7fe41c03eb602bf78cfd33fff1b0acdb7
Signed-off-by: zhushengle <zhushengle@huawei.com>
2021-06-10 20:11:36 +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
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
Kiita
e5f6bf0556
feat: timer_create支持以SIGEV_THREAD方式创建定时器
...
【背景】当前timer_create接口不支持以SIGEV_THREAD的方式创建多个定时器
【修改方案】
1、内核timer_create接口在创建software timers相应的线程时,使用线程
taskCB所携带的信息识别各个线程的信号并依据该信息分别派发出信号。
2、关于用户任务操作许可验证的修改,现在允许同一用户线程向其自身派发信
号,软件定时器计时结束,向用户态发送相应的信号,完成用户态线程的回调。
【影响】
对现有的产品暂无影响。
re #I3SRFI
Signed-off-by: yansira <yansira@hotmail.com>
Change-Id: Ia23f5ef01975bf867dd7f5db797a30c264c50501
2021-06-04 15:29:44 +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
3f16f1684a
!248 fix: fix length typo
...
Merge pull request !248 from kenneth/los_queue.h
2021-05-22 09:13:46 +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
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
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
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
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
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
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
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
Haryslee
022768ab58
Delete redundant code
...
Change-Id: Id75a1b146766f448838afc80ad11cfd9d990e94e
2021-04-30 10:21:49 +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
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
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
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
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
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
mucor
6ba93994cb
remove redundant page free
...
Change-Id: I5ca037ef20eb65578b804e314617953bfbf6c35b
2021-04-08 20:17:11 +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
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
Ho Hang
ea9791f8e1
Fixed Grammar Issues In VM_ERR
2021-03-29 11:56:26 +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
openharmony_ci
996047a7e2
!82 轻内核VFS层重构,添加路径缓存
...
Merge pull request !82 from 野生毛霉君/noEmployeeNum_ChangeID_13306388_wangchenyang
2021-03-23 14:45:14 +08:00
denny
6af9d2ff16
remove unuse code
...
Change-Id: I608a6e18aad240c52398d744191f6df4bdd68cb5
2021-03-23 10:35:23 +08:00
openharmony_ci
8ac55beb4e
!70 【轻量级 PR】:update kernel/base/vm/los_vm_filemap.c.
...
Merge pull request !70 from 冷钦街/N/A
2021-03-22 21:04:50 +08:00
wangchenyang
d970750808
Description:vfs refactoring
...
Feature or Bugfix:Feature
Binary Source:Huawei
PrivateCode(Yes/No):Yes
Change-Id: I175d2648bc6f9078c34de2c0a5c93fda10b86c47
ChangeID:13306388
2021-03-19 13:22:46 +08:00
Haryslee
c29806a316
Optimization for physics memory
...
Change-Id: Id7765f13d15014c8b19b75156b9f5971cbe99705
2021-03-13 17:37:10 +08:00
mamingshuai
73a7b66116
update openharmony 1.0.1
2021-03-11 18:43:57 +08:00
冷钦街
3fe1a89b49
update kernel/base/vm/los_vm_filemap.c.
2021-02-18 16:41:29 +08:00
冷钦街
82d6fe991c
update kernel/base/vm/los_vm_phys.c.
2021-02-03 15:43:39 +08:00
冷钦街
91e4e73dab
update kernel/base/ipc/los_futex.c.
2021-01-15 07:13:07 +08:00
zhangfanfan2
98b1ae1ae6
删除LOS_TaskDelete中用于调试的主动异常信息以及修复LOS_DoMremap中调用LOS_ArchMmuMove参数错误问题
2021-01-13 14:42:32 +08:00
zhOu
0a40c5434b
修复dev 文件夹mmap bug
2021-01-07 15:38:37 +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
Zbigniew Bodek
07c89a8473
Fix IS_PERIPH_ADDR() and IS_MEMORY_ADDR() macros
...
The macros assume that constants that are compared against
"addr" are either unsigned or less than INT_MAX.
In some cases it is not true so change costants to unsigned
using U32_C macros.
The correct solution would be to change teh MEM_ADDR, PMM_BASE, etc.
to be unsigned long but currently "U" suffix is appended in various
places so the assumption is that those macros use default definition
(which is int).
Put "addr" into brackets by the way since it could be an expression
rather than one variable.
Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: Ife9bc5863b4934ecaab64b24faa084b87d7d7ea5
2020-12-31 00:54:33 +08:00
Zbigniew Bodek
994ad00de7
Change DEFINE macro to U32_C
...
The macro to append "U" suffix should be named
according to what it actually does which is defining U32 constant.
Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: I55701f0650c88bd083c062581af5c7a1b966bc0b
2020-12-31 00:53:09 +08:00
likailong
3dd32b9901
Description: add protect flag to resource task
...
Reviewed-by: shenwei and zhangfanfan
2020-12-26 10:43:04 +08:00
zhangfanfan2
5ed6f6598e
No idle PCB debug
2020-12-25 09:59:11 +08:00
openharmony_ci
b5571e02e4
!46 【轻量级 PR】:No idle PCB debug
...
Merge pull request !46 from zhangfanfan2/N/A
2020-12-24 15:37:11 +08:00
zhangfanfan2
b64e399c10
No idle TCB debug
2020-12-24 14:22:28 +08:00
zhangfanfan2
0c635d79e6
No idle PCB debug
2020-12-24 14:20:50 +08:00
likailong
e10c9af86f
Description: fix mutex unlock error
...
Reviewed-by: zhangfanfan
2020-12-23 16:34:37 +08:00
openharmony_ci
c69eee403e
!39 修正OsSigTimedWaitNoLock只清除一个pending信号
...
Merge pull request !39 from laokz/signal
2020-12-09 14:08:36 +08:00
laokz
a706de2fad
fix hilog, vm_syscall etc. typos
2020-12-08 18:00:32 +08:00
laokz
4ea33fa9f9
修正OsSigTimedWaitNoLock只清除一个pending信号
2020-12-05 17:38:05 +08:00
laokz
bd9b180b27
修复SYSV shm函数:OsShmRegionFree物理页解映射、共享段删除条件,ShmGet操作标志检查,ShmatVmmAlloc对已存在映射的处理。
2020-12-01 18:59:22 +08:00
laokz
c2b31e9628
修改region相关:优化OsVmRegionSplit红黑树节点操作,修改OsVmRegionAdjust起始地址不在region时的行为,修复OsIsRegionCanExpand计算错误,更正几处typos
2020-11-27 20:49:06 +08:00
Zbigniew Bodek
22f0e9ac30
Fix build when HILOG is disabled
...
Fix build when BASE_CORE_HILOG option is disabled.
Use similar printing function to output missing HILOG
logs.
Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: Id5c63568ccb1ba90daadddf7e26d3e0f6c9f30ce
2020-11-17 23:07:01 +08:00
zhushengle
4ff3c4bf79
Description:Process security function rectification.
...
Reviewed-by:liulei, lihao, likailong
Change-Id: Ibacdda2ccbbc991ac9732f2ad09bdb98195203b3
2020-11-05 09:10:14 +08:00
zhangfanfan2
02788cedc0
内存泄漏、访问野指针以及竞态问题修复。
2020-11-03 11:20:09 +08:00
laokz
3883ccb0a0
修复LOS_BitmapSetNBits误将位数当作位模式的错误
2020-10-17 23:25:24 +08:00
Caoruihong
63bd69267a
drop unnecessary executable file permission mode
...
Change-Id: Ia6c1f6302407a707b3ec9b805f4c92d8a7970b86
2020-10-13 16:37:25 +08:00
zhushengle
12b81567df
修改PCB中错误的注释,并统一注释格式
2020-09-28 21:47:42 +08:00
Harylee
f62115dfef
Fix mmap
2020-09-28 16:32:18 +08:00
zhushengle
a73348da8d
modify the indentation
2020-09-28 14:35:53 +08:00
zhushengle
c884ada07d
Solve the static problem of user mode locking under high concurrency.
2020-09-28 14:12:46 +08:00
jiamuluo
7d76e5f791
!8 OsCreateIdleProcess 中判断错误
...
Merge pull request !8 from jiamuluo/master
2020-09-15 11:49:41 +08:00
wenjun
6df931fc98
add OpenHarmony 1.0 baseline
2020-09-08 17:22:24 +08:00