sapi: Add rtems_fatal_source and rtems_fatal_code

This commit is contained in:
Sebastian Huber
2012-11-14 12:37:24 +01:00
parent 7d0bdcac1a
commit e4b40531f3
2 changed files with 6 additions and 2 deletions

View File

@@ -22,9 +22,9 @@ extern "C" {
#endif /* __cplusplus */ #endif /* __cplusplus */
void bsp_fatal_extension( void bsp_fatal_extension(
Internal_errors_Source source, rtems_fatal_source source,
bool is_internal, bool is_internal,
Internal_errors_t error rtems_fatal_code error
); );
#define BSP_INITIAL_EXTENSION \ #define BSP_INITIAL_EXTENSION \

View File

@@ -182,6 +182,10 @@ typedef User_extensions_fatal_extension rtems_fatal_extension;
typedef User_extensions_Table rtems_extensions_table; typedef User_extensions_Table rtems_extensions_table;
typedef Internal_errors_Source rtems_fatal_source;
typedef Internal_errors_t rtems_fatal_code;
/** /**
* @brief Creates an extension set object. * @brief Creates an extension set object.
* *