artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4427ee
)
Use MSR 0x10, not 10 to clear the Pentium instruction counter; from David
author
tholo
<tholo@openbsd.org>
Mon, 6 May 1996 22:11:59 +0000
(22:11 +0000)
committer
tholo
<tholo@openbsd.org>
Mon, 6 May 1996 22:11:59 +0000
(22:11 +0000)
Mazieres. Dunno how this could have worked with 10...
sys/arch/i386/i386/locore.s
patch
|
blob
|
history
diff --git
a/sys/arch/i386/i386/locore.s
b/sys/arch/i386/i386/locore.s
index
bd1ca34
..
98da327
100644
(file)
--- 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 $
0x
10,%ecx
.byte 0xf, 0x30 # wrmsr (or trap on non-pentium :-)
#endif