arch/tricore: update the function prototype as mainline
Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
parent
e081892316
commit
04eeef06a7
arch/tricore/src/common
@ -142,7 +142,7 @@ size_t up_check_tcbstack(struct tcb_s *tcb)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_ARCH_INTERRUPTSTACK > 15
|
#if CONFIG_ARCH_INTERRUPTSTACK > 15
|
||||||
size_t up_check_intstack(void)
|
size_t up_check_intstack(int cpu)
|
||||||
{
|
{
|
||||||
return tricore_stack_check((uintptr_t)g_intstackalloc,
|
return tricore_stack_check((uintptr_t)g_intstackalloc,
|
||||||
(CONFIG_ARCH_INTERRUPTSTACK & ~15));
|
(CONFIG_ARCH_INTERRUPTSTACK & ~15));
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#if CONFIG_ARCH_INTERRUPTSTACK > 3
|
#if CONFIG_ARCH_INTERRUPTSTACK > 3
|
||||||
uintptr_t up_get_intstackbase(void)
|
uintptr_t up_get_intstackbase(int cpu)
|
||||||
{
|
{
|
||||||
return (uintptr_t)g_intstackalloc;
|
return (uintptr_t)g_intstackalloc;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user