Add _NANO_ERR_ALLOCATION_FAIL fatal error code
This reason code will be used indicate that the kernel failed to allocate a critical resource (such as a command packet or a timer packet). Change-Id: I6d4c3d96fc70b2b8cab4027b1b8e4febf4d6c474 Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
parent
6b12d608d3
commit
7d2fc8ec22
6 changed files with 15 additions and 0 deletions
|
@ -102,6 +102,10 @@ FUNC_NORETURN void _NanoFatalErrorHandler(
|
|||
break;
|
||||
#endif /* CONFIG_STACK_CANARIES */
|
||||
|
||||
case _NANO_ERR_ALLOCATION_FAIL:
|
||||
PR_EXC("**** Kernel Allocation Failure! ****\n");
|
||||
break;
|
||||
|
||||
default:
|
||||
PR_EXC("**** Unknown Fatal Error %d! ****\n", reason);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue