Date: Mon, 25 Dec 1995 07:03:55 -0800 From: David Greenman <davidg@Root.COM> To: NIIMI Satoshi <sa2c@and.or.jp> Cc: current@freebsd.org Subject: Re: wrong cpu identification on -current Message-ID: <199512251503.HAA03417@corbin.Root.COM> In-Reply-To: Your message of "Tue, 26 Dec 95 00:01:11 %2B0900." <199512251501.AAA00306@us.and.or.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
>-current kernel identifies my 486 to be 686. The wrong code is in >$Id: locore.s,v 1.57 1995/12/24 08:10:39 davidg Exp $. > >fix is here > >--- locore.s.orig Mon Dec 25 23:49:32 1995 >+++ locore.s Mon Dec 25 23:51:27 1995 >@@ -366,7 +366,7 @@ > andw $0x08d5,%cx > cmpw %ax,%cx > >- jnz 2f # if flags changed, Intel chip >+ jnz 3f # if flags changed, Intel chip > > movl $CPU_486DLC,_cpu-KERNBASE # set CPU value for Cyrix > movl $0x69727943,_cpu_vendor-KERNBASE # store vendor string >@@ -428,7 +428,7 @@ > movl %eax,%cr0 > invd > #endif /* CYRIX_CACHE_WORKS */ >- jmp 2f >+ jmp 3f > > 1: /* Use the `cpuid' instruction. */ > xorl %eax,%eax Thanks, but the problem has already been fixed. -DG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512251503.HAA03417>