From 4a505843e4cb69fe17b12809c2a2e10729d6a2dd Mon Sep 17 00:00:00 2001 From: tholo Date: Mon, 6 May 1996 22:11:59 +0000 Subject: [PATCH] Use MSR 0x10, not 10 to clear the Pentium instruction counter; from David Mazieres. Dunno how this could have worked with 10... --- sys/arch/i386/i386/locore.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1