Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Oct 2010 15:31:56 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r213452 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include
Message-ID:  <201010051531.o95FVuO2060993@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Tue Oct  5 15:31:56 2010
New Revision: 213452
URL: http://svn.freebsd.org/changeset/base/213452

Log:
  Display PCID capability of CPU and add CPUID define for it.
  
  MFC after:	1 week

Modified:
  head/sys/amd64/amd64/identcpu.c
  head/sys/amd64/include/specialreg.h
  head/sys/i386/i386/identcpu.c
  head/sys/i386/include/specialreg.h

Modified: head/sys/amd64/amd64/identcpu.c
==============================================================================
--- head/sys/amd64/amd64/identcpu.c	Tue Oct  5 15:27:44 2010	(r213451)
+++ head/sys/amd64/amd64/identcpu.c	Tue Oct  5 15:31:56 2010	(r213452)
@@ -278,7 +278,7 @@ printcpuinfo(void)
 				"\017xTPR"	/* Send Task Priority Messages*/
 				"\020PDCM"	/* Perf/Debug Capability MSR */
 				"\021<b16>"
-				"\022<b17>"
+				"\022PCID"	/* Process-context Identifiers */
 				"\023DCA"	/* Direct Cache Access */
 				"\024SSE4.1"
 				"\025SSE4.2"

Modified: head/sys/amd64/include/specialreg.h
==============================================================================
--- head/sys/amd64/include/specialreg.h	Tue Oct  5 15:27:44 2010	(r213451)
+++ head/sys/amd64/include/specialreg.h	Tue Oct  5 15:31:56 2010	(r213452)
@@ -126,6 +126,7 @@
 #define	CPUID2_CX16	0x00002000
 #define	CPUID2_XTPR	0x00004000
 #define	CPUID2_PDCM	0x00008000
+#define	CPUID2_PCID	0x00020000
 #define	CPUID2_DCA	0x00040000
 #define	CPUID2_SSE41	0x00080000
 #define	CPUID2_SSE42	0x00100000

Modified: head/sys/i386/i386/identcpu.c
==============================================================================
--- head/sys/i386/i386/identcpu.c	Tue Oct  5 15:27:44 2010	(r213451)
+++ head/sys/i386/i386/identcpu.c	Tue Oct  5 15:31:56 2010	(r213452)
@@ -742,7 +742,7 @@ printcpuinfo(void)
 				"\017xTPR"	/* Send Task Priority Messages*/
 				"\020PDCM"	/* Perf/Debug Capability MSR */
 				"\021<b16>"
-				"\022<b17>"
+				"\022PCID"	/* Process-context Identifiers */
 				"\023DCA"	/* Direct Cache Access */
 				"\024SSE4.1"
 				"\025SSE4.2"

Modified: head/sys/i386/include/specialreg.h
==============================================================================
--- head/sys/i386/include/specialreg.h	Tue Oct  5 15:27:44 2010	(r213451)
+++ head/sys/i386/include/specialreg.h	Tue Oct  5 15:31:56 2010	(r213452)
@@ -123,6 +123,7 @@
 #define	CPUID2_CX16	0x00002000
 #define	CPUID2_XTPR	0x00004000
 #define	CPUID2_PDCM	0x00008000
+#define	CPUID2_PCID	0x00020000
 #define	CPUID2_DCA	0x00040000
 #define	CPUID2_SSE41	0x00080000
 #define	CPUID2_SSE42	0x00100000



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