From 6f3aebe910df0bf0e930f6af992ca893e41935bc Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Mon, 13 Apr 2015 16:34:02 -0400 Subject: [PATCH] Renumber x86 fatal error codes Makes the _NANO_ERR_xxx error code values continuous. Signed-off-by: Peter Mitsis Change-Id: Iec0a5d0d6c54a94511a20608ba59626148baaca4 --- include/nanokernel/x86/arch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nanokernel/x86/arch.h b/include/nanokernel/x86/arch.h index 98d440fe7d7..11e8ada79b5 100644 --- a/include/nanokernel/x86/arch.h +++ b/include/nanokernel/x86/arch.h @@ -192,12 +192,12 @@ typedef struct nanoIsf { * and _SysFatalErrorHandler(). */ -#define _NANO_ERR_SPURIOUS_INT (0) /* Unhandled exception/interrupt */ +#define _NANO_ERR_SPURIOUS_INT (0) /* Unhandled exception/interrupt */ #define _NANO_ERR_PAGE_FAULT (1) /* Page fault */ #define _NANO_ERR_GEN_PROT_FAULT (2) /* General protection fault */ #define _NANO_ERR_INVALID_TASK_EXIT (3) /* Invalid task exit */ #define _NANO_ERR_STACK_CHK_FAIL (4) /* Stack corruption detected */ -#define _NANO_ERR_INVALID_STRING_OP (6) /* Invalid string operation */ +#define _NANO_ERR_INVALID_STRING_OP (5) /* Invalid string operation */ #ifndef _ASMLANGUAGE