[PATCH 03/16] sapi: Add rtems_fatal_source and rtems_fatal_code
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Nov 14 15:46:57 UTC 2012
---
.../shared/include/default-initial-extension.h | 4 ++--
cpukit/sapi/include/rtems/extension.h | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/shared/include/default-initial-extension.h b/c/src/lib/libbsp/shared/include/default-initial-extension.h
index 618a097..44938c8 100644
--- a/c/src/lib/libbsp/shared/include/default-initial-extension.h
+++ b/c/src/lib/libbsp/shared/include/default-initial-extension.h
@@ -22,9 +22,9 @@ extern "C" {
#endif /* __cplusplus */
void bsp_fatal_extension(
- Internal_errors_Source source,
+ rtems_fatal_source source,
bool is_internal,
- Internal_errors_t error
+ rtems_fatal_code error
);
#define BSP_INITIAL_EXTENSION \
diff --git a/cpukit/sapi/include/rtems/extension.h b/cpukit/sapi/include/rtems/extension.h
index bc213b7..f9f1ae1 100644
--- a/cpukit/sapi/include/rtems/extension.h
+++ b/cpukit/sapi/include/rtems/extension.h
@@ -182,6 +182,10 @@ typedef User_extensions_fatal_extension rtems_fatal_extension;
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.
*
--
1.7.7
More information about the devel
mailing list