mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
When dropping to EL1 ensure we have written to all special registers by
moving the instruction barrier to just before we drop exception level. Sponsored by: ABT Systems Ltd
This commit is contained in:
parent
32d321fa4a
commit
f452c30169
1 changed files with 1 additions and 1 deletions
|
|
@ -246,11 +246,11 @@ drop_to_el1:
|
|||
mrs x2, icc_sre_el2
|
||||
orr x2, x2, #ICC_SRE_EL2_EN /* Enable access from insecure EL1 */
|
||||
msr icc_sre_el2, x2
|
||||
isb
|
||||
2:
|
||||
|
||||
/* Set the address to return to our return address */
|
||||
msr elr_el2, x30
|
||||
isb
|
||||
|
||||
eret
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue