kern: add speculation barriers after eret

This commit is contained in:
Michael Scire committed 2023-10-11 03:21:06 -07:00
1 parent 9e99f36d7c
commit b9a4c2bdba
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() */