board_crashdump:use consistent type from outer function for file name
This commit is contained in:
parent
188d4b0fb4
commit
ed5d00edd8
|
@ -116,7 +116,7 @@ static void copy_reverse(stack_word_t *dest, stack_word_t *src, int size)
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
|
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
|
||||||
FAR const uint8_t *filename, int lineno)
|
FAR const char *filename, int lineno)
|
||||||
{
|
{
|
||||||
FAR struct tcb_s *rtcb;
|
FAR struct tcb_s *rtcb;
|
||||||
fullcontext_t *pdump;
|
fullcontext_t *pdump;
|
||||||
|
|
|
@ -379,7 +379,7 @@ int stm32_bbsram_int(void)
|
||||||
|
|
||||||
#if defined(CONFIG_STM32F4_SAVE_CRASHDUMP)
|
#if defined(CONFIG_STM32F4_SAVE_CRASHDUMP)
|
||||||
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
|
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
|
||||||
FAR const uint8_t *filename, int lineno)
|
FAR const char *filename, int lineno)
|
||||||
{
|
{
|
||||||
fullcontext_t *pdump = (fullcontext_t *)&g_sdata;
|
fullcontext_t *pdump = (fullcontext_t *)&g_sdata;
|
||||||
FAR struct tcb_s *rtcb;
|
FAR struct tcb_s *rtcb;
|
||||||
|
|
|
@ -393,7 +393,7 @@ int stm32_bbsram_int(void)
|
||||||
|
|
||||||
#if defined(CONFIG_STM32F7_SAVE_CRASHDUMP)
|
#if defined(CONFIG_STM32F7_SAVE_CRASHDUMP)
|
||||||
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
|
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
|
||||||
FAR const uint8_t *filename, int lineno)
|
FAR const char *filename, int lineno)
|
||||||
{
|
{
|
||||||
fullcontext_t *pdump = (fullcontext_t *)&g_sdata;
|
fullcontext_t *pdump = (fullcontext_t *)&g_sdata;
|
||||||
FAR struct tcb_s *rtcb;
|
FAR struct tcb_s *rtcb;
|
||||||
|
|
|
@ -332,7 +332,7 @@ int rx65n_sbram_int(void)
|
||||||
|
|
||||||
#if defined(CONFIG_RX65N_SAVE_CRASHDUMP)
|
#if defined(CONFIG_RX65N_SAVE_CRASHDUMP)
|
||||||
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
|
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
|
||||||
FAR const uint8_t *filename, int lineno)
|
FAR const char *filename, int lineno)
|
||||||
{
|
{
|
||||||
struct fullcontext *pdump ;
|
struct fullcontext *pdump ;
|
||||||
pdump = (struct fullcontext *)&g_sdata;
|
pdump = (struct fullcontext *)&g_sdata;
|
||||||
|
|
|
@ -330,7 +330,7 @@ int rx65n_sbram_int(void)
|
||||||
|
|
||||||
#if defined(CONFIG_RX65N_SAVE_CRASHDUMP)
|
#if defined(CONFIG_RX65N_SAVE_CRASHDUMP)
|
||||||
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
|
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
|
||||||
FAR const uint8_t *filename, int lineno)
|
FAR const char *filename, int lineno)
|
||||||
{
|
{
|
||||||
struct fullcontext *pdump ;
|
struct fullcontext *pdump ;
|
||||||
pdump = (struct fullcontext *)&g_sdata;
|
pdump = (struct fullcontext *)&g_sdata;
|
||||||
|
|
|
@ -695,7 +695,7 @@ int board_button_irq(int id, xcpt_t irqhandler, FAR void *arg);
|
||||||
|
|
||||||
#ifdef CONFIG_BOARD_CRASHDUMP
|
#ifdef CONFIG_BOARD_CRASHDUMP
|
||||||
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
|
void board_crashdump(uintptr_t currentsp, FAR void *tcb,
|
||||||
FAR const uint8_t *filename,
|
FAR const char *filename,
|
||||||
int lineno);
|
int lineno);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue