mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/arm7_common: uncrustify vectors.c
This commit is contained in:
parent
97a81f7461
commit
bca6f44edc
@ -34,14 +34,14 @@ void isr_fio(void)
|
||||
{
|
||||
LOG_ERROR("Kernel Panic,\nEarly FIQ call\n");
|
||||
|
||||
while (1) {};
|
||||
while (1) {}
|
||||
}
|
||||
|
||||
void isr_swi(void)
|
||||
{
|
||||
LOG_ERROR("Kernel Panic,\nEarly SWI call\n");
|
||||
|
||||
while (1) {};
|
||||
while (1) {}
|
||||
}
|
||||
|
||||
void abtorigin(const char *vector, unsigned long *lnk_ptr1)
|
||||
@ -61,7 +61,7 @@ void abtorigin(const char *vector, unsigned long *lnk_ptr1)
|
||||
vector, (void *)lnk_ptr1, *(lnk_ptr1), (void *)lnk_ptr2, *(lnk_ptr2), spsr
|
||||
);
|
||||
|
||||
while (1) {};
|
||||
while (1) {}
|
||||
}
|
||||
|
||||
void isr_undef(void)
|
||||
@ -69,6 +69,7 @@ void isr_undef(void)
|
||||
/* cppcheck-suppress variableScope
|
||||
* (reason: used within __asm__ which cppcheck doesn't pick up) */
|
||||
register unsigned long *lnk_ptr;
|
||||
|
||||
__asm__ __volatile__ ("sub %0, lr, #8" : "=r" (lnk_ptr)); // get aborting instruction
|
||||
|
||||
if (arm_abortflag == 0) {
|
||||
@ -76,7 +77,7 @@ void isr_undef(void)
|
||||
abtorigin("undef", lnk_ptr);
|
||||
}
|
||||
|
||||
while (1) {};
|
||||
while (1) {}
|
||||
}
|
||||
|
||||
void isr_pabt(void)
|
||||
@ -84,6 +85,7 @@ void isr_pabt(void)
|
||||
/* cppcheck-suppress variableScope
|
||||
* (reason: used within __asm__ which cppcheck doesn't pick up) */
|
||||
register unsigned long *lnk_ptr;
|
||||
|
||||
__asm__ __volatile__ ("sub %0, lr, #8" : "=r" (lnk_ptr)); // get aborting instruction
|
||||
|
||||
if (arm_abortflag == 0) {
|
||||
@ -91,7 +93,7 @@ void isr_pabt(void)
|
||||
abtorigin("pabt", lnk_ptr);
|
||||
}
|
||||
|
||||
while (1) {};
|
||||
while (1) {}
|
||||
}
|
||||
|
||||
void isr_dabt(void)
|
||||
@ -99,6 +101,7 @@ void isr_dabt(void)
|
||||
/* cppcheck-suppress variableScope
|
||||
* (reason: used within __asm__ which cppcheck doesn't pick up) */
|
||||
register unsigned long *lnk_ptr;
|
||||
|
||||
__asm__ __volatile__ ("sub %0, lr, #8" : "=r" (lnk_ptr)); // get aborting instruction
|
||||
|
||||
if (arm_abortflag == 0) {
|
||||
@ -106,5 +109,5 @@ void isr_dabt(void)
|
||||
abtorigin("data", lnk_ptr);
|
||||
}
|
||||
|
||||
while (1) {};
|
||||
while (1) {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user