Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147900947
D51377.1784733902.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
377 B
Referenced Files
None
Subscribers
None
D51377.1784733902.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
@@ -420,6 +420,11 @@
isb
2:
+ /* Set CNTPOFF_EL2 if available */
+ CHECK_CPU_FEAT(x2, ID_AA64MMFR0, ECV, POFF, .Lno_feat_ecv_poff)
+ msr CNTPOFF_EL2_REG, xzr
+.Lno_feat_ecv_poff:
+
/* Don't trap to EL2 for CP15 traps */
msr hstr_el2, xzr
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 22, 3:25 PM (18 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29228656
Default Alt Text
D51377.1784733902.diff (377 B)
Attached To
Mode
D51377: arm64: Set CNTPOFF_EL2 when it's implemented
Attached
Detach File
Event Timeline
Log In to Comment