Annotation of 43BSD/contrib/emacs/src/m-nu.h, revision 1.1.1.1

1.1       root        1: /* m- file for TI Nu machines using system V.
                      2:    Note that Emacs does not really work on the Nu yet
                      3:    as the kernel can't even load and start it.
                      4:    Copyright (C) 1985 Richard M. Stallman.
                      5: 
                      6: This file is part of GNU Emacs.
                      7: 
                      8: GNU Emacs is distributed in the hope that it will be useful,
                      9: but WITHOUT ANY WARRANTY.  No author or distributor
                     10: accepts responsibility to anyone for the consequences of using it
                     11: or for whether it serves any particular purpose or works at all,
                     12: unless he says so in writing.  Refer to the GNU Emacs General Public
                     13: License for full details.
                     14: 
                     15: Everyone is granted permission to copy, modify and redistribute
                     16: GNU Emacs, but only under the conditions described in the
                     17: GNU Emacs General Public License.   A copy of this license is
                     18: supposed to have been given to you along with GNU Emacs so you
                     19: can know your rights and responsibilities.  It should be in a
                     20: file named COPYING.  Among other things, the copyright notice
                     21: and this notice must be preserved on all copies.  */
                     22: 
                     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: /* Define BIG_ENDIAN iff lowest-numbered byte in a word
                     34:    is the most significant byte.  */
                     35: 
                     36: #define BIG_ENDIAN
                     37: 
                     38: /* XINT must explicitly sign-extend */
                     39: 
                     40: #define EXPLICIT_SIGN_EXTEND
                     41: 
                     42: /* Define how to take a char and sign-extend into an int.
                     43:    On machines where char is signed, this is a no-op.  */
                     44: 
                     45: #define SIGN_EXTEND_CHAR(c) (c)
                     46: 
                     47: /* Use type int rather than a union, to represent Lisp_Object */
                     48: 
                     49: #define NO_UNION_TYPE
                     50: 
                     51: /* Now define a symbol for the cpu type, if your compiler
                     52:    does not define it automatically:
                     53:    vax, m68000, ns16000 are the ones defined so far.  */
                     54: 
                     55: #ifndef m68000
                     56: #define m68000
                     57: #endif
                     58: 
                     59: /* Data type of load average, as read out of kmem.  */
                     60: /* These are commented out since it does not really work in uniplus */
                     61:   
                     62: /* #define LOAD_AVE_TYPE long */
                     63: 
                     64: /* Convert that into an integer that is 100 for a load average of 1.0  */
                     65: 
                     66: /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */
                     67: 
                     68: /* Change some things to avoid bugs in compiler */
                     69: 
                     70: #define SWITCH_ENUM_BUG 1
                     71: 
                     72: /* The NU machine has a compiler that can handle long names.  */
                     73: 
                     74: #undef SHORTNAMES

unix.superglobalmegacorp.com

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