!468 fix:修复异常处理入口条件判断范围错误的问题

Merge pull request !468 from 王树林/master
This commit is contained in:
openharmony_ci 2021-12-17 03:20:15 +00:00 committed by Gitee
commit 41a3cb0233
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(EXC_CONTEXT_S *excBufAddr, UINT32 f
g_excInfo.faultAddr = faultAddr; g_excInfo.faultAddr = faultAddr;
if (g_losTask.runTask != NULL) { if (g_losTask.runTask != NULL) {
if (tmpFlag >= 0) { if (tmpFlag > 0) {
g_excInfo.phase = OS_EXC_IN_HWI; g_excInfo.phase = OS_EXC_IN_HWI;
g_excInfo.thrdPid = tmpFlag; g_excInfo.thrdPid = tmpFlag;
} else { } else {