Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2014 18:09:09 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 1193977 for review
Message-ID:  <201405191809.s4JI99wN000181@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@1193977?ac=10

Change 1193977 by jhb@jhb_jhbbsd on 2014/05/19 18:08:52

	Pull-up latest test instruction list.

Affected files ...

.. //depot/projects/smpng/sys/modules/x86dis/x86dis.c#11 integrate

Differences ...

==== //depot/projects/smpng/sys/modules/x86dis/x86dis.c#11 (text+ko) ====

@@ -124,4 +124,15 @@
 	(void)rdrand64();
 	__asm __volatile("rdseed %0" : "=r" (val));
 	__asm __volatile("rdseed %edi");
+	invpcid((struct invpcid_descr *)addr, val);
+	__asm __volatile("clac");
+	__asm __volatile("stac");
+	__asm __volatile("vmrun %0" :: "a" (addr));
+	__asm __volatile("vmsave %0" :: "a" (addr));
+	__asm __volatile("vmload %0" :: "a" (addr));
+	__asm __volatile("stgi");
+	__asm __volatile("clgi");
+	__asm __volatile("vmmcall");
+	__asm __volatile("invlpga %1,%0" :: "a" (addr), "c" (aux));
+	__asm __volatile("skinit %0" :: "a" (aux));
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405191809.s4JI99wN000181>