Page MenuHomeFreeBSD

D43972.id134643.diff
No OneTemporary

D43972.id134643.diff

diff --git a/sys/arm64/arm64/locore.S b/sys/arm64/arm64/locore.S
--- a/sys/arm64/arm64/locore.S
+++ b/sys/arm64/arm64/locore.S
@@ -267,8 +267,9 @@
*/
LENTRY(drop_to_el1)
mrs x23, CurrentEL
- lsr x23, x23, #2
- cmp x23, #0x2
+ and x23, x23, #(CURRENTEL_EL_MASK)
+ lsr x23, x23, #(CURRENTEL_EL_SHIFT)
+ cmp x23, #(CURRENTEL_EL_EL2 >> CURRENTEL_EL_SHIFT)
b.eq 1f
ret
1:

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 2:57 AM (17 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14709175
Default Alt Text
D43972.id134643.diff (378 B)

Event Timeline