diff --git a/arch/arm/src/armv7-r/arm_vectors.S b/arch/arm/src/armv7-r/arm_vectors.S index 9bf8f9f9ad..04b98e9970 100644 --- a/arch/arm/src/armv7-r/arm_vectors.S +++ b/arch/arm/src/armv7-r/arm_vectors.S @@ -940,7 +940,7 @@ arm_vectorfiq: #if CONFIG_ARCH_INTERRUPTSTACK > 7 .Lfiqstackbase: - .word g_intstackbase + .word g_fiqstackbase #endif #else @@ -968,5 +968,21 @@ g_intstackbase: .size g_intstackbase, 4 .size g_intstackalloc, (CONFIG_ARCH_INTERRUPTSTACK & ~7) +/**************************************************************************** + * Name: g_fiqstackalloc/g_fiqstackbase + ****************************************************************************/ + + .globl g_fiqstackalloc + .type g_fiqstackalloc, object + .globl g_fiqstackbase + .type g_fiqstackbase, object + +g_fiqstackalloc: + .skip ((CONFIG_ARCH_INTERRUPTSTACK + 4) & ~7) +g_fiqstackbase: + .skip 4 + .size g_fiqstackbase, 4 + .size g_fiqstackalloc, (CONFIG_ARCH_INTERRUPTSTACK & ~7) + #endif /* CONFIG_ARCH_INTERRUPTSTACK > 7 */ .end