arches: use new kernel APIs

Change-Id: I4b6f5264d5295ebf4278991a1f4e2141bef6602f
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2016-11-09 11:10:21 -08:00 committed by Anas Nashif
commit 56f561e15e
7 changed files with 40 additions and 113 deletions

View file

@ -100,8 +100,7 @@ FUNC_NORETURN void _NanoFatalErrorHandler(unsigned int reason,
}
PR_EXC("Current thread ID = %p\n"
"Faulting instruction address = 0x%" PRIx32 "\n",
sys_thread_self_get(),
pEsf->pc);
k_current_get(), pEsf->pc);
/*
* Now that the error has been reported, call the user implemented