diff options
author | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2007-04-03 14:48:54 +0000 |
---|---|---|
committer | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2007-04-03 14:48:54 +0000 |
commit | d1387b393a35c23e692e945817d534ab11c9fda3 (patch) | |
tree | 5c2f3ae7ed24bd5d329da3b3515ed0472b0a1970 /usr.bin/cal/cal.c | |
parent | 7ce45cdf3e52dadddfd2c2642e5d38996f3e6c1f (diff) |
A fix for smp old world macs such as the 9500MP and 9600MP which lack the
/cpus openfirmware node of the new world macs, and only have one cpu node.
We look at a register of the memory controller called hammerhead for the
arbitration bit being set indicating a two way machine. Quad processor
old worlds made by e.g. Daystar Digital would require a different heurisitic.
This heuristic comes from linux/netbsd.
ok kettenis@ and drahn@
Diffstat (limited to 'usr.bin/cal/cal.c')
0 files changed, 0 insertions, 0 deletions