arches: move _NanoFatalErrorHandler defintion
This needs to be in <arch/cpu.h> so that it can be called from the k_panic()/k_oops() macros in kernel.h. Fixes build errors on these arches when using k_panic() or k_oops(). Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
8f9249cf5c
commit
74afcb67ae
4 changed files with 5 additions and 7 deletions
|
@ -159,6 +159,8 @@ extern const NANO_ESF _default_esf;
|
|||
FUNC_NORETURN void _SysFatalErrorHandler(unsigned int reason,
|
||||
const NANO_ESF *esf);
|
||||
|
||||
FUNC_NORETURN void _NanoFatalErrorHandler(unsigned int reason,
|
||||
const NANO_ESF *esf);
|
||||
|
||||
enum nios2_exception_cause {
|
||||
NIOS2_EXCEPTION_UNKNOWN = -1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue