view src/m/alliant4.h @ 2642:368e26e0b1e3

[xemacs-hg @ 2005-03-09 19:47:40 by crestani] Subject: Fix bug in KKCC marking of unions. 2005-03-02 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * redisplay.h (struct rune): make type field an int, to fix KKCC marking of unions.
author crestani
date Wed, 09 Mar 2005 19:47:41 +0000
parents 376386a54a3c
children
line wrap: on
line source

/* Synched up with: FSF 19.31. */

/* machine description file for Alliant Concentrix 4.0 or later.
   Use alliant.h for versions 2 and 3.  */

/* The following line tells the configuration script what sort of 
   operating system this machine is likely to run.
   USUAL-OPSYS="bsd4-2"  */

#include "alliant.h"

/* Concentrix uses a different kernel symbol for load average. */

#undef  LDAV_SYMBOL		/* Undo definition in s-bsd4-2.h */
#define LDAV_SYMBOL "_Loadavg"

/* Data type of load average, as read out of kmem.  */

#define LOAD_AVE_TYPE long

/* Convert that into an integer that is 100 for a load average of 1.0  */

#define LOAD_AVE_CVT(x) (x * 100 / LOADAVG_SCALE)

/* include <sys/param.h> for the definition of LOADAVG_SCALE, and also
   LOADAVG_SIZE, the number of items in the Loadavg array. */