bsps/aarch64: Use BSP fatal error

This commit is contained in:
Sebastian Huber
2024-06-10 18:01:08 +00:00
committed by Gedare Bloom
parent 7bfe79c44d
commit 1421b9f7c0
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -371,7 +371,7 @@ aarch64_mmu_set_translation_table_entries(
);
if ( sc != RTEMS_SUCCESSFUL ) {
rtems_fatal_error_occurred( sc );
bsp_fatal( AARCH64_FATAL_MMU_CANNOT_MAP_BLOCK );
}
}
+3
View File
@@ -220,6 +220,9 @@ typedef enum {
/* TMS570 fatal codes */
TMS570_FATAL_RTI_IRQ_INSTALL = BSP_FATAL_CODE_BLOCK(18),
/* AArch64 fatal codes */
AARCH64_FATAL_MMU_CANNOT_MAP_BLOCK = BSP_FATAL_CODE_BLOCK(19),
} bsp_fatal_code;
RTEMS_NO_RETURN static inline void