Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108328379
D48579.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
527 B
Referenced Files
None
Subscribers
None
D48579.diff
View Options
diff --git a/sys/arm64/include/cpufunc.h b/sys/arm64/include/cpufunc.h
--- a/sys/arm64/include/cpufunc.h
+++ b/sys/arm64/include/cpufunc.h
@@ -160,6 +160,26 @@
"isb \n");
}
+static __inline void
+wfet(uint64_t val)
+{
+ __asm __volatile(
+ "msr s0_3_c1_c0_0, %0\n"
+ :
+ : "r" ((val))
+ : "memory");
+}
+
+static __inline void
+wfit(uint64_t val)
+{
+ __asm __volatile(
+ "msr s0_3_c1_c0_1, %0\n"
+ :
+ : "r" ((val))
+ : "memory");
+}
+
extern bool icache_aliasing;
extern bool icache_vmid;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 9:59 PM (15 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16033086
Default Alt Text
D48579.diff (527 B)
Attached To
Mode
D48579: arm64: add inline functions for FEAT_WFxT instructions
Attached
Detach File
Event Timeline
Log In to Comment