Rename board_led_on to board_autoled_on
This commit is contained in:
parent
9db4b4ca7e
commit
b28e32e3d3
@ -316,7 +316,7 @@ static void _up_assert(int errorcode)
|
||||
for (; ; )
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
board_autoled_on(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
board_led_off(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
@ -343,7 +343,7 @@ void up_assert(const uint8_t *filename, int lineno)
|
||||
struct tcb_s *rtcb = (struct tcb_s *)g_readytorun.head;
|
||||
#endif
|
||||
|
||||
board_led_on(LED_ASSERTION);
|
||||
board_autoled_on(LED_ASSERTION);
|
||||
|
||||
#ifdef CONFIG_PRINT_TASKNAME
|
||||
lldbg("Assertion failed at file:%s line: %d task: %s\n",
|
||||
|
@ -74,7 +74,7 @@
|
||||
|
||||
void up_doirq(int irq, uint32_t *regs)
|
||||
{
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
PANIC();
|
||||
#else
|
||||
|
@ -93,7 +93,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -371,7 +371,7 @@ static void _up_assert(int errorcode)
|
||||
for (; ; )
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
board_autoled_on(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
board_led_off(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
@ -398,7 +398,7 @@ void up_assert(const uint8_t *filename, int lineno)
|
||||
struct tcb_s *rtcb = (struct tcb_s *)g_readytorun.head;
|
||||
#endif
|
||||
|
||||
board_led_on(LED_ASSERTION);
|
||||
board_autoled_on(LED_ASSERTION);
|
||||
|
||||
#ifdef CONFIG_PRINT_TASKNAME
|
||||
lldbg("Assertion failed at file:%s line: %d task: %s\n",
|
||||
|
@ -72,7 +72,7 @@
|
||||
|
||||
uint32_t *up_doirq(int irq, uint32_t *regs)
|
||||
{
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
PANIC();
|
||||
#else
|
||||
|
@ -98,7 +98,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -371,7 +371,7 @@ static void _up_assert(int errorcode)
|
||||
for (; ; )
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
board_autoled_on(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
board_led_off(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
@ -397,7 +397,7 @@ void up_assert(const uint8_t *filename, int lineno)
|
||||
#ifdef CONFIG_PRINT_TASKNAME
|
||||
struct tcb_s *rtcb = (struct tcb_s *)g_readytorun.head;
|
||||
#endif
|
||||
board_led_on(LED_ASSERTION);
|
||||
board_autoled_on(LED_ASSERTION);
|
||||
|
||||
#ifdef CONFIG_PRINT_TASKNAME
|
||||
lldbg("Assertion failed at file:%s line: %d task: %s\n",
|
||||
|
@ -74,7 +74,7 @@
|
||||
|
||||
uint32_t *arm_doirq(int irq, uint32_t *regs)
|
||||
{
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
PANIC();
|
||||
#else
|
||||
|
@ -93,7 +93,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -380,7 +380,7 @@ static void _up_assert(int errorcode)
|
||||
for (; ; )
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
board_autoled_on(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
board_led_off(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
@ -407,7 +407,7 @@ void up_assert(const uint8_t *filename, int lineno)
|
||||
struct tcb_s *rtcb = (struct tcb_s *)g_readytorun.head;
|
||||
#endif
|
||||
|
||||
board_led_on(LED_ASSERTION);
|
||||
board_autoled_on(LED_ASSERTION);
|
||||
|
||||
#ifdef CONFIG_PRINT_TASKNAME
|
||||
lldbg("Assertion failed at file:%s line: %d task: %s\n",
|
||||
|
@ -72,7 +72,7 @@
|
||||
|
||||
uint32_t *up_doirq(int irq, uint32_t *regs)
|
||||
{
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
PANIC();
|
||||
#else
|
||||
|
@ -93,7 +93,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -142,14 +142,14 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the user-space heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)ubase;
|
||||
*heap_size = usize;
|
||||
#else
|
||||
|
||||
/* Return the heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = CONFIG_RAM_END - g_idle_topstack;
|
||||
#endif
|
||||
|
@ -227,7 +227,7 @@ int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype)
|
||||
up_stack_color(tcb->stack_alloc_ptr, tcb->adj_stack_size);
|
||||
#endif
|
||||
|
||||
board_led_on(LED_STACKCREATED);
|
||||
board_autoled_on(LED_STACKCREATED);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
@ -275,5 +275,5 @@ void up_initialize(void)
|
||||
/* Initialize the L2 cache if present and selected */
|
||||
|
||||
up_l2ccinitialize();
|
||||
board_led_on(LED_IRQSENABLED);
|
||||
board_autoled_on(LED_IRQSENABLED);
|
||||
}
|
||||
|
@ -85,7 +85,7 @@
|
||||
|
||||
void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
{
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = (DM320_SDRAM_VADDR + CONFIG_RAM_SIZE) - g_idle_topstack;
|
||||
}
|
||||
|
@ -61,7 +61,7 @@
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_led_on(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_autoled_on(LED_IDLE)
|
||||
# define END_IDLE() board_led_off(LED_IDLE)
|
||||
#else
|
||||
# define BEGIN_IDLE()
|
||||
|
@ -85,7 +85,7 @@
|
||||
|
||||
void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
{
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = (IMX_SDRAM_VSECTION + CONFIG_RAM_SIZE) - g_idle_topstack;
|
||||
}
|
||||
|
@ -131,7 +131,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the user-space heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)ubase;
|
||||
*heap_size = usize;
|
||||
|
||||
@ -142,7 +142,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = CONFIG_RAM_END - g_idle_topstack;
|
||||
#endif
|
||||
|
@ -54,7 +54,7 @@
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_led_on(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_autoled_on(LED_IDLE)
|
||||
# define END_IDLE() board_led_off(LED_IDLE)
|
||||
#else
|
||||
# define BEGIN_IDLE()
|
||||
|
@ -58,7 +58,7 @@
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_led_on(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_autoled_on(LED_IDLE)
|
||||
# define END_IDLE() board_led_off(LED_IDLE)
|
||||
#else
|
||||
# define BEGIN_IDLE()
|
||||
|
@ -53,7 +53,7 @@
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_led_on(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_autoled_on(LED_IDLE)
|
||||
# define END_IDLE() board_led_off(LED_IDLE)
|
||||
#else
|
||||
# define BEGIN_IDLE()
|
||||
|
@ -249,7 +249,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the user-space heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)ubase;
|
||||
*heap_size = usize;
|
||||
|
||||
@ -260,7 +260,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = CONFIG_RAM_END - g_idle_topstack;
|
||||
#endif
|
||||
|
@ -55,7 +55,7 @@
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_led_on(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_autoled_on(LED_IDLE)
|
||||
# define END_IDLE() board_led_off(LED_IDLE)
|
||||
#else
|
||||
# define BEGIN_IDLE()
|
||||
|
@ -180,7 +180,7 @@
|
||||
|
||||
void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
{
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = LPC31_HEAP_VEND - g_idle_topstack;
|
||||
}
|
||||
|
@ -248,7 +248,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
{
|
||||
/* Start with the first SRAM region */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = CONFIG_RAM_END - g_idle_topstack;
|
||||
}
|
||||
|
@ -57,7 +57,7 @@
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_led_on(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_autoled_on(LED_IDLE)
|
||||
# define END_IDLE() board_led_off(LED_IDLE)
|
||||
#else
|
||||
# define BEGIN_IDLE()
|
||||
|
@ -58,7 +58,7 @@
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_led_on(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_autoled_on(LED_IDLE)
|
||||
# define END_IDLE() board_led_off(LED_IDLE)
|
||||
#else
|
||||
# define BEGIN_IDLE()
|
||||
|
@ -230,7 +230,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the user-space heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)ubase;
|
||||
*heap_size = usize;
|
||||
|
||||
@ -241,7 +241,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = CONFIG_RAM_END - g_idle_topstack;
|
||||
#endif
|
||||
|
@ -258,7 +258,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
* heap is at the end of BSS through the configured end of SDRAM.
|
||||
*/
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)&_ebss;
|
||||
*heap_size = SAMA5_PRIMARY_HEAP_END - (size_t)&_ebss;
|
||||
|
||||
@ -267,7 +267,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
* IDLE stack through the configured end of ISRAM.
|
||||
*/
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = SAMA5_PRIMARY_HEAP_END - g_idle_topstack;
|
||||
#endif
|
||||
|
@ -58,7 +58,7 @@
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_led_on(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_autoled_on(LED_IDLE)
|
||||
# define END_IDLE() board_led_off(LED_IDLE)
|
||||
#else
|
||||
# define BEGIN_IDLE()
|
||||
|
@ -237,7 +237,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the user-space heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)ubase;
|
||||
*heap_size = usize;
|
||||
|
||||
@ -248,7 +248,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = CONFIG_RAM_END - g_idle_topstack;
|
||||
#endif
|
||||
|
@ -511,7 +511,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the user-space heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)ubase;
|
||||
*heap_size = usize;
|
||||
|
||||
@ -526,7 +526,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = SRAM1_END - g_idle_topstack;
|
||||
|
||||
|
@ -60,7 +60,7 @@
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_led_on(LED_IDLE)
|
||||
# define BEGIN_IDLE() board_autoled_on(LED_IDLE)
|
||||
# define END_IDLE() board_led_off(LED_IDLE)
|
||||
#else
|
||||
# define BEGIN_IDLE()
|
||||
|
@ -240,7 +240,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the user-space heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)ubase;
|
||||
*heap_size = usize;
|
||||
|
||||
@ -255,7 +255,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = SRAM1_END - g_idle_topstack;
|
||||
|
||||
|
@ -90,7 +90,7 @@
|
||||
void up_decodeirq(uint32_t *regs)
|
||||
{
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
lowsyslog(LOG_ERR, "Unexpected IRQ\n");
|
||||
current_regs = regs;
|
||||
PANIC();
|
||||
@ -101,7 +101,7 @@ void up_decodeirq(uint32_t *regs)
|
||||
* info from CIC register without the setup).
|
||||
*/
|
||||
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
irq = getreg32(STR71X_EIC_IVR);
|
||||
|
||||
/* Verify that the resulting IRQ number is valid */
|
||||
|
@ -131,7 +131,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the user-space heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)ubase;
|
||||
*heap_size = usize;
|
||||
|
||||
@ -142,7 +142,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
|
||||
/* Return the heap settings */
|
||||
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = CONFIG_RAM_END - g_idle_topstack;
|
||||
#endif
|
||||
|
@ -160,7 +160,7 @@ int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype)
|
||||
tcb->adj_stack_ptr = (FAR void *)top_of_stack;
|
||||
tcb->adj_stack_size = stack_size;
|
||||
|
||||
board_led_on(LED_STACKCREATED);
|
||||
board_autoled_on(LED_STACKCREATED);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,7 @@
|
||||
|
||||
uint8_t *up_doirq(uint8_t irq, uint8_t *regs)
|
||||
{
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
PANIC();
|
||||
#else
|
||||
|
@ -92,7 +92,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -186,7 +186,7 @@ int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype)
|
||||
tcb->adj_stack_ptr = (FAR void *)top_of_stack;
|
||||
tcb->adj_stack_size = size_of_stack;
|
||||
|
||||
board_led_on(LED_STACKCREATED);
|
||||
board_autoled_on(LED_STACKCREATED);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,7 @@
|
||||
|
||||
uint32_t *up_doirq(int irq, uint32_t *regs)
|
||||
{
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
PANIC();
|
||||
#else
|
||||
|
@ -96,7 +96,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -82,7 +82,7 @@
|
||||
|
||||
void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
{
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = CONFIG_RAM_END - g_idle_topstack;
|
||||
}
|
||||
|
@ -111,7 +111,7 @@ static void _up_assert(int errorcode)
|
||||
for (; ; )
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
board_autoled_on(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
board_led_off(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
@ -163,7 +163,7 @@ void up_assert(const uint8_t *filename, int lineno)
|
||||
struct tcb_s *rtcb = (struct tcb_s *)g_readytorun.head;
|
||||
#endif
|
||||
|
||||
board_led_on(LED_ASSERTION);
|
||||
board_autoled_on(LED_ASSERTION);
|
||||
|
||||
#ifdef CONFIG_PRINT_TASKNAME
|
||||
lldbg("Assertion failed at file:%s line: %d task: %s\n",
|
||||
|
@ -286,6 +286,6 @@ void up_initialize(void)
|
||||
|
||||
up_usbinitialize();
|
||||
|
||||
board_led_on(LED_IRQSENABLED);
|
||||
board_autoled_on(LED_IRQSENABLED);
|
||||
}
|
||||
|
||||
|
@ -81,7 +81,7 @@
|
||||
|
||||
void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
{
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void*)g_idle_topstack;
|
||||
*heap_size = CONFIG_RAM_END - g_idle_topstack;
|
||||
}
|
||||
|
@ -185,7 +185,7 @@ int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype)
|
||||
tcb->adj_stack_ptr = (uint32_t*)top_of_stack;
|
||||
tcb->adj_stack_size = size_of_stack;
|
||||
|
||||
board_led_on(LED_STACKCREATED);
|
||||
board_autoled_on(LED_STACKCREATED);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,7 @@
|
||||
|
||||
uint8_t *up_doirq(int irq, uint8_t *regs)
|
||||
{
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
PANIC();
|
||||
#else
|
||||
|
@ -210,5 +210,5 @@ void up_initialize(void)
|
||||
|
||||
up_usbinitialize();
|
||||
|
||||
board_led_on(LED_IRQSENABLED);
|
||||
board_autoled_on(LED_IRQSENABLED);
|
||||
}
|
||||
|
@ -299,7 +299,7 @@ static void _up_assert(int errorcode)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
board_autoled_on(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
board_led_off(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
@ -326,7 +326,7 @@ void up_assert(const uint8_t *filename, int lineno)
|
||||
struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head;
|
||||
#endif
|
||||
|
||||
board_led_on(LED_ASSERTION);
|
||||
board_autoled_on(LED_ASSERTION);
|
||||
|
||||
#ifdef CONFIG_PRINT_TASKNAME
|
||||
lldbg("Assertion failed at file:%s line: %d task: %s\n",
|
||||
|
@ -82,7 +82,7 @@
|
||||
|
||||
void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
{
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void *)g_idle_topstack;
|
||||
*heap_size = CONFIG_RAM_END - g_idle_topstack;
|
||||
}
|
||||
|
@ -206,7 +206,7 @@ int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype)
|
||||
tcb->adj_stack_ptr = (FAR uint32_t *)top_of_stack;
|
||||
tcb->adj_stack_size = size_of_stack;
|
||||
|
||||
board_led_on(LED_STACKCREATED);
|
||||
board_autoled_on(LED_STACKCREATED);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
@ -211,5 +211,5 @@ void up_initialize(void)
|
||||
/* Initialize USB -- device and/or host */
|
||||
|
||||
up_usbinitialize();
|
||||
board_led_on(LED_IRQSENABLED);
|
||||
board_autoled_on(LED_IRQSENABLED);
|
||||
}
|
||||
|
@ -111,7 +111,7 @@ static void _up_assert(int errorcode)
|
||||
for (; ; )
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
board_autoled_on(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
board_led_off(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
@ -163,7 +163,7 @@ void up_assert(const uint8_t *filename, int lineno)
|
||||
struct tcb_s *rtcb = (struct tcb_s *)g_readytorun.head;
|
||||
#endif
|
||||
|
||||
board_led_on(LED_ASSERTION);
|
||||
board_autoled_on(LED_ASSERTION);
|
||||
|
||||
#ifdef CONFIG_PRINT_TASKNAME
|
||||
lldbg("Assertion failed at file:%s line: %d task: %s\n",
|
||||
|
@ -74,7 +74,7 @@
|
||||
|
||||
uint32_t *up_doirq(int irq, uint32_t *regs)
|
||||
{
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
PANIC();
|
||||
#else
|
||||
|
@ -94,7 +94,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -97,7 +97,7 @@ uint32_t *pic32mx_decodeirq(uint32_t *regs)
|
||||
* processing an interrupt.
|
||||
*/
|
||||
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
|
||||
/* Save the current value of current_regs (to support nested interrupt
|
||||
* handling). Then set current_regs to regs, indicating that this is
|
||||
|
@ -94,7 +94,7 @@ uint32_t *pic32mx_exception(uint32_t *regs)
|
||||
* processing an interrupt.
|
||||
*/
|
||||
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
/* Get the cause of the exception from the CAUSE register */
|
||||
|
@ -97,7 +97,7 @@ uint32_t *pic32mz_decodeirq(uint32_t *regs)
|
||||
* processing an interrupt.
|
||||
*/
|
||||
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
|
||||
/* Save the current value of current_regs (to support nested interrupt
|
||||
* handling). Then set current_regs to regs, indicating that this is
|
||||
|
@ -94,7 +94,7 @@ uint32_t *pic32mz_exception(uint32_t *regs)
|
||||
* processing an interrupt.
|
||||
*/
|
||||
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
/* Get the cause of the exception from the CAUSE register */
|
||||
|
@ -81,7 +81,7 @@
|
||||
|
||||
void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
{
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void*)g_idle_topstack;
|
||||
*heap_size = CONFIG_RAM_END - g_idle_topstack;
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ static void _up_assert(int errorcode)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
board_autoled_on(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
board_led_off(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
@ -151,7 +151,7 @@ void up_assert(const uint8_t *filename, int lineno)
|
||||
struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head;
|
||||
#endif
|
||||
|
||||
board_led_on(LED_ASSERTION);
|
||||
board_autoled_on(LED_ASSERTION);
|
||||
|
||||
#if CONFIG_TASK_NAME_SIZE > 0
|
||||
lldbg("Assertion failed at file:%s line: %d task: %s\n",
|
||||
|
@ -185,7 +185,7 @@ int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype)
|
||||
tcb->adj_stack_ptr = (uint32_t*)top_of_stack;
|
||||
tcb->adj_stack_size = size_of_stack;
|
||||
|
||||
board_led_on(LED_STACKCREATED);
|
||||
board_autoled_on(LED_STACKCREATED);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
@ -73,7 +73,7 @@
|
||||
|
||||
uint32_t *up_doirq(int irq, uint32_t* regs)
|
||||
{
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
PANIC();
|
||||
#else
|
||||
|
@ -200,5 +200,5 @@ void up_initialize(void)
|
||||
|
||||
up_usbinitialize();
|
||||
|
||||
board_led_on(LED_IRQSENABLED);
|
||||
board_autoled_on(LED_IRQSENABLED);
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -93,7 +93,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -82,7 +82,7 @@
|
||||
|
||||
void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
{
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
*heap_start = (FAR void*)g_idle_topstack;
|
||||
*heap_size = CONFIG_RAM_END - g_idle_topstack;
|
||||
}
|
||||
|
@ -261,7 +261,7 @@ static void _up_assert(int errorcode)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
board_autoled_on(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
board_led_off(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
@ -288,7 +288,7 @@ void up_assert(const uint8_t *filename, int lineno)
|
||||
struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head;
|
||||
#endif
|
||||
|
||||
board_led_on(LED_ASSERTION);
|
||||
board_autoled_on(LED_ASSERTION);
|
||||
|
||||
#ifdef CONFIG_PRINT_TASKNAME
|
||||
lldbg("Assertion failed at file:%s line: %d task: %s\n",
|
||||
|
@ -211,5 +211,5 @@ void up_initialize(void)
|
||||
/* Initialize USB -- device and/or host */
|
||||
|
||||
up_usbinitialize();
|
||||
board_led_on(LED_IRQSENABLED);
|
||||
board_autoled_on(LED_IRQSENABLED);
|
||||
}
|
||||
|
@ -185,7 +185,7 @@ int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype)
|
||||
tcb->adj_stack_ptr = (uint32_t*)top_of_stack;
|
||||
tcb->adj_stack_size = size_of_stack;
|
||||
|
||||
board_led_on(LED_STACKCREATED);
|
||||
board_autoled_on(LED_STACKCREATED);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
@ -93,7 +93,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -88,7 +88,7 @@ static void idt_outb(uint8_t val, uint16_t addr)
|
||||
#ifndef CONFIG_SUPPRESS_INTERRUPTS
|
||||
static uint32_t *common_handler(int irq, uint32_t *regs)
|
||||
{
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
|
||||
/* Current regs non-zero indicates that we are processing an interrupt;
|
||||
* current_regs is also used to manage interrupt level context switches.
|
||||
@ -163,7 +163,7 @@ static uint32_t *common_handler(int irq, uint32_t *regs)
|
||||
uint32_t *isr_handler(uint32_t *regs)
|
||||
{
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
PANIC(); /* Doesn't return */
|
||||
return regs; /* To keep the compiler happy */
|
||||
#else
|
||||
@ -171,7 +171,7 @@ uint32_t *isr_handler(uint32_t *regs)
|
||||
|
||||
/* Dispatch the interrupt */
|
||||
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
ret = common_handler((int)regs[REG_IRQNO], regs);
|
||||
board_led_off(LED_INIRQ);
|
||||
return ret;
|
||||
@ -189,14 +189,14 @@ uint32_t *isr_handler(uint32_t *regs)
|
||||
uint32_t *irq_handler(uint32_t *regs)
|
||||
{
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
PANIC(); /* Doesn't return */
|
||||
return regs; /* To keep the compiler happy */
|
||||
#else
|
||||
uint32_t *ret;
|
||||
int irq;
|
||||
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
|
||||
/* Get the IRQ number */
|
||||
|
||||
|
@ -92,7 +92,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
{
|
||||
*heap_start = (FAR void*)CONFIG_HEAP1_BASE;
|
||||
*heap_size = CONFIG_HEAP1_END - CONFIG_HEAP1_BASE;
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -98,7 +98,7 @@ static void _up_assert(int errorcode) /* noreturn_function */
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
board_autoled_on(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
board_led_off(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
@ -154,7 +154,7 @@ void up_assert(void)
|
||||
struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head;
|
||||
#endif
|
||||
|
||||
board_led_on(LED_ASSERTION);
|
||||
board_autoled_on(LED_ASSERTION);
|
||||
|
||||
#ifdef CONFIG_HAVE_FILENAME
|
||||
#if CONFIG_TASK_NAME_SIZE > 0
|
||||
|
@ -166,7 +166,7 @@ int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype)
|
||||
tcb->adj_stack_ptr = (uint32_t*)top_of_stack;
|
||||
tcb->adj_stack_size = size_of_stack;
|
||||
|
||||
board_led_on(LED_STACKCREATED);
|
||||
board_autoled_on(LED_STACKCREATED);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
@ -82,7 +82,7 @@ FAR chipreg_t *up_doirq(int irq, FAR chipreg_t *regs)
|
||||
{
|
||||
FAR chipreg_t *ret = regs;
|
||||
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
PANIC();
|
||||
#else
|
||||
|
@ -88,7 +88,7 @@ void up_idle(void)
|
||||
g_ledtoggle++;
|
||||
if (g_ledtoggle == 0x80)
|
||||
{
|
||||
board_led_on(LED_IDLE);
|
||||
board_autoled_on(LED_IDLE);
|
||||
}
|
||||
else if (g_ledtoggle == 0x00)
|
||||
{
|
||||
|
@ -212,5 +212,5 @@ void up_initialize(void)
|
||||
(void)tun_initialize();
|
||||
#endif
|
||||
|
||||
board_led_on(LED_IRQSENABLED);
|
||||
board_autoled_on(LED_IRQSENABLED);
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -101,7 +101,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
||||
{
|
||||
*heap_start = (FAR void*)CONFIG_HEAP1_BASE;
|
||||
*heap_size = CONFIG_HEAP1_END - CONFIG_HEAP1_BASE;
|
||||
board_led_on(LED_HEAPALLOCATE);
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -97,7 +97,7 @@ static void _up_assert(int errorcode) /* noreturn_function */
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
board_autoled_on(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
board_led_off(LED_PANIC);
|
||||
up_mdelay(250);
|
||||
@ -153,7 +153,7 @@ void up_assert(void)
|
||||
struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head;
|
||||
#endif
|
||||
|
||||
board_led_on(LED_ASSERTION);
|
||||
board_autoled_on(LED_ASSERTION);
|
||||
|
||||
#ifdef CONFIG_HAVE_FILENAME
|
||||
#if CONFIG_TASK_NAME_SIZE > 0
|
||||
|
@ -184,7 +184,7 @@ int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype)
|
||||
tcb->adj_stack_ptr = (uint32_t*)top_of_stack;
|
||||
tcb->adj_stack_size = size_of_stack;
|
||||
|
||||
board_led_on(LED_STACKCREATED);
|
||||
board_autoled_on(LED_STACKCREATED);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,7 @@
|
||||
|
||||
FAR chipreg_t *up_doirq(uint8_t irq, FAR chipreg_t *regs)
|
||||
{
|
||||
board_led_on(LED_INIRQ);
|
||||
board_autoled_on(LED_INIRQ);
|
||||
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
|
||||
|
@ -88,7 +88,7 @@ void up_idle(void)
|
||||
g_ledtoggle++;
|
||||
if (g_ledtoggle == 0x80)
|
||||
{
|
||||
board_led_on(LED_IDLE);
|
||||
board_autoled_on(LED_IDLE);
|
||||
}
|
||||
else if (g_ledtoggle == 0x00)
|
||||
{
|
||||
|
@ -195,5 +195,5 @@ void up_initialize(void)
|
||||
(void)tun_initialize();
|
||||
#endif
|
||||
|
||||
board_led_on(LED_IRQSENABLED);
|
||||
board_autoled_on(LED_IRQSENABLED);
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -92,7 +92,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -107,7 +107,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
@ -92,7 +92,7 @@ void up_sigdeliver(void)
|
||||
|
||||
int saved_errno = rtcb->pterrno;
|
||||
|
||||
board_led_on(LED_SIGNAL);
|
||||
board_autoled_on(LED_SIGNAL);
|
||||
|
||||
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
|
||||
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
|
||||
|
Loading…
Reference in New Issue
Block a user