mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
Replace non critical PANIC with DEBUGPANIC to save the code space
This commit is contained in:
@@ -88,7 +88,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -303,7 +303,7 @@ static void efm32_setwaitstates(uint32_t hfcoreclk)
|
|||||||
#ifdef MSC_READCTRL_MODE_WS2
|
#ifdef MSC_READCTRL_MODE_WS2
|
||||||
if (hfcoreclk > CMU_MAX_FREQ_2WS)
|
if (hfcoreclk > CMU_MAX_FREQ_2WS)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
@@ -319,7 +319,7 @@ static void efm32_setwaitstates(uint32_t hfcoreclk)
|
|||||||
#else
|
#else
|
||||||
/* No.. this MCU does not support 2 wait states */
|
/* No.. this MCU does not support 2 wait states */
|
||||||
|
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -452,7 +452,7 @@ static inline uint32_t efm32_hfclk_config(uint32_t hfclksel, uint32_t hfclkdiv)
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_FEATURES
|
#ifdef CONFIG_DEBUG_FEATURES
|
||||||
default:
|
default:
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ static int lc823450_wdt_interrupt(int irq, FAR void *context, FAR void *arg)
|
|||||||
|
|
||||||
if (!(getreg32(WDT_PT0STS) & (1 << WDT_PT0STS_CSTS)))
|
if (!(getreg32(WDT_PT0STS) & (1 << WDT_PT0STS_CSTS)))
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Is there a registered handler? */
|
/* Is there a registered handler? */
|
||||||
|
|||||||
@@ -3197,7 +3197,7 @@ static inline void lpc31_portsc_bottomhalf(void)
|
|||||||
static inline void lpc31_syserr_bottomhalf(void)
|
static inline void lpc31_syserr_bottomhalf(void)
|
||||||
{
|
{
|
||||||
usbhost_trace1(EHCI_TRACE1_SYSERR_INTR, 0);
|
usbhost_trace1(EHCI_TRACE1_SYSERR_INTR, 0);
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
@@ -3034,7 +3034,7 @@ static inline void lpc43_portsc_bottomhalf(void)
|
|||||||
static inline void lpc43_syserr_bottomhalf(void)
|
static inline void lpc43_syserr_bottomhalf(void)
|
||||||
{
|
{
|
||||||
usbhost_trace1(EHCI_TRACE1_SYSERR_INTR, 0);
|
usbhost_trace1(EHCI_TRACE1_SYSERR_INTR, 0);
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ void arm_timer_initialize(void)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
tmrerr("ERROR: sam_oneshot_initialize failed\n");
|
tmrerr("ERROR: sam_oneshot_initialize failed\n");
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUGASSERT(ONESHOT_INITIALIZED(&g_tickless.oneshot));
|
DEBUGASSERT(ONESHOT_INITIALIZED(&g_tickless.oneshot));
|
||||||
@@ -257,7 +257,7 @@ void arm_timer_initialize(void)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
tmrerr("ERROR: sam_oneshot_max_delay failed\n");
|
tmrerr("ERROR: sam_oneshot_max_delay failed\n");
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Convert this to configured clock ticks for use by the OS timer logic */
|
/* Convert this to configured clock ticks for use by the OS timer logic */
|
||||||
@@ -281,7 +281,7 @@ void arm_timer_initialize(void)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
tmrerr("ERROR: sam_freerun_initialize failed\n");
|
tmrerr("ERROR: sam_freerun_initialize failed\n");
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUGASSERT(FREERUN_INITIALIZED(&g_tickless.freerun));
|
DEBUGASSERT(FREERUN_INITIALIZED(&g_tickless.freerun));
|
||||||
|
|||||||
@@ -3007,7 +3007,7 @@ static inline void sam_portsc_bottomhalf(void)
|
|||||||
static inline void sam_syserr_bottomhalf(void)
|
static inline void sam_syserr_bottomhalf(void)
|
||||||
{
|
{
|
||||||
usbhost_trace1(EHCI_TRACE1_SYSERR_INTR, 0);
|
usbhost_trace1(EHCI_TRACE1_SYSERR_INTR, 0);
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
@@ -257,7 +257,7 @@ void arm_timer_initialize(void)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
tmrerr("ERROR: sam_oneshot_initialize failed\n");
|
tmrerr("ERROR: sam_oneshot_initialize failed\n");
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUGASSERT(ONESHOT_INITIALIZED(&g_tickless.oneshot));
|
DEBUGASSERT(ONESHOT_INITIALIZED(&g_tickless.oneshot));
|
||||||
@@ -269,7 +269,7 @@ void arm_timer_initialize(void)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
tmrerr("ERROR: sam_oneshot_max_delay failed\n");
|
tmrerr("ERROR: sam_oneshot_max_delay failed\n");
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Convert this to configured clock ticks for use by the OS timer logic */
|
/* Convert this to configured clock ticks for use by the OS timer logic */
|
||||||
@@ -293,7 +293,7 @@ void arm_timer_initialize(void)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
tmrerr("ERROR: sam_freerun_initialize failed\n");
|
tmrerr("ERROR: sam_freerun_initialize failed\n");
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUGASSERT(FREERUN_INITIALIZED(&g_tickless.freerun));
|
DEBUGASSERT(FREERUN_INITIALIZED(&g_tickless.freerun));
|
||||||
|
|||||||
@@ -266,7 +266,7 @@ void arm_timer_initialize(void)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
tmrerr("ERROR: sam_oneshot_initialize failed\n");
|
tmrerr("ERROR: sam_oneshot_initialize failed\n");
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUGASSERT(ONESHOT_INITIALIZED(&g_tickless.oneshot));
|
DEBUGASSERT(ONESHOT_INITIALIZED(&g_tickless.oneshot));
|
||||||
@@ -279,7 +279,7 @@ void arm_timer_initialize(void)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
tmrerr("ERROR: sam_freerun_initialize failed\n");
|
tmrerr("ERROR: sam_freerun_initialize failed\n");
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUGASSERT(FREERUN_INITIALIZED(&g_tickless.freerun));
|
DEBUGASSERT(FREERUN_INITIALIZED(&g_tickless.freerun));
|
||||||
|
|||||||
@@ -307,7 +307,7 @@ static int stm32_dmainterrupt(int irq, void *context, FAR void *arg)
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
dmach = &g_dma[chndx];
|
dmach = &g_dma[chndx];
|
||||||
|
|
||||||
|
|||||||
@@ -410,7 +410,7 @@ static int stm32_dmainterrupt(int irq, void *context, FAR void *arg)
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get the stream structure from the stream and controller numbers */
|
/* Get the stream structure from the stream and controller numbers */
|
||||||
|
|||||||
@@ -255,7 +255,7 @@ static int stm32_dmainterrupt(int irq, void *context, FAR void *arg)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
dmach = &g_dma[chndx];
|
dmach = &g_dma[chndx];
|
||||||
|
|
||||||
|
|||||||
@@ -409,7 +409,7 @@ static int stm32_dmainterrupt(int irq, void *context, void *arg)
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get the stream structure from the stream and controller numbers */
|
/* Get the stream structure from the stream and controller numbers */
|
||||||
|
|||||||
@@ -411,7 +411,7 @@ static int stm32_dmainterrupt(int irq, void *context, FAR void *arg)
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get the stream structure from the stream and controller numbers */
|
/* Get the stream structure from the stream and controller numbers */
|
||||||
|
|||||||
@@ -1495,7 +1495,7 @@ static void stm32l4_i2c_setclock(FAR struct stm32l4_i2c_priv_s *priv,
|
|||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t timingr =
|
uint32_t timingr =
|
||||||
|
|||||||
@@ -202,7 +202,7 @@ void arm_timer_initialize(void)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
tmrerr("ERROR: stm32l4_oneshot_initialize failed\n");
|
tmrerr("ERROR: stm32l4_oneshot_initialize failed\n");
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_TICKLESS_LIMIT_MAX_SLEEP
|
#ifdef CONFIG_SCHED_TICKLESS_LIMIT_MAX_SLEEP
|
||||||
@@ -212,7 +212,7 @@ void arm_timer_initialize(void)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
tmrerr("ERROR: stm32l4_oneshot_max_delay failed\n");
|
tmrerr("ERROR: stm32l4_oneshot_max_delay failed\n");
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Convert this to configured clock ticks for use by the OS timer logic */
|
/* Convert this to configured clock ticks for use by the OS timer logic */
|
||||||
@@ -236,7 +236,7 @@ void arm_timer_initialize(void)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
tmrerr("ERROR: stm32l4_freerun_initialize failed\n");
|
tmrerr("ERROR: stm32l4_freerun_initialize failed\n");
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ static int stm32l4_dmainterrupt(int irq, void *context, FAR void *arg)
|
|||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
dmach = &g_dma[chndx];
|
dmach = &g_dma[chndx];
|
||||||
|
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ void up_decodeirq(uint32_t *regs)
|
|||||||
#ifdef CONFIG_DEBUG_FEATURES
|
#ifdef CONFIG_DEBUG_FEATURES
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PANIC(); /* Normally never happens */
|
DEBUGPANIC(); /* Normally never happens */
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
board_autoled_off(LED_INIRQ);
|
board_autoled_off(LED_INIRQ);
|
||||||
|
|||||||
@@ -685,7 +685,7 @@ static void tiva_adc_read(void *arg)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
aerr("ERROR: Invalid ADC device number given %d\n", sse->adc);
|
aerr("ERROR: Invalid ADC device number given %d\n", sse->adc);
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -499,7 +499,7 @@ static int tms570_interrupt(int irq, void *context, FAR void *arg)
|
|||||||
case SCI_INTVECT_TIMEOUT: /* Timeout interrupt */
|
case SCI_INTVECT_TIMEOUT: /* Timeout interrupt */
|
||||||
|
|
||||||
default:
|
default:
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -189,6 +189,6 @@ void _exit(int status)
|
|||||||
* interrupts are disabled.
|
* interrupts are disabled.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ void up_sigdeliver(void)
|
|||||||
* interrupts are disabled.
|
* interrupts are disabled.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !CONFIG_DISABLE_SIGNALS */
|
#endif /* !CONFIG_DISABLE_SIGNALS */
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ void lm32_sigdeliver(void)
|
|||||||
* interrupts are disabled.
|
* interrupts are disabled.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !CONFIG_DISABLE_SIGNALS */
|
#endif /* !CONFIG_DISABLE_SIGNALS */
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -189,6 +189,6 @@ void _exit(int status)
|
|||||||
* interrupts are disabled.
|
* interrupts are disabled.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ void up_sigdeliver(void)
|
|||||||
* interrupts are disabled.
|
* interrupts are disabled.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !CONFIG_DISABLE_SIGNALS */
|
#endif /* !CONFIG_DISABLE_SIGNALS */
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ void sim_smp_hook(void)
|
|||||||
|
|
||||||
/* That function should not return. */
|
/* That function should not return. */
|
||||||
|
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_SMP */
|
#endif /* CONFIG_SMP */
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -202,5 +202,5 @@ void _exit(int status)
|
|||||||
* interrupts are disabled.
|
* interrupts are disabled.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ void up_reprioritize_rtr(FAR struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ void up_reprioritize_rtr(FAR struct tcb_s *tcb, uint8_t priority)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -945,7 +945,7 @@ struct bcmf_sdio_frame *bcmf_sdio_allocate_frame(FAR struct bcmf_dev_s *priv,
|
|||||||
{
|
{
|
||||||
if (nxsem_wait(&sbus->queue_mutex) < 0)
|
if (nxsem_wait(&sbus->queue_mutex) < 0)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
@@ -995,7 +995,7 @@ void bcmf_sdio_free_frame(FAR struct bcmf_dev_s *priv,
|
|||||||
|
|
||||||
if (nxsem_wait(&sbus->queue_mutex) < 0)
|
if (nxsem_wait(&sbus->queue_mutex) < 0)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
bcmf_dqueue_push(&sbus->free_queue, &sframe->list_entry);
|
bcmf_dqueue_push(&sbus->free_queue, &sframe->list_entry);
|
||||||
|
|||||||
@@ -258,7 +258,7 @@ int bcmf_sdpcm_readframe(FAR struct bcmf_dev_s *priv)
|
|||||||
|
|
||||||
if (nxsem_wait(&sbus->queue_mutex) < 0)
|
if (nxsem_wait(&sbus->queue_mutex) < 0)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
bcmf_dqueue_push(&sbus->rx_queue, &sframe->list_entry);
|
bcmf_dqueue_push(&sbus->rx_queue, &sframe->list_entry);
|
||||||
@@ -313,7 +313,7 @@ int bcmf_sdpcm_sendframe(FAR struct bcmf_dev_s *priv)
|
|||||||
|
|
||||||
if (nxsem_wait(&sbus->queue_mutex) < 0)
|
if (nxsem_wait(&sbus->queue_mutex) < 0)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
entry = sbus->tx_queue.tail;
|
entry = sbus->tx_queue.tail;
|
||||||
@@ -397,7 +397,7 @@ int bcmf_sdpcm_queue_frame(FAR struct bcmf_dev_s *priv,
|
|||||||
|
|
||||||
if (nxsem_wait(&sbus->queue_mutex) < 0)
|
if (nxsem_wait(&sbus->queue_mutex) < 0)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
bcmf_dqueue_push(&sbus->tx_queue, &sframe->list_entry);
|
bcmf_dqueue_push(&sbus->tx_queue, &sframe->list_entry);
|
||||||
@@ -459,7 +459,7 @@ struct bcmf_frame_s *bcmf_sdpcm_get_rx_frame(FAR struct bcmf_dev_s *priv)
|
|||||||
|
|
||||||
if (nxsem_wait(&sbus->queue_mutex) < 0)
|
if (nxsem_wait(&sbus->queue_mutex) < 0)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
entry = bcmf_dqueue_pop_tail(&sbus->rx_queue);
|
entry = bcmf_dqueue_pop_tail(&sbus->rx_queue);
|
||||||
|
|||||||
@@ -234,7 +234,7 @@ int setvbuf(FAR FILE *stream, FAR char *buffer, int mode, size_t size)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Do not release the previous buffer if it was allocated by the user
|
/* Do not release the previous buffer if it was allocated by the user
|
||||||
|
|||||||
@@ -500,7 +500,7 @@ static inline void nxf_fillglyph(FAR struct nxfonts_fcache_s *priv,
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ extern "C"
|
|||||||
{
|
{
|
||||||
void __cxa_pure_virtual(void)
|
void __cxa_pure_virtual(void)
|
||||||
{
|
{
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ void os_idle_trampoline(void)
|
|||||||
|
|
||||||
/* The IDLE task should never return */
|
/* The IDLE task should never return */
|
||||||
|
|
||||||
PANIC();
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user