Which are the "correct" settings for the Sparc V9 chip of a Sparc Server 450
in the /usr/include/sys/isa_defs.h ? Would the defines that come with
the comment
/*
* The following set of definitions characterize the Solaris on SPARC system.
*
* The flag __sparc is only guaranteed to indicate SPARC processors version 8
* or earlier.
*/
#elif defined(__sparc) || defined(sparc)
/*
be still correct?
/usr/include/sys/isa_defs.h:
/*
* The following set of definitions characterize the Solaris on SPARC system.
*
* The flag __sparc is only guaranteed to indicate SPARC processors version 8
* or earlier.
*/
#elif defined(__sparc) || defined(sparc)
/*
* Make sure that the ANSI-C "politically correct" symbol is defined.
*/
#if !defined(__sparc)
#define __sparc
#endif
/*
* Define the appropriate "processor characteristics"
*/
#define _BIG_ENDIAN
#define _STACK_GROWS_DOWNWARD
#define _LONG_LONG_HTOL
#define _BIT_FIELDS_HTOL
#define _IEEE_754
#define _CHAR_IS_SIGNED
#define _CHAR_ALIGNMENT 1
#define _SHORT_ALIGNMENT 2
#define _INT_ALIGNMENT 4
#define _LONG_ALIGNMENT 4
#define _LONG_LONG_ALIGNMENT 8
#define _DOUBLE_ALIGNMENT 8
#define _LONG_DOUBLE_ALIGNMENT 8
#define _POINTER_ALIGNMENT 4
#define _MAX_ALIGNMENT 8
#define _ALIGNMENT_REQUIRED 1
/*
* Define the appropriate "implementation choices".
*/
#define _SUNOS_VTOC_8
#define _DMA_USES_VIRTADDR
#define _NO_FDISK_PRESENT
/*
* #error is strictly ansi-C, but works as well as anything for K&R systems.
*/
#else
#error ISA not supported
#endif