From 33cb8bf64d7b7551ea3a2e7ced5d4b56cd32d6db Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 17 Feb 2014 11:40:18 +0100 Subject: score: Add RTEMS_FATAL_SOURCE_BSP Merge RTEMS_FATAL_SOURCE_BSP_GENERIC and RTEMS_FATAL_SOURCE_BSP_SPECIFIC into new fatal source RTEMS_FATAL_SOURCE_BSP. This makes it easier to figure out the code position given a fatal source and code. --- cpukit/score/include/rtems/score/interr.h | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'cpukit/score/include/rtems/score/interr.h') diff --git a/cpukit/score/include/rtems/score/interr.h b/cpukit/score/include/rtems/score/interr.h index f181c55560..4ad52c9fb0 100644 --- a/cpukit/score/include/rtems/score/interr.h +++ b/cpukit/score/include/rtems/score/interr.h @@ -69,21 +69,14 @@ typedef enum { RTEMS_FATAL_SOURCE_EXIT, /** - * @brief Fatal source for generic BSP errors. + * @brief Fatal source for BSP errors. * - * The fatal codes are defined in . Examples are - * interrupt and exception initialization. + * The fatal codes are defined in . Examples are interrupt and + * exception initialization. * - * @see bsp_generic_fatal_code and bsp_generic_fatal(). + * @see bsp_fatal_code and bsp_fatal(). */ - RTEMS_FATAL_SOURCE_BSP_GENERIC, - - /** - * @brief Fatal source for BSP specific errors. - * - * The fatal code is BSP specific. - */ - RTEMS_FATAL_SOURCE_BSP_SPECIFIC, + RTEMS_FATAL_SOURCE_BSP, /** * @brief Fatal source of assert(). -- cgit v1.2.3