1/* machine description file for Elxsi machine (running enix). 2 Copyright (C) 1986, 1992, 2001, 2002, 2003, 2004, 3 2005, 2006, 2007 Free Software Foundation, Inc. 4 Adapted by John Salmon 5 6This file is part of GNU Emacs. 7 8GNU Emacs is free software; you can redistribute it and/or modify 9it under the terms of the GNU General Public License as published by 10the Free Software Foundation; either version 2, or (at your option) 11any later version. 12 13GNU Emacs is distributed in the hope that it will be useful, 14but WITHOUT ANY WARRANTY; without even the implied warranty of 15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16GNU General Public License for more details. 17 18You should have received a copy of the GNU General Public License 19along with GNU Emacs; see the file COPYING. If not, write to 20the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 21Boston, MA 02110-1301, USA. */ 22 23/* The following line tells the configuration script what sort of 24 operating system this machine is likely to run. 25 USUAL-OPSYS="usg5-2" */ 26 27/* This file was modified by Matt Crawford <matt@tank.uchicago.edu> 28 to work under Elxsi's 12.0 release of BSD unix. */ 29 30/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word 31 is the most significant byte. */ 32 33#undef WORDS_BIG_ENDIAN 34 35/* Define NO_ARG_ARRAY if you cannot take the address of the first of a 36 * group of arguments and treat it as an array of the arguments. */ 37 38/*#define NO_ARG_ARRAY */ 39 40/* Define WORD_MACHINE if addresses and such have 41 * to be corrected before they can be used as byte counts. */ 42 43/*#define WORD_MACHINE */ 44 45/* Now define a symbol for the cpu type, if your compiler 46 does not define it automatically: 47 vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO 48 are the ones defined so far. */ 49 50#ifndef elxsi 51#define elxsi 52#endif 53 54/* Use type int rather than a union, to represent Lisp_Object */ 55/* This is desirable for most machines. */ 56 57#define NO_UNION_TYPE 58 59/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend 60 the 24-bit bit field into an int. In other words, if bit fields 61 are always unsigned. 62 63 If you use NO_UNION_TYPE, this flag does not matter. */ 64 65#define EXPLICIT_SIGN_EXTEND 66 67 68/* Name of kernel load average variable */ 69 70#undef LDAV_SYMBOL 71#define LDAV_SYMBOL "avenrun" 72 73/* Data type of load average, as read out of kmem. */ 74 75#define LOAD_AVE_TYPE double 76 77/* Convert that into an integer that is 100 for a load average of 1.0 */ 78 79#define LOAD_AVE_CVT(x) (int) ((x) * 100.0) 80 81/* Define CANNOT_DUMP on machines where unexec does not work. 82 Then the function dump-emacs will not be defined 83 and temacs will do (load "loadup") automatically unless told otherwise. 84 85 Earlier versions couldn't dump. 86 Changes for 12.0 release are in 19.1. 87 Dumping should work now. */ 88 89/* #define CANNOT_DUMP */ 90 91/* Define VIRT_ADDR_VARIES if the virtual addresses of 92 pure and impure space as loaded can vary, and even their 93 relative order cannot be relied on. 94 95 Otherwise Emacs assumes that text space precedes data space, 96 numerically. */ 97 98/* #define VIRT_ADDR_VARIES */ 99 100/* Define NO_REMAP if memory segmentation makes it not work well 101 to change the boundary between the text section and data section 102 when Emacs is dumped. If you define this, the preloaded Lisp 103 code will not be sharable; but that's better than failing completely. */ 104/*#define NO_REMAP*/ 105 106/* This is a guess for an alternate solution to whatever 107 problem motivated defining _sobuf in sysdep,c with extern char *_sobuf. */ 108#define _sobuf xsobuf 109 110/* Address of start of text segment as loaded. */ 111 112#define TEXT_START 0x800 113 114/* Tell crt0.c not to define environ. */ 115 116#define DONT_NEED_ENVIRON 117 118/* The elxsi has no debugger, so might as well optimize instead 119 of trying to make a symbol table. */ 120 121#define C_DEBUG_SWITCH -O 122 123/* Elxsi uses COFF under both Sys V and BSD environments */ 124 125#define COFF 126 127#define ADJUST_EXEC_HEADER {\ 128extern int _init_brk;\ 129_init_brk = bss_start;\ 130} 131 132/* arch-tag: 73bf1120-a994-4c29-8d60-af425d8bf10c 133 (do not change this comment) */ 134