Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102860716
D43972.id134643.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
378 B
Referenced Files
None
Subscribers
None
D43972.id134643.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D43972: arm64: Use the new CurrentEL macros
Attached
Detach File
Event Timeline
Log In to Comment