* autoload.cc (IsProcessorFeaturePresent): Add.

* fhandler_proc.cc (format_proc_cpuinfo): Add case for 9x systems.
This commit is contained in:
Corinna Vinschen
2003-03-13 22:53:16 +00:00
parent c58555c70f
commit 5b186cd999
3 changed files with 15 additions and 1 deletions

View File

@ -631,7 +631,15 @@ format_proc_cpuinfo (char *destbuf, size_t maxsize)
debug_printf ("processor does not support CPUID instruction");
}
if (!has_cpuid)
if (!wincap.is_winnt ())
{
bufptr += __small_sprintf (bufptr, "processor : %d\n", cpu_number);
read_value ("VendorIdentifier", REG_SZ);
bufptr += __small_sprintf (bufptr, "vendor id : %s\n", szBuffer);
read_value ("Identifier", REG_SZ);
bufptr += __small_sprintf (bufptr, "identifier : %s\n", szBuffer);
}
else if (!has_cpuid)
{
bufptr += __small_sprintf (bufptr, "processor : %d\n", cpu_number);
read_value ("VendorIdentifier", REG_SZ);