arch: Remove xxx_intstack_top and xxx_intstack_alloc

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2024-04-06 20:03:02 +08:00
committed by Alan Carvalho de Assis
parent 4e725ecd44
commit 4ea2aeff6b
33 changed files with 56 additions and 352 deletions
+2 -18
View File
@@ -127,23 +127,7 @@ void up_irqinitialize(void)
}
/****************************************************************************
* Name: arm_intstack_top
*
* Description:
* Return a pointer to the top the correct interrupt stack allocation
* for the current CPU.
*
****************************************************************************/
#if defined(CONFIG_SMP) && CONFIG_ARCH_INTERRUPTSTACK > 7
uintptr_t arm_intstack_top(int cpu)
{
return g_irqstack_top[cpu];
}
#endif
/****************************************************************************
* Name: arm_intstack_alloc
* Name: up_get_intstackbase
*
* Description:
* Return a pointer to the "alloc" the correct interrupt stack allocation
@@ -152,7 +136,7 @@ uintptr_t arm_intstack_top(int cpu)
****************************************************************************/
#if defined(CONFIG_SMP) && CONFIG_ARCH_INTERRUPTSTACK > 7
uintptr_t arm_intstack_alloc(int cpu)
uintptr_t up_get_intstackbase(int cpu)
{
return g_irqstack_top[cpu] - INTSTACK_SIZE;
}