]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The Intel Pentium Pro's performance counters are 40 bits wide. The Intel
authoralc <alc@FreeBSD.org>
Tue, 11 May 1999 01:54:52 +0000 (01:54 +0000)
committeralc <alc@FreeBSD.org>
Tue, 11 May 1999 01:54:52 +0000 (01:54 +0000)
commit4c92d6c2c9c8296b2985fc63a9ff40e6e70238c6
treef5b6e1a56aaf100637093024ca18337edcf6fbde
parentc7520d9e7414377ddc3646991ecf241946ea6cea
The Intel Pentium Pro's performance counters are 40 bits wide.  The Intel
manuals specifically say that reading the counters using the rdmsr
instruction returns a 64 bit value of which the higher 24 bits are
undefined. The code that reads the counters should then clear the
high 24 bits.

PR:  i386/10632
sys/i386/i386/perfmon.c