forked from Imagelibrary/rtems
lm32/shared/milkymist_pfpu/pfpu.c: Fix indentation and braces
This commit is contained in:
@@ -110,13 +110,14 @@ static rtems_status_code pfpu_execute(struct pfpu_td *td)
|
|||||||
if (sc != RTEMS_SUCCESSFUL)
|
if (sc != RTEMS_SUCCESSFUL)
|
||||||
return sc;
|
return sc;
|
||||||
|
|
||||||
if (td->update)
|
if (td->update) {
|
||||||
update_registers(td->registers);
|
update_registers(td->registers);
|
||||||
if (td->invalidate) {
|
if (td->invalidate) {
|
||||||
__asm__ volatile( /* Invalidate Level-1 data cache */
|
__asm__ volatile( /* Invalidate Level-1 data cache */
|
||||||
"wcsr DCC, r0\n"
|
"wcsr DCC, r0\n"
|
||||||
"nop\n"
|
"nop\n"
|
||||||
);
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return RTEMS_SUCCESSFUL;
|
return RTEMS_SUCCESSFUL;
|
||||||
|
|||||||
Reference in New Issue
Block a user