!62 Fix the issue that interrupt vector array alignment

Merge pull request !62 from Harylee/os
This commit is contained in:
openharmony_ci 2021-04-08 14:27:12 +08:00 committed by Gitee
commit 1ffc972340
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ LITE_OS_SEC_VEC
* @ingroup los_hwi
* hardware interrupt form mapping handling function array.
*/
STATIC HWI_PROC_FUNC g_hwiForm[OS_VECTOR_CNT] = {0};
STATIC HWI_PROC_FUNC __attribute__((aligned(0x100))) g_hwiForm[OS_VECTOR_CNT] = {0};
#if (OS_HWI_WITH_ARG == 1)