diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-05-06 22:12:00 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-05-06 22:12:00 +0000 |
commit | 83455728c29f7d469881d27d1da10af5f69510a0 (patch) | |
tree | 3866ac72e60d8672e05dc8ef5bb848200f1cce40 /sys/arch/i386 | |
parent | f6aed46cab41fa76d3a549c35f5b198c458cf866 (diff) |
Use MSR 0x10, not 10 to clear the Pentium instruction counter; from David
Mazieres. Dunno how this could have worked with 10...
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/locore.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s index bd1ca34badf..98da327862b 100644 --- a/sys/arch/i386/i386/locore.s +++ b/sys/arch/i386/i386/locore.s @@ -440,7 +440,7 @@ try586: /* Use the `cpuid' instruction. */ #ifdef NTP xorl %eax,%eax xorl %edx,%edx - movl $10,%ecx + movl $0x10,%ecx .byte 0xf, 0x30 # wrmsr (or trap on non-pentium :-) #endif |