arch: arc: arm: sys_thread_self_get -> k_current_get
Change-Id: Iaa01b0d8733d76888524cfd258bacbd9c11142de Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
073442ecc5
commit
7cac3b9625
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ void _FaultDump(const NANO_ESF *esf, int fault)
|
|||
{
|
||||
PR_EXC("Fault! EXC #%d, Thread: %p, instr @ 0x%" PRIx32 "\n",
|
||||
fault,
|
||||
sys_thread_self_get(),
|
||||
k_current_get(),
|
||||
esf->pc);
|
||||
|
||||
#if !defined(CONFIG_CPU_CORTEX_M0_M0PLUS)
|
||||
|
|
|
@ -116,7 +116,7 @@ FUNC_NORETURN void _NanoFatalErrorHandler(unsigned int reason,
|
|||
"eax: 0x%x, ebx: 0x%x, ecx: 0x%x, edx: 0x%x\n"
|
||||
"esi: 0x%x, edi: 0x%x, ebp: 0%x, esp: 0x%x\n"
|
||||
"eflags: 0x%x\n",
|
||||
sys_thread_self_get(),
|
||||
k_current_get(),
|
||||
pEsf->cs & 0xFFFF, pEsf->eip,
|
||||
pEsf->eax, pEsf->ebx, pEsf->ecx, pEsf->edx,
|
||||
pEsf->esi, pEsf->edi, pEsf->ebp, pEsf->esp,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue