mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 15:18:41 +08:00
bsps/aarch64: Use BSP fatal error
This commit is contained in:
committed by
Gedare Bloom
parent
7bfe79c44d
commit
1421b9f7c0
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user