Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Drivers Liteos
提交
3d950a80
D
Drivers Liteos
项目概览
OpenHarmony
/
Drivers Liteos
大约 1 年 前同步成功
通知
3
Star
21
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Drivers Liteos
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
3d950a80
编写于
4月 21, 2022
作者:
O
openharmony_ci
提交者:
Gitee
4月 21, 2022
浏览文件
操作
浏览文件
下载
差异文件
!41 Fix : 修改了3.0 LTS 代码中的告警
Merge pull request !41 from yinjiaming/OpenHarmony-3.0-LTS
上级
1dd0757a
4ac81e78
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
11 addition
and
11 deletion
+11
-11
hievent/src/hiview_hievent.c
hievent/src/hiview_hievent.c
+1
-1
tzdriver/include/tc_ns_log.h
tzdriver/include/tc_ns_log.h
+5
-5
tzdriver/src/mailbox_mempool.c
tzdriver/src/mailbox_mempool.c
+2
-2
tzdriver/src/smc_smp.c
tzdriver/src/smc_smp.c
+1
-1
tzdriver/src/tc_client_sub_driver.c
tzdriver/src/tc_client_sub_driver.c
+1
-1
tzdriver/src/tz_spi_notify.c
tzdriver/src/tz_spi_notify.c
+1
-1
未找到文件。
hievent/src/hiview_hievent.c
浏览文件 @
3d950a80
...
...
@@ -445,7 +445,7 @@ static int HiviewHieventConvertString(struct HiviewHievent *event, char **pbuf)
tmp
=
buf
;
/* fill eventid */
tmplen
=
snprintf_s
(
tmp
,
len
,
len
-
1
,
"eventid %
d
"
,
event
->
eventid
);
tmplen
=
snprintf_s
(
tmp
,
len
,
len
-
1
,
"eventid %
u
"
,
event
->
eventid
);
BUF_POINTER_FORWARD
;
/* fill the path */
...
...
tzdriver/include/tc_ns_log.h
浏览文件 @
3d950a80
...
...
@@ -52,32 +52,32 @@ enum {
#define tlogv(fmt, args...) \
do { \
if (TZ_DEBUG_VERBOSE >= TEE_LOG_MASK) \
pr_info("(%
i
, %s)%s: " fmt, OsCurrTaskGet()->taskID, OsCurrTaskGet()->taskName, __func__, ## args); \
pr_info("(%
u
, %s)%s: " fmt, OsCurrTaskGet()->taskID, OsCurrTaskGet()->taskName, __func__, ## args); \
} while (0)
#define tlogd(fmt, args...) \
do { \
if (TZ_DEBUG_DEBUG >= TEE_LOG_MASK) \
pr_info("(%
i
, %s)%s: " fmt, OsCurrTaskGet()->taskID, OsCurrTaskGet()->taskName, __func__, ## args); \
pr_info("(%
u
, %s)%s: " fmt, OsCurrTaskGet()->taskID, OsCurrTaskGet()->taskName, __func__, ## args); \
} while (0)
#define tlogi(fmt, args...) \
do { \
if (TZ_DEBUG_INFO >= TEE_LOG_MASK) \
pr_info("(%
i
, %s)%s: " fmt, OsCurrTaskGet()->taskID, OsCurrTaskGet()->taskName, __func__, ## args); \
pr_info("(%
u
, %s)%s: " fmt, OsCurrTaskGet()->taskID, OsCurrTaskGet()->taskName, __func__, ## args); \
} while (0)
#define tlogw(fmt, args...) \
do { \
if (TZ_DEBUG_WARN >= TEE_LOG_MASK) \
pr_warn("(%
i
, %s)%s: " fmt, OsCurrTaskGet()->taskID, OsCurrTaskGet()->taskName, __func__, ## args); \
pr_warn("(%
u
, %s)%s: " fmt, OsCurrTaskGet()->taskID, OsCurrTaskGet()->taskName, __func__, ## args); \
} while (0)
#define tloge(fmt, args...) \
pr_err("(%
i
, %s)%s: " fmt, OsCurrTaskGet()->taskID, OsCurrTaskGet()->taskName, __func__, ## args)
pr_err("(%
u
, %s)%s: " fmt, OsCurrTaskGet()->taskID, OsCurrTaskGet()->taskName, __func__, ## args)
#endif
tzdriver/src/mailbox_mempool.c
浏览文件 @
3d950a80
...
...
@@ -73,7 +73,7 @@ static void MailboxShowStatus(void)
mutex_lock
(
&
g_mbLock
);
for
(
i
=
0
;
i
<
MAILBOX_PAGE_MAX
;
i
++
)
{
if
(
g_mZone
.
pages
[
i
].
count
)
{
pr_info
(
"page[%02
d], order=%02d, count=%d
\n
"
,
i
,
g_mZone
.
pages
[
i
].
order
,
g_mZone
.
pages
[
i
].
count
);
pr_info
(
"page[%02
u], order=%02d, count=%u
\n
"
,
i
,
g_mZone
.
pages
[
i
].
order
,
g_mZone
.
pages
[
i
].
count
);
used
+=
(
1UL
<<
(
uint32_t
)
g_mZone
.
pages
[
i
].
order
);
}
}
...
...
@@ -108,7 +108,7 @@ static void MailboxShowDetails(void)
for
(
i
=
0
;
i
<
MAILBOX_PAGE_MAX
;
i
++
)
{
if
((
i
%
MB_SHOW_LINE
)
==
0
)
{
PRINTK
(
"
\n
"
);
PRINTK
(
"%04
d-%04d
:"
,
i
,
i
+
MB_SHOW_LINE
);
PRINTK
(
"%04
u-%04u
:"
,
i
,
i
+
MB_SHOW_LINE
);
}
if
(
g_mZone
.
pages
[
i
].
count
)
{
...
...
tzdriver/src/smc_smp.c
浏览文件 @
3d950a80
...
...
@@ -1561,7 +1561,7 @@ int SmcInitData(void)
g_siqThread
=
KthreadRun
(
SiqThreadFn
,
NULL
,
0
,
"siqthread/0"
);
if
(
unlikely
(
IS_ERR_OR_NULL
(
g_siqThread
)))
{
pr_err
(
"couldn't create siqthread %l
d
\n
"
,
pr_err
(
"couldn't create siqthread %l
u
\n
"
,
PTR_ERR
(
g_siqThread
));
ret
=
(
int
)
PTR_ERR
(
g_siqThread
);
goto
FREE_MEM
;
...
...
tzdriver/src/tc_client_sub_driver.c
浏览文件 @
3d950a80
...
...
@@ -591,7 +591,7 @@ int PackCaCert(char *caCert, const char *path,
}
messageSize
=
snprintf_s
(
caCert
,
BUF_MAX_SIZE
-
1
,
BUF_MAX_SIZE
-
1
,
"%s%
u
"
,
path
,
BUF_MAX_SIZE
-
1
,
"%s%
d
"
,
path
,
uid
);
return
messageSize
;
...
...
tzdriver/src/tz_spi_notify.c
浏览文件 @
3d950a80
...
...
@@ -672,7 +672,7 @@ int TzSpiInit()
irq
=
NUM_HAL_INTERRUPT_TEE_SPI_NOTIFY
;
int
ret
=
DevmRequestIrq
(
irq
,
TcSecureNotify
,
IRQF_NO_SUSPEND
,
TC_NS_CLIENT_DEV
,
NULL
);
if
(
ret
<
0
)
{
tloge
(
"device irq %u request failed %
u
"
,
irq
,
ret
);
tloge
(
"device irq %u request failed %
d
"
,
irq
,
ret
);
goto
clean
;
}
ret
=
memset_s
(
&
g_taCallbackFuncList
,
sizeof
(
g_taCallbackFuncList
),
0
,
sizeof
(
g_taCallbackFuncList
));
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录