Xtensa port: Removed compiler warnings about printf formats/arguments mismatch.
Change-Id: Ie430072243911dc74263dbd7afe8703d0b3c4731 Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
This commit is contained in:
parent
0efb2313ca
commit
2f4bec77d3
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ void _NanoFatalErrorHandler(unsigned int reason, const NANO_ESF *pEsf)
|
||||||
PR_EXC("**** Unknown Fatal Error %d! ****\n", reason);
|
PR_EXC("**** Unknown Fatal Error %d! ****\n", reason);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
PR_EXC("Current thread ID = 0x%x\n"
|
PR_EXC("Current thread ID = %p\n"
|
||||||
"Faulting instruction address = 0x%x\n",
|
"Faulting instruction address = 0x%x\n",
|
||||||
k_current_get(),
|
k_current_get(),
|
||||||
pEsf->pc);
|
pEsf->pc);
|
||||||
|
|
|
@ -105,7 +105,7 @@ void _new_thread(char *pStack, size_t stackSize,
|
||||||
(uint32_t)stackEnd - XT_CP_SA_SIZE;
|
(uint32_t)stackEnd - XT_CP_SA_SIZE;
|
||||||
#ifdef CONFIG_DEBUG
|
#ifdef CONFIG_DEBUG
|
||||||
printk("cpStack = %p\n", tcs->arch.preempCoprocReg.cpStack);
|
printk("cpStack = %p\n", tcs->arch.preempCoprocReg.cpStack);
|
||||||
printk("cpAsa = %p\n", *(uint32_t *)(tcs->arch.preempCoprocReg.cpStack + XT_CP_ASA));
|
printk("cpAsa = %p\n", *(void **)(tcs->arch.preempCoprocReg.cpStack + XT_CP_ASA));
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
/* Thread's first frame alignment is granted as both operands are aligned */
|
/* Thread's first frame alignment is granted as both operands are aligned */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue