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.
This commit is contained in:
Sebastian Huber
2014-09-11 09:10:16 +02:00
parent 6e0000ca61
commit c48cf0bd0c
8 changed files with 8 additions and 29 deletions

View File

@@ -77,7 +77,7 @@ static const struct regdef dumpregs[]= {
{ R_EPC,"R_EPC"}, { -1, NULL } { 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; uint32_t *frame_u32;
int i, j; int i, j;

View File

@@ -16,7 +16,7 @@
#include <bsp.h> #include <bsp.h>
#include <rtems/bspIo.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 trap;
uint32_t real_trap; uint32_t real_trap;

View File

@@ -22,7 +22,7 @@
#include <bsp.h> #include <bsp.h>
#include <rtems/bspIo.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 trap;
uint32_t real_trap; uint32_t real_trap;

View File

@@ -20,7 +20,7 @@
#include <bsp.h> #include <bsp.h>
#include <rtems/bspIo.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 trap;
uint32_t real_trap; uint32_t real_trap;

View File

@@ -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; const Thread_Control *executing = _Thread_Executing;
bool synch = (int) excPtr->_EXC_number >= 0; bool synch = (int) excPtr->_EXC_number >= 0;

View File

@@ -1137,14 +1137,7 @@ static inline void _CPU_Context_validate( uintptr_t pattern )
} }
} }
void _BSP_Exception_frame_print( const CPU_Exception_frame *frame ); void _CPU_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 );
}
/* The following routine swaps the endian format of an unsigned int. /* The following routine swaps the endian format of an unsigned int.
* It must be static because it is referenced indirectly. * It must be static because it is referenced indirectly.

View File

@@ -1119,14 +1119,7 @@ typedef struct {
PPC_GPR_TYPE GPR31; PPC_GPR_TYPE GPR31;
} CPU_Exception_frame; } CPU_Exception_frame;
void _BSP_Exception_frame_print( const CPU_Exception_frame *frame ); void _CPU_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 );
}
/* /*
* _CPU_Initialize_altivec() * _CPU_Initialize_altivec()

View File

@@ -1259,14 +1259,7 @@ typedef struct {
CPU_Interrupt_frame *isf; CPU_Interrupt_frame *isf;
} CPU_Exception_frame; } CPU_Exception_frame;
void _BSP_Exception_frame_print( const CPU_Exception_frame *frame ); void _CPU_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 );
}
/** /**
* @brief SPARC specific method to endian swap an uint32_t. * @brief SPARC specific method to endian swap an uint32_t.