add isb after cpacr update

This commit is contained in:
Simon Renblad 2025-01-06 14:21:59 +08:00
parent 710984bdaf
commit 281ba1370d

View File

@ -6,6 +6,7 @@ pub fn enable_fpu() {
mrc p15, 0, r1, c1, c0, 2
orr r1, r1, (0b1111<<20)
mcr p15, 0, r1, c1, c0, 2
isb
vmrs r1, fpexc
orr r1, r1, (1<<30)