Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102853643
D43972.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
318 B
Referenced Files
None
Subscribers
None
D43972.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,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
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 12:43 AM (15 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14707604
Default Alt Text
D43972.diff (318 B)
Attached To
Mode
D43972: arm64: Use the new CurrentEL macros
Attached
Detach File
Event Timeline
Log In to Comment