Host IDs and architectures
Steve Smith
island!crete!sjs at cad.berkeley.edu
Wed Mar 14 03:00:33 AEST 1990
The masks you need to determine machine and architecture from the host id
are in /usr/include/machine/cpu.h for your host, and unader
/usr/include/sun*/cpu.h for other architectures. For example, I am on a
sun 3 and the files <machine/cpu.h> and <sun3/cpu.h> are identical. If
you want to know about sun 4's look under /usr/include/sun4/cpu.h.
The mask for the architecture is CPU_ARCH and the mask for the machine
type is CPU_MACH. It makes sense after a little examination.
More information about the Comp.sys.sun
mailing list