Fix the issue that interrupt vector array alignment

Change-Id: I3200eff0e5b048135cd05ffa4e7559633088dc03
This commit is contained in:
Haryslee 2021-04-07 20:02:13 +08:00
parent f2d61153c6
commit 6f92ee70bd
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ LITE_OS_SEC_VEC
* @ingroup los_hwi * @ingroup los_hwi
* hardware interrupt form mapping handling function array. * 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) #if (OS_HWI_WITH_ARG == 1)