#ident "@(#)smail/conf/arch:RELEASE-3_2_0_121:32bit8byte,v 1.1 2004/07/25 17:31:14 woods Exp" # # 32bit - architecture description for a 32-bit machine which needs # 64-bit alignment (sizeof(unsigned long long)) # SMALL_MEMORY - does this system handle virtual memory efficiently # # If your system has a large amount of physical memory, or handles a # moderate amount of VM space in a reasonable manner, do not define # SMALL_MEMORY. Otherwise set it to "yes". This should always be # defined for 8086 or 80286 where arrays larger than 64K cannot be # managed efficiently. SMALL_MEMORY= # POINTER_TYPE - what integral type has the same size as a pointer # # Define this to be either short, int or long, depending upon which # type is equal to or greater than the size of a pointer on this # machine. Given the size of smail, it is unlikely that it will run # on any machine where a pointer has the same size as a short with a # short having the standard size of 16 bits. POINTER_TYPE=long # BITS_PER_CHAR - how many bits are there in a char # # If smail runs on any machine where BITS_PER_CHAR does not equal 8, # let us know. BITS_PER_CHAR=8 # MAXINT_B10_DIGITS # MAXLONG_B10_DIGITS # # number of digits for MAXINT, MAXLONG as Base-10 # # (2^(CHAR_BIT * sizeof(int)) = 10^digits) MAXINT_B10_DIGITS=10 # assume sizeof(long) not > sizeof(int) MAXLONG_B10_DIGITS=10 # ALIGNED_TYPE - what type can be put at the start of a block of # memory without upsetting the alignment # # xmalloc() puts a signature at the start of a block of memory to show # that it is in use. The signature will be of this type to ensure the # alignment constraints work out OK. # # E.g. for MIPS which barfs SIGBUS dumps if 64-bit "long long" # (8-byte) integers are not aligned on their 8-byte boundaries ALIGNED_TYPE="unsigned long long int"