[rtems commit] bsps: Fix MPCI_Fatal() prototype

Sebastian Huber sebh at rtems.org
Fri Jun 17 06:05:05 UTC 2016


Module:    rtems
Branch:    master
Commit:    305231bd3c2cb78421cedb9d7093773359612445
Changeset: http://git.rtems.org/rtems/commit/?id=305231bd3c2cb78421cedb9d7093773359612445

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jun 17 08:04:25 2016 +0200

bsps: Fix MPCI_Fatal() prototype

Close #2742.

---

 c/src/libchip/shmdr/fatal.c      | 6 +++---
 c/src/libchip/shmdr/shm_driver.h | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/c/src/libchip/shmdr/fatal.c b/c/src/libchip/shmdr/fatal.c
index e8b3f87..914771c 100644
--- a/c/src/libchip/shmdr/fatal.c
+++ b/c/src/libchip/shmdr/fatal.c
@@ -19,9 +19,9 @@
 #include "shm_driver.h"
 
 void MPCI_Fatal(
-  Internal_errors_Source  source,
-  bool                    is_internal,
-  uint32_t                error
+  rtems_fatal_source source,
+  bool               is_internal,
+  rtems_fatal_code   error
 )
 {
    /*   Eventually need to attempt to broadcast a K_FATAL message
diff --git a/c/src/libchip/shmdr/shm_driver.h b/c/src/libchip/shmdr/shm_driver.h
index 62c5028..cb94cec 100644
--- a/c/src/libchip/shmdr/shm_driver.h
+++ b/c/src/libchip/shmdr/shm_driver.h
@@ -479,7 +479,7 @@ void           Shm_Locked_queue_Initialize(
 /* portable routines */
 void           Init_env_pool( void );
 void           Shm_Print_statistics( void );
-void           MPCI_Fatal( Internal_errors_Source, bool, uint32_t);
+void           MPCI_Fatal( rtems_fatal_source, bool, rtems_fatal_code );
 rtems_task     Shm_Cause_interrupt( uint32_t );
 void           Shm_install_timer( void );
 void           Shm_Convert_packet( rtems_packet_prefix * );




More information about the vc mailing list