forked from Imagelibrary/rtems
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:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user