Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Dec 1995 01:56:10 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org, kato@eclogite.eps.nagoya-u.ac.jp
Subject:   Re: Cyrix 5x86 is not identified
Message-ID:  <199512251456.BAA31681@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>When I run this kernel on Cyrix 5x86 box, it is paniced by 
>	CPU: Pentium Proc (unknown-class CPU)
>	CPU class not configured
>...
>Now I have applied following quick hack to run -current:

>---------- BEGIN ----------
>*** locore.s.1.57	Mon Dec 25 22:41:10 1995
>--- locore.s	Mon Dec 25 22:41:48 1995
>***************
>*** 458,463 ****
>--- 458,466 ----
>  	movl	$CPU_586,_cpu-KERNBASE
>  	jmp	3f
>  2:
>+ 	/* Cyrix 5x86 ? */
>+ 	cmpl	$6,%eax
>+ 	jb	3f
>  	/* Greater than Pentium...call it a Pentium Pro */
>  	movl	$CPU_686,_cpu-KERNBASE
>  3:
>---------- END ----------

>Comparison between revision 1.56 and 1.57, I can't find the reason why
>5x86 is not identified.  The reason seems to be gas problem which

An earlier `jmp 2f' (after detecting a CYRIX) didn't get changed to
`jmp 3f'.

Numeric local labels shouldn't be used here.   They should only be used
in macros and for very short branches.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512251456.BAA31681>