annotate src/m/s390.h @ 363:972bbb6d6ca2 r21-1-11

Import from CVS: tag r21-1-11
author cvs
date Mon, 13 Aug 2007 10:59:28 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
363
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
1 /* machine description file for IBM S390
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
2 Copyright (C) 1987 Free Software Foundation, Inc.
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
3
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
4 This file is part of XEmacs.
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
5
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
9 any later version.
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
10
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
14 GNU General Public License for more details.
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
15
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
20
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
21
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
22 /* Say this machine is a s390 */
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
23
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
24 #ifndef s390
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
25 #define s390
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
26 #endif
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
27
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
28 /* Data type of load average, as read out of kmem. */
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
29
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
30 #define LOAD_AVE_TYPE long
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
31
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
32 /* Convert that into an integer that is 100 for a load average of 1.0 */
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
33
972bbb6d6ca2 Import from CVS: tag r21-1-11
cvs
parents:
diff changeset
34 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)