Page MenuHomeFreeBSD

D17070.id49232.diff
No OneTemporary

D17070.id49232.diff

Index: head/sys/amd64/include/cpufunc.h
===================================================================
--- head/sys/amd64/include/cpufunc.h
+++ head/sys/amd64/include/cpufunc.h
@@ -116,6 +116,13 @@
}
static __inline void
+clwb(u_long addr)
+{
+
+ __asm __volatile("clwb %0" : : "m" (*(char *)addr));
+}
+
+static __inline void
clts(void)
{

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 12, 11:26 PM (4 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23645494
Default Alt Text
D17070.id49232.diff (353 B)

Event Timeline