fatal_types: define start of arch specific faults

Define the index where arch specific faults start. This is a specific
number to avoid arch specific fault values changing each time a new
generic fault is added.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
This commit is contained in:
Jordan Yates 2023-01-06 17:58:38 +10:00 committed by Carles Cufí
parent 581e5375ff
commit 8113d1c67d
1 changed files with 2 additions and 3 deletions

View File

@ -37,9 +37,8 @@ enum k_fatal_error_reason {
/** High severity software error */
K_ERR_KERNEL_PANIC,
/* TODO: add more codes for exception types that are common across
* architectures
*/
/** Arch specific fatal errors */
K_ERR_ARCH_START = 16
};
/** @} */