Annotation of 43BSDReno/contrib/emacs-18.55/src/m-isi-ov.h, revision 1.1.1.1

1.1       root        1: /* m- file for ISI 68000's
                      2:    Copyright (C) 1985, 1986 Free Software Foundation, Inc.
                      3: 
                      4: This file is part of GNU Emacs.
                      5: 
                      6: GNU Emacs is distributed in the hope that it will be useful,
                      7: but WITHOUT ANY WARRANTY.  No author or distributor
                      8: accepts responsibility to anyone for the consequences of using it
                      9: or for whether it serves any particular purpose or works at all,
                     10: unless he says so in writing.  Refer to the GNU Emacs General Public
                     11: License for full details.
                     12: 
                     13: Everyone is granted permission to copy, modify and redistribute
                     14: GNU Emacs, but only under the conditions described in the
                     15: GNU Emacs General Public License.   A copy of this license is
                     16: supposed to have been given to you along with GNU Emacs so you
                     17: can know your rights and responsibilities.  It should be in a
                     18: file named COPYING.  Among other things, the copyright notice
                     19: and this notice must be preserved on all copies.  */
                     20: 
                     21: 
                     22: #define ISI68K
                     23: 
                     24: /* The following three symbols give information on
                     25:  the size of various data types.  */
                     26: 
                     27: #define SHORTBITS 16           /* Number of bits in a short */
                     28: 
                     29: #define INTBITS 32             /* Number of bits in an int */
                     30: 
                     31: #define LONGBITS 32            /* Number of bits in a long */
                     32: 
                     33: /* 68000 has lowest-numbered byte as most significant */
                     34: 
                     35: #define BIG_ENDIAN
                     36: 
                     37: /* Define how to take a char and sign-extend into an int.
                     38:    On machines where char is signed, this is a no-op.  */
                     39: 
                     40: #define SIGN_EXTEND_CHAR(c) (c)
                     41: 
                     42: /* Say this machine is a 68000 */
                     43: 
                     44: #define m68000
                     45: 
                     46: /* Use type int rather than a union, to represent Lisp_Object */
                     47: 
                     48: #define NO_UNION_TYPE
                     49: 
                     50: /* XINT must explicitly sign-extend */
                     51: 
                     52: #define EXPLICIT_SIGN_EXTEND
                     53: 
                     54: /* Data type of load average, as read out of kmem.  */
                     55: 
                     56: #ifdef BSD4_3
                     57: #define LOAD_AVE_TYPE long
                     58: #else
                     59: #define LOAD_AVE_TYPE double
                     60: #endif BSD4_3
                     61: 
                     62: /* Convert that into an integer that is 100 for a load average of 1.0  */
                     63: 
                     64: #ifdef BSD4_3
                     65: #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
                     66: #else
                     67: #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
                     68: #endif
                     69: 
                     70: /* Mask for address bits within a memory segment */
                     71: 
                     72: #define SEGMENT_MASK 0x1ffff
                     73: 
                     74: /* use the -20 switch to get the 68020 code */
                     75: /* #define C_SWITCH_MACHINE -20 */
                     76: 
                     77: /* Use the version of the library for the 68020
                     78:    because the standard library requires some special hacks in crt0
                     79:    which the GNU crt0 does not have.  */
                     80: 
                     81: #define LIB_STANDARD -lmc
                     82: 
                     83: /* macros to make unexec work right */
                     84: 
                     85: #define A_TEXT_OFFSET(HDR) sizeof(HDR)
                     86: #define A_TEXT_SEEK(HDR) sizeof(HDR)
                     87: 
                     88: /* A few changes for the newer systems.  */
                     89: 
                     90: #ifdef BSD4_3
                     91: #define HAVE_ALLOCA
                     92: /* The following line affects crt0.c.  */
                     93: #undef m68k
                     94: 
                     95: #undef LIB_STANDARD
                     96: #define LIB_STANDARD -lmc -lc
                     97: #define C_DEBUG_SWITCH -20 -O -X23
                     98: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.