Skip to content

Commit 8113d1c

Browse files
Jordan Yatescarlescufi
authored andcommitted
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 <[email protected]>
1 parent 581e537 commit 8113d1c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

include/zephyr/fatal_types.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ enum k_fatal_error_reason {
3737
/** High severity software error */
3838
K_ERR_KERNEL_PANIC,
3939

40-
/* TODO: add more codes for exception types that are common across
41-
* architectures
42-
*/
40+
/** Arch specific fatal errors */
41+
K_ERR_ARCH_START = 16
4342
};
4443

4544
/** @} */

0 commit comments

Comments
 (0)