Page MenuHomeFreeBSD

D43972.id134790.diff
No OneTemporary

D43972.id134790.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,8 @@
*/
LENTRY(drop_to_el1)
mrs x23, CurrentEL
- lsr x23, x23, #2
- cmp x23, #0x2
+ and x23, x23, #(CURRENTEL_EL_MASK)
+ cmp x23, #(CURRENTEL_EL_EL2)
b.eq 1f
ret
1:

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 2:43 AM (16 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14707604
Default Alt Text
D43972.id134790.diff (318 B)

Event Timeline