> This WILL work. Without a doubt. However, a little messy, IMHO. I think
> that I'd rather do something like this...
>
> 1. if has cpuid
> do cpuid
> else
> probe 486/386
> if !386 && flags are preserved across divison
> check for BX @ 0x22/0x23
> if !BX
> enable cpuid
> goto 1
> end if
> end if
>
> Much happier and cleaner, IMHO. :)
Nah. If the cpuid failed you can't have a Pentium II so you can't
have a BX chip set. Don't waste your time - you can bet your life
that if/when Intel release a socket 7 BX-ish chip set or Cyrix
release a slot 2 CPU they will have changed things in ways you
haven't predicted :-).
Mike
-- .----------------------------------------------------------------------. | Mike Jagdis | Internet: mailto:mike@roan.co.uk | | Roan Technology Ltd. | | | 54A Peach Street, Wokingham | Telephone: +44 118 989 0403 | | RG40 1XG, ENGLAND | Fax: +44 118 989 1195 | `----------------------------------------------------------------------'
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu