Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Kernel Liteos A
提交
78906f4a
K
Kernel Liteos A
项目概览
OpenHarmony
/
Kernel Liteos A
1 年多 前同步成功
通知
460
Star
414
Fork
55
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel Liteos A
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
78906f4a
编写于
7月 07, 2021
作者:
O
openharmony_ci
提交者:
Gitee
7月 07, 2021
浏览文件
操作
浏览文件
下载
差异文件
!406 修正最小编译时的错误
Merge pull request !406 from Caoruihong/qemu_mini
上级
ee7eb893
ac8c2c6d
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
32 addition
and
2 deletion
+32
-2
apps/module.mk
apps/module.mk
+2
-0
arch/arm/arm/src/los_exc.c
arch/arm/arm/src/los_exc.c
+1
-1
fs/proc/os_adapt/kernel_trace_proc.c
fs/proc/os_adapt/kernel_trace_proc.c
+1
-1
kernel/base/core/los_task.c
kernel/base/core/los_task.c
+2
-0
kernel/base/include/los_task_pri.h
kernel/base/include/los_task_pri.h
+2
-0
kernel/base/ipc/los_signal.c
kernel/base/ipc/los_signal.c
+2
-0
kernel/base/vm/los_vm_filemap.c
kernel/base/vm/los_vm_filemap.c
+2
-0
syscall/los_syscall.h
syscall/los_syscall.h
+2
-0
tools/build/config/debug/mini_qemu_liteos_a_clang.config
tools/build/config/debug/mini_qemu_liteos_a_clang.config
+1
-0
tools/build/config/mini_qemu_liteos_a_clang_release.config
tools/build/config/mini_qemu_liteos_a_clang_release.config
+15
-0
tools/build/mk/los_config.mk
tools/build/mk/los_config.mk
+2
-0
未找到文件。
apps/module.mk
浏览文件 @
78906f4a
...
...
@@ -45,6 +45,8 @@ endif
#only enable for qemu now
ifeq
($(LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7), y)
ifeq
($(LOSCFG_SHELL), y)
APP_SUBDIRS
+=
mksh
APP_SUBDIRS
+=
toybox
endif
endif
arch/arm/arm/src/los_exc.c
浏览文件 @
78906f4a
...
...
@@ -1168,7 +1168,7 @@ __attribute__((noinline)) VOID LOS_Panic(const CHAR *fmt, ...)
}
/* stack protector */
UINT32
__stack_chk_guard
=
0xd00a0dff
;
U
SED
U
INT32
__stack_chk_guard
=
0xd00a0dff
;
VOID
__stack_chk_fail
(
VOID
)
{
...
...
fs/proc/os_adapt/kernel_trace_proc.c
浏览文件 @
78906f4a
...
...
@@ -32,9 +32,9 @@
#include <sys/statfs.h>
#include <sys/mount.h>
#include "proc_fs.h"
#include "los_trace.h"
#ifdef LOSCFG_KERNEL_TRACE
#include "los_trace.h"
static
int
KernelTraceProcFill
(
struct
SeqBuf
*
m
,
void
*
v
)
{
(
void
)
v
;
...
...
kernel/base/core/los_task.c
浏览文件 @
78906f4a
...
...
@@ -1413,6 +1413,7 @@ STATIC VOID OsExitGroupActiveTaskKilled(LosProcessCB *processCB, LosTaskCB *task
LOS_MpSchedule
(
taskCB
->
currCpu
);
}
else
#endif
#ifdef LOSCFG_KERNEL_VM
{
ret
=
OsTaskKillUnsafe
(
taskCB
->
taskID
,
SIGKILL
);
if
(
ret
!=
LOS_OK
)
{
...
...
@@ -1420,6 +1421,7 @@ STATIC VOID OsExitGroupActiveTaskKilled(LosProcessCB *processCB, LosTaskCB *task
taskCB
->
processID
,
OsCurrTaskGet
()
->
taskID
,
taskCB
->
taskID
,
ret
);
}
}
#endif
if
(
!
(
taskCB
->
taskStatus
&
OS_TASK_FLAG_PTHREAD_JOIN
))
{
taskCB
->
taskStatus
|=
OS_TASK_FLAG_PTHREAD_JOIN
;
...
...
kernel/base/include/los_task_pri.h
浏览文件 @
78906f4a
...
...
@@ -45,7 +45,9 @@
#include "los_cpup_pri.h"
#endif
#ifdef LOSCFG_KERNEL_TRACE
#include "los_trace.h"
#endif
#ifdef __cplusplus
#if __cplusplus
...
...
kernel/base/ipc/los_signal.c
浏览文件 @
78906f4a
...
...
@@ -101,11 +101,13 @@ STATIC UINT32 OsPendingTaskWake(LosTaskCB *taskCB, INT32 signo)
case
OS_TASK_WAIT_SIGNAL
:
OsSigWaitTaskWake
(
taskCB
,
signo
);
break
;
#ifdef LOSCFG_KERNEL_LITEIPC
case
OS_TASK_WAIT_LITEIPC
:
taskCB
->
ipcStatus
&=
~
IPC_THREAD_STATUS_PEND
;
OsTaskWakeClearPendMask
(
taskCB
);
OsSchedTaskWake
(
taskCB
);
break
;
#endif
case
OS_TASK_WAIT_FUTEX
:
OsFutexNodeDeleteFromFutexHash
(
&
taskCB
->
futex
,
TRUE
,
NULL
,
NULL
);
OsTaskWakeClearPendMask
(
taskCB
);
...
...
kernel/base/vm/los_vm_filemap.c
浏览文件 @
78906f4a
...
...
@@ -41,7 +41,9 @@
#include "los_vm_fault.h"
#include "los_process_pri.h"
#include "los_vm_lock.h"
#ifdef LOSCFG_FS_VFS
#include "vnode.h"
#endif
#ifndef UNUSED
#define UNUSED(x) (VOID)x
...
...
syscall/los_syscall.h
浏览文件 @
78906f4a
...
...
@@ -62,7 +62,9 @@
#endif
#include <sys/wait.h>
#include "sys/resource.h"
#ifdef LOSCFG_FS_VFS
#include "vnode.h"
#endif
/* process */
extern
unsigned
int
SysGetGroupId
(
void
);
...
...
tools/build/config/
qemu_arm_virt_mini
.config
→
tools/build/config/
debug/mini_qemu_liteos_a_clang
.config
浏览文件 @
78906f4a
...
...
@@ -2,6 +2,7 @@ LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7=y
LOSCFG_BOARD_CONFIG_PATH
=
"device/qemu/arm_virt/liteos_a/config/board"
# LOSCFG_HRTIMER_ENABLE is not set
# LOSCFG_IRQ_USE_STANDALONE_STACK is not set
# LOSCFG_BLACKBOX is not set
# LOSCFG_KERNEL_MMU is not set
# LOSCFG_KERNEL_EXTKERNEL is not set
# LOSCFG_BASE_CORE_HILOG is not set
...
...
tools/build/config/mini_qemu_liteos_a_clang_release.config
0 → 100644
浏览文件 @
78906f4a
LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7
=
y
LOSCFG_BOARD_CONFIG_PATH
=
"device/qemu/arm_virt/liteos_a/config/board"
# LOSCFG_HRTIMER_ENABLE is not set
# LOSCFG_IRQ_USE_STANDALONE_STACK is not set
# LOSCFG_BLACKBOX is not set
# LOSCFG_KERNEL_MMU is not set
# LOSCFG_KERNEL_EXTKERNEL is not set
# LOSCFG_BASE_CORE_HILOG is not set
# LOSCFG_LIB_ZLIB is not set
# LOSCFG_FS_VFS is not set
# LOSCFG_NET_LWIP_SACK is not set
# LOSCFG_PLATFORM_ADAPT is not set
# LOSCFG_ENABLE_MAGICKEY is not set
# LOSCFG_DRIVERS is not set
# LOSCFG_SECURITY is not set
tools/build/mk/los_config.mk
浏览文件 @
78906f4a
...
...
@@ -198,9 +198,11 @@ ifeq ($(LOSCFG_KERNEL_VDSO), y)
LITEOS_VDSO_INCLUDE
+=
-I
$(LITEOSTOPDIR)
/kernel/extended/vdso/include
endif
ifeq
($(LOSCFG_KERNEL_TRACE), y)
LITEOS_BASELIB
+=
-ltrace
LIB_SUBDIRS
+=
kernel/extended/trace
LITEOS_TRACE_INCLUDE
+=
-I
$(LITEOSTOPDIR)
/kernel/extended/trace
endif
ifeq
($(LOSCFG_KERNEL_LITEIPC), y)
LITEOS_BASELIB
+=
-lliteipc
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录