[rtems commit] score: Rename _BSP_Exception_frame_print()

Sebastian Huber sebh at rtems.org
Thu Sep 11 07:46:51 UTC 2014


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep 11 09:10:16 2014 +0200

score: Rename _BSP_Exception_frame_print()

Rename _BSP_Exception_frame_print() to _CPU_Exception_frame_print() to
be in line with other CPU port functions.

---

 .../lib/libbsp/mips/shared/irq/vectorexceptions.c  |    2 +-
 c/src/lib/libbsp/sparc/erc32/startup/spurious.c    |    2 +-
 c/src/lib/libbsp/sparc/leon2/startup/spurious.c    |    2 +-
 c/src/lib/libbsp/sparc/leon3/startup/spurious.c    |    2 +-
 .../new-exceptions/bspsupport/ppc_exc_print.c      |    2 +-
 cpukit/score/cpu/mips/rtems/score/cpu.h            |    9 +--------
 cpukit/score/cpu/powerpc/rtems/score/cpu.h         |    9 +--------
 cpukit/score/cpu/sparc/rtems/score/cpu.h           |    9 +--------
 8 files changed, 8 insertions(+), 29 deletions(-)

diff --git a/c/src/lib/libbsp/mips/shared/irq/vectorexceptions.c b/c/src/lib/libbsp/mips/shared/irq/vectorexceptions.c
index de802fc..17cdaa5 100644
--- a/c/src/lib/libbsp/mips/shared/irq/vectorexceptions.c
+++ b/c/src/lib/libbsp/mips/shared/irq/vectorexceptions.c
@@ -77,7 +77,7 @@ static const struct regdef dumpregs[]= {
   { R_EPC,"R_EPC"}, { -1, NULL }
 };
 
-void _BSP_Exception_frame_print( const CPU_Exception_frame *frame )
+void _CPU_Exception_frame_print( const CPU_Exception_frame *frame )
 {
   uint32_t *frame_u32;
   int   i, j;
diff --git a/c/src/lib/libbsp/sparc/erc32/startup/spurious.c b/c/src/lib/libbsp/sparc/erc32/startup/spurious.c
index 38c2259..05f6efa 100644
--- a/c/src/lib/libbsp/sparc/erc32/startup/spurious.c
+++ b/c/src/lib/libbsp/sparc/erc32/startup/spurious.c
@@ -16,7 +16,7 @@
 #include <bsp.h>
 #include <rtems/bspIo.h>
 
-void _BSP_Exception_frame_print( const CPU_Exception_frame *frame )
+void _CPU_Exception_frame_print( const CPU_Exception_frame *frame )
 {
   uint32_t                   trap;
   uint32_t                   real_trap;
diff --git a/c/src/lib/libbsp/sparc/leon2/startup/spurious.c b/c/src/lib/libbsp/sparc/leon2/startup/spurious.c
index 7a26985..6b43a39 100644
--- a/c/src/lib/libbsp/sparc/leon2/startup/spurious.c
+++ b/c/src/lib/libbsp/sparc/leon2/startup/spurious.c
@@ -22,7 +22,7 @@
 #include <bsp.h>
 #include <rtems/bspIo.h>
 
-void _BSP_Exception_frame_print( const CPU_Exception_frame *frame )
+void _CPU_Exception_frame_print( const CPU_Exception_frame *frame )
 {
   uint32_t                   trap;
   uint32_t                   real_trap;
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/spurious.c b/c/src/lib/libbsp/sparc/leon3/startup/spurious.c
index 9d13010..a29f113 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/spurious.c
+++ b/c/src/lib/libbsp/sparc/leon3/startup/spurious.c
@@ -20,7 +20,7 @@
 #include <bsp.h>
 #include <rtems/bspIo.h>
 
-void _BSP_Exception_frame_print( const CPU_Exception_frame *frame )
+void _CPU_Exception_frame_print( const CPU_Exception_frame *frame )
 {
   uint32_t                   trap;
   uint32_t                   real_trap;
diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_print.c b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_print.c
index 18883ba..cb95aba 100644
--- a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_print.c
+++ b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_print.c
@@ -87,7 +87,7 @@ void BSP_printStackTrace(const BSP_Exception_frame *excPtr)
   }
 }
 
-void _BSP_Exception_frame_print(const CPU_Exception_frame *excPtr)
+void _CPU_Exception_frame_print(const CPU_Exception_frame *excPtr)
 {
   const Thread_Control *executing = _Thread_Executing;
   bool synch = (int) excPtr->_EXC_number >= 0;
diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h
index 7fc639b..c1bdc31 100644
--- a/cpukit/score/cpu/mips/rtems/score/cpu.h
+++ b/cpukit/score/cpu/mips/rtems/score/cpu.h
@@ -1137,14 +1137,7 @@ static inline void _CPU_Context_validate( uintptr_t pattern )
   }
 }
 
-void _BSP_Exception_frame_print( const CPU_Exception_frame *frame );
-
-static inline void _CPU_Exception_frame_print(
-  const CPU_Exception_frame *frame
-)
-{
-  _BSP_Exception_frame_print( frame );
-}
+void _CPU_Exception_frame_print( const CPU_Exception_frame *frame );
 
 /*  The following routine swaps the endian format of an unsigned int.
  *  It must be static because it is referenced indirectly.
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index bea2ec4..2df9612 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -1119,14 +1119,7 @@ typedef struct {
   PPC_GPR_TYPE GPR31;
 } CPU_Exception_frame;
 
-void _BSP_Exception_frame_print( const CPU_Exception_frame *frame );
-
-static inline void _CPU_Exception_frame_print(
-  const CPU_Exception_frame *frame
-)
-{
-  _BSP_Exception_frame_print( frame );
-}
+void _CPU_Exception_frame_print( const CPU_Exception_frame *frame );
 
 /*
  * _CPU_Initialize_altivec()
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
index 1cf2e9a..70d1785 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -1259,14 +1259,7 @@ typedef struct {
   CPU_Interrupt_frame *isf;
 } CPU_Exception_frame;
 
-void _BSP_Exception_frame_print( const CPU_Exception_frame *frame );
-
-static inline void _CPU_Exception_frame_print(
-  const CPU_Exception_frame *frame
-)
-{
-  _BSP_Exception_frame_print( frame );
-}
+void _CPU_Exception_frame_print( const CPU_Exception_frame *frame );
 
 /**
  * @brief SPARC specific method to endian swap an uint32_t.



More information about the vc mailing list