Date: Tue, 12 Apr 2011 22:12:24 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r220578 - in head/sys: amd64/include i386/include Message-ID: <201104122212.p3CMCORX037102@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Tue Apr 12 22:12:23 2011 New Revision: 220578 URL: http://svn.freebsd.org/changeset/base/220578 Log: Add definitions for CPUID instruction 6, ECX information. Modified: head/sys/amd64/include/specialreg.h head/sys/i386/include/specialreg.h Modified: head/sys/amd64/include/specialreg.h ============================================================================== --- head/sys/amd64/include/specialreg.h Tue Apr 12 21:08:34 2011 (r220577) +++ head/sys/amd64/include/specialreg.h Tue Apr 12 22:12:23 2011 (r220578) @@ -196,6 +196,12 @@ #define CPUID_HTT_CORES 0x00ff0000 #define CPUID_LOCAL_APIC_ID 0xff000000 +/* + * CPUID instruction 6 ecx info + */ +#define CPUID_PERF_STAT 0x00000001 +#define CPUID_PERF_BIAS 0x00000008 + /* * CPUID instruction 0xb ebx info. */ Modified: head/sys/i386/include/specialreg.h ============================================================================== --- head/sys/i386/include/specialreg.h Tue Apr 12 21:08:34 2011 (r220577) +++ head/sys/i386/include/specialreg.h Tue Apr 12 22:12:23 2011 (r220578) @@ -195,6 +195,12 @@ #define CPUID_HTT_CORES 0x00ff0000 #define CPUID_LOCAL_APIC_ID 0xff000000 +/* + * CPUID instruction 6 ecx info + */ +#define CPUID_PERF_STAT 0x00000001 +#define CPUID_PERF_BIAS 0x00000008 + /* * CPUID instruction 0xb ebx info. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104122212.p3CMCORX037102>