forked from Imagelibrary/rtems
bsp/gen5200: Fix FPU initialization
The change of the MSR[FP] status requires a context-synchronizing instruction.
This commit is contained in:
@@ -706,6 +706,7 @@ FPU_init:
|
|||||||
|
|
||||||
SETBITS r30, r29, MSR_FP
|
SETBITS r30, r29, MSR_FP
|
||||||
mtmsr r30 /* enable FPU and FPU exceptions */
|
mtmsr r30 /* enable FPU and FPU exceptions */
|
||||||
|
sync
|
||||||
|
|
||||||
lfd f0, 0(r29)
|
lfd f0, 0(r29)
|
||||||
fmr f1, f0
|
fmr f1, f0
|
||||||
|
|||||||
Reference in New Issue
Block a user