diff options
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/machdep.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index 8855858..1f94697 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -725,6 +725,14 @@ alpha_init(pfn, ptb, bim, bip, biv) * Find out what hardware we're on, and do basic initialization. */ cputype = hwrpb->rpb_type; + if (cputype < 0) { + /* + * At least some white-box (NT) systems have SRM which + * reports a systype that's the negative of their + * blue-box (UNIX/OVMS) counterpart. + */ + cputype = -cputype; + } if (cputype >= ncpuinit) { platform_not_supported(cputype); /* NOTREACHED */ |