Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Kernel Liteos A
提交
d07637e6
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看板
提交
d07637e6
编写于
12月 31, 2020
作者:
O
openharmony_ci
提交者:
Gitee
12月 31, 2020
浏览文件
操作
浏览文件
下载
差异文件
!53 Add latest post-review fixes for Qemu ARM Virt support
Merge pull request !53 from Zbigniew/qemu-arm-dev
上级
58da2cb0
fab70c73
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
16 addition
and
13 deletion
+16
-13
kernel/common/los_config.c
kernel/common/los_config.c
+0
-1
shell/full/src/base/show.c
shell/full/src/base/show.c
+8
-8
tools/build/mk/los_config.mk
tools/build/mk/los_config.mk
+8
-4
未找到文件。
kernel/common/los_config.c
浏览文件 @
d07637e6
...
...
@@ -130,7 +130,6 @@ extern "C" {
#endif
/* __cplusplus */
extern
UINT32
OsSystemInit
(
VOID
);
extern
VOID
SystemInit
(
VOID
);
VOID
__attribute__
((
weak
))
SystemInit
(
VOID
)
{
...
...
shell/full/src/base/show.c
浏览文件 @
d07637e6
...
...
@@ -100,16 +100,16 @@ STATIC UINT32 OsShellSourceInit(INT32 consoleId)
ret
=
LOS_NOK
;
goto
ERR_OUT4
;
}
if
(
consoleId
==
CONSOLE_TELNET
#if !defined(LOSCFG_PLATFORM_ROOTFS)
/*
* In case of ROOTFS disabled but
* serial console enabled, it is required
* to create Shell task in kernel for it.
*/
||
consoleId
==
CONSOLE_SERIAL
/*
* In case of ROOTFS disabled but
* serial console enabled, it is required
* to create Shell task in kernel for it.
*/
if
(
consoleId
==
CONSOLE_TELNET
||
consoleId
==
CONSOLE_SERIAL
)
{
#else
if
(
consoleId
==
CONSOLE_TELNET
)
{
#endif
)
{
ret
=
OsShellCreateTask
(
shellCB
);
if
(
ret
!=
LOS_OK
)
{
goto
ERR_OUT4
;
...
...
tools/build/mk/los_config.mk
浏览文件 @
d07637e6
...
...
@@ -463,10 +463,14 @@ ifeq ($(LOSCFG_COMPILE_DEBUG), y)
LITEOS_COPTS_OPTION
=
-g
-gdwarf-2
else
ifeq
($(LOSCFG_COMPILER_CLANG_LLVM), y)
# WORKAROUND: Disable LTO to avoid undefined __stack_chk_guard
# problem. "externally_visible" attribute could be
# a fix for that but it is not known to our LLVM.
LITEOS_COPTS_OPTMIZE
=
-Oz
#-flto
ifeq
($(LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7), y)
# WORKAROUND: Disable LTO to avoid undefined __stack_chk_guard
# problem. "externally_visible" attribute could be
# a fix for that but it is not known to our LLVM.
LITEOS_COPTS_OPTMIZE
=
-Oz
#-flto
else
LITEOS_COPTS_OPTMIZE
=
-Oz
-flto
endif
else
LITEOS_COPTS_OPTMIZE
=
-O2
endif
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录