[510] in testers
machtype: determining CPU type
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Sat Dec 16 06:01:22 1989
From: probe@ATHENA.MIT.EDU
Date: Sat, 16 Dec 89 06:01:03 -0500
To: testers@ATHENA.MIT.EDU
Ez and I discovered that the test for MVAX-II vs. VAXSTAR is incorrect.
If the kernel is configured with the VAXSTAR option, the variable
cpu_subtype will be defined in the kernel. On a MVAX-II, the value is
"1"; on a VAXSTAR, the value will be "4". The test in machtype, however,
is to assume it is a VAXSTAR if it is non-zero. This is only valid if
_cpu_subtype is not in the symbol table of the kernel.
-Richard