kern: add speculation barriers after eret

This commit is contained in:
Michael Scire authored and SciresM committed 2023-10-12 08:55:58 -07:00
1 parent ec96203cb7
commit c72ba35684
6 files changed
+22 -19

No files matched your search

@@ -377,7 +377,7 @@ _ZN3ams4kern4init16JumpFromEL2ToEL1Ev:
mov x0, #0xC5
msr spsr_el2, x0
eret
ERET_WITH_SPECULATION_BARRIER
#endif
/* ams::kern::init::DisableMmuAndCaches() */