Make sure that there is one space after for
This commit is contained in:
parent
33d5d24964
commit
c708eff608
@ -81,7 +81,7 @@ static void _up_assert(int errorcode)
|
||||
if (g_irqtos || ((FAR struct tcb_s*)g_readytorun.head)->pid == 0)
|
||||
{
|
||||
(void)irqsave();
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
|
@ -207,7 +207,7 @@ void os_start(void)
|
||||
|
||||
_up_puts("Test complete");
|
||||
_up_putnl();
|
||||
for(;;);
|
||||
for (;;);
|
||||
}
|
||||
|
||||
/************************************************************************
|
||||
|
@ -301,7 +301,7 @@ static void _up_assert(int errorcode)
|
||||
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
|
||||
{
|
||||
(void)irqsave();
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
|
@ -317,7 +317,7 @@ static void _up_assert(int errorcode)
|
||||
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
|
||||
{
|
||||
(void)irqsave();
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
|
@ -312,7 +312,7 @@ static void _up_assert(int errorcode)
|
||||
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
|
||||
{
|
||||
(void)irqsave();
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
|
@ -327,7 +327,7 @@ static void _up_assert(int errorcode)
|
||||
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
|
||||
{
|
||||
(void)irqsave();
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
|
@ -185,7 +185,7 @@ pid_t up_vfork(const struct vfork_s *context)
|
||||
/* Make some feeble effort to perserve the stack contents. This is
|
||||
* feeble because the stack surely contains invalid pointers and other
|
||||
* content that will not work in the child context. However, if the
|
||||
* user follows all of the caveats of vfor() usage, even this feeble
|
||||
* user follows all of the caveats of vfork() usage, even this feeble
|
||||
* effort is overkill.
|
||||
*/
|
||||
|
||||
|
@ -493,7 +493,7 @@ static int up_interrupt(int irq, void *context)
|
||||
* until we have been looping for a long time.
|
||||
*/
|
||||
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
/* Get the current UART status and check for loop
|
||||
* termination conditions
|
||||
|
@ -832,7 +832,7 @@ static int up_interrupt(int irq, void *context)
|
||||
* until we have been looping for a long time.
|
||||
*/
|
||||
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
/* Get the current UART status and check for loop
|
||||
* termination conditions
|
||||
|
@ -165,5 +165,5 @@ void __start(void)
|
||||
|
||||
/* Shouldn't get here */
|
||||
|
||||
for(;;);
|
||||
for (;;);
|
||||
}
|
||||
|
@ -181,6 +181,6 @@ void __start(void)
|
||||
|
||||
/* Shoulnd't get here */
|
||||
|
||||
for(;;);
|
||||
for (;;);
|
||||
}
|
||||
|
||||
|
@ -257,5 +257,5 @@ void __start(void)
|
||||
|
||||
/* Shouldn't get here */
|
||||
|
||||
for(;;);
|
||||
for (;;);
|
||||
}
|
||||
|
@ -357,5 +357,5 @@ void __start(void)
|
||||
|
||||
/* Shouldn't get here */
|
||||
|
||||
for(;;);
|
||||
for (;;);
|
||||
}
|
||||
|
@ -174,5 +174,5 @@ void __start(void)
|
||||
|
||||
/* Shoulnd't get here */
|
||||
|
||||
for(;;);
|
||||
for (;;);
|
||||
}
|
||||
|
@ -191,5 +191,5 @@ void __start(void)
|
||||
|
||||
/* Shouldn't get here */
|
||||
|
||||
for(;;);
|
||||
for (;;);
|
||||
}
|
||||
|
@ -175,5 +175,5 @@ void __start(void)
|
||||
|
||||
/* Shoulnd't get here */
|
||||
|
||||
for(;;);
|
||||
for (;;);
|
||||
}
|
||||
|
@ -306,6 +306,6 @@ void __start(void)
|
||||
|
||||
/* Shoulnd't get here */
|
||||
|
||||
for(;;);
|
||||
for (;;);
|
||||
#endif
|
||||
}
|
||||
|
@ -165,5 +165,5 @@ void __start(void)
|
||||
|
||||
/* Shoulnd't get here */
|
||||
|
||||
for(;;);
|
||||
for (;;);
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ static void _up_assert(int errorcode)
|
||||
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
|
||||
{
|
||||
(void)irqsave();
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
|
@ -280,7 +280,7 @@ static void _up_assert(int errorcode)
|
||||
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
|
||||
{
|
||||
(void)irqsave();
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
|
@ -105,7 +105,7 @@ static void _up_assert(int errorcode)
|
||||
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
|
||||
{
|
||||
(void)irqsave();
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
|
@ -190,7 +190,7 @@ pid_t up_vfork(const struct vfork_s *context)
|
||||
/* Make some feeble effort to perserve the stack contents. This is
|
||||
* feeble because the stack surely contains invalid pointers and other
|
||||
* content that will not work in the child context. However, if the
|
||||
* user follows all of the caveats of vfor() usage, even this feeble
|
||||
* user follows all of the caveats of vfork() usage, even this feeble
|
||||
* effort is overkill.
|
||||
*/
|
||||
|
||||
|
@ -92,7 +92,7 @@ static void _up_assert(int errorcode)
|
||||
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
|
||||
{
|
||||
(void)irqsave();
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
|
@ -242,7 +242,7 @@ static void _up_assert(int errorcode)
|
||||
if (current_regs || ((struct tcb_s*)g_readytorun.head)->pid == 0)
|
||||
{
|
||||
(void)irqsave();
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
|
@ -294,12 +294,12 @@ static int init_graph_vga(int width, int height,int chain4)
|
||||
outb(val, 0x3c2);
|
||||
outw(0x0e11, 0x3d4); /* enable regs 0-7 */
|
||||
|
||||
for(a = 0; a < SZ(g_hor_regs); ++a)
|
||||
for (a = 0; a < SZ(g_hor_regs); ++a)
|
||||
{
|
||||
outw((uint16_t)((w[a] << 8) + g_hor_regs[a]), 0x3d4);
|
||||
}
|
||||
|
||||
for(a = 0; a < SZ(g_ver_regs); ++a)
|
||||
for (a = 0; a < SZ(g_ver_regs); ++a)
|
||||
{
|
||||
outw((uint16_t)((h[a] << 8) + g_ver_regs[a]), 0x3d4);
|
||||
}
|
||||
@ -330,7 +330,7 @@ static int init_graph_vga(int width, int height,int chain4)
|
||||
outb(0x33, 0x3c0);
|
||||
outb(0x00, 0x3c0);
|
||||
|
||||
for(a = 0; a < 16; a++) /* ega pal */
|
||||
for (a = 0; a < 16; a++) /* ega pal */
|
||||
{
|
||||
outb((uint8_t)a, 0x3c0);
|
||||
outb((uint8_t)a, 0x3c0);
|
||||
|
@ -91,7 +91,7 @@ static void _up_assert(int errorcode) /* noreturn_function */
|
||||
if (up_interrupt_context() || ((FAR struct tcb_s*)g_readytorun.head)->pid == 0)
|
||||
{
|
||||
(void)irqsave();
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
|
@ -90,7 +90,7 @@ static void _up_assert(int errorcode) /* noreturn_function */
|
||||
if (up_interrupt_context() || ((FAR struct tcb_s*)g_readytorun.head)->pid == 0)
|
||||
{
|
||||
(void)irqsave();
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_on(LED_PANIC);
|
||||
|
@ -300,7 +300,7 @@ static uint8_t spi_transfer(uint8_t ch)
|
||||
|
||||
/* Send the byte, repeating if some error occurs */
|
||||
|
||||
for(;;)
|
||||
for (;;)
|
||||
{
|
||||
outp(EZ80_SPI_TSR, ch);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user