NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD/i386 7.0 hangs booting 486
2015-11-22 17:12 GMT+01:00 Felix Deichmann <m4j0rd0m0%gmail.com@localhost>:
> Maybe a fix in __get_cpuid() could be as simple as:
>
> - if (__get_cpuid_max (__ext, 0) < __level)
> + if (__get_cpuid_max (__ext, 0) <= __level)
Hm no, this will break all machines except those without cpuid of course.
The problem seems to be that the over-all logic, return types etc. in
cpuid.h is focused on "*which* cpuid level, starting at 0, does the
CPU support?", but doesn't ask "does the CPU support cpuid *at all*?".
Home |
Main Index |
Thread Index |
Old Index