- Port Endianness
The decision was to make the port MSB despite the fact that the original (circa Solaris 2.5.1) port was LSB.
- Names
There are number of names used to identify platform architecture,
cpu architecture, etc. Solaris source tree uses these names extensively and
Solaris itself. Agreed choices are
| Command | 32 bit | 64 bit | |
|---|---|---|---|
| isainfo -n | ppc | ppc | |
| isainfo -k | ppc | ppc64 | |
| uname -p | ppc | ppc64 | |
| isalist | ppc | ppc64 ppc | |
| uname -m | chrp\* | chrp\* | \* For CHRP compliant machines |
- Predefined C Preprocessor symbols
~_\//powerpc and \//\//powerpc64
\//\//powerpc\//\// and \//\//powerpc64\//\// /\* for GNU compatibility \*/
\//\//ppc and \//~_ppc64 /\* for shortcuts \*/
All the *64 symbols are defined only when compiling for 64 bit environment
on 2009/10/26 12:10