diff options
| author | Jim Blandy | 1991-12-13 18:50:18 +0000 |
|---|---|---|
| committer | Jim Blandy | 1991-12-13 18:50:18 +0000 |
| commit | 9b71f02b8a03ec8b8d0f5e4053a76e8f71920a57 (patch) | |
| tree | 4cb729aa379a5b81906065849777be98ed8e8c74 /src/m | |
| parent | 20c428fd9d239eca0a835e3b0fe2629e789ce562 (diff) | |
| download | emacs-9b71f02b8a03ec8b8d0f5e4053a76e8f71920a57.tar.gz emacs-9b71f02b8a03ec8b8d0f5e4053a76e8f71920a57.zip | |
entered into RCS
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/alliant1.h | 9 | ||||
| -rw-r--r-- | src/m/alliant4.h | 24 | ||||
| -rw-r--r-- | src/m/gould-np1.h | 87 | ||||
| -rw-r--r-- | src/m/is386.h | 27 | ||||
| -rw-r--r-- | src/m/news-risc.h | 21 | ||||
| -rw-r--r-- | src/m/sgi3000.h | 1 | ||||
| -rw-r--r-- | src/m/sun3-68881.h | 28 | ||||
| -rw-r--r-- | src/m/sun3-fpa.h | 28 | ||||
| -rw-r--r-- | src/m/sun3-soft.h | 29 | ||||
| -rw-r--r-- | src/m/sun3.h | 50 | ||||
| -rw-r--r-- | src/m/sun386.h | 75 | ||||
| -rw-r--r-- | src/m/symmetry.h | 103 | ||||
| -rw-r--r-- | src/m/tandem-s2.h | 24 |
13 files changed, 506 insertions, 0 deletions
diff --git a/src/m/alliant1.h b/src/m/alliant1.h new file mode 100644 index 00000000000..95f56cf1804 --- /dev/null +++ b/src/m/alliant1.h | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | /* config.h should include this file for version 1 of Alliant's | ||
| 2 | operating system. */ | ||
| 3 | |||
| 4 | /* The following line tells the configuration script what sort of | ||
| 5 | operating system this machine is likely to run. | ||
| 6 | USUAL-OPSYS="bsd4-2" */ | ||
| 7 | |||
| 8 | #define ALLIANT_1 | ||
| 9 | #include "alliant.h" | ||
diff --git a/src/m/alliant4.h b/src/m/alliant4.h new file mode 100644 index 00000000000..ade3dbbaae5 --- /dev/null +++ b/src/m/alliant4.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* machine description file for Alliant Concentrix 4.0 or later. | ||
| 2 | Use alliant.h for versions 2 and 3. */ | ||
| 3 | |||
| 4 | /* The following line tells the configuration script what sort of | ||
| 5 | operating system this machine is likely to run. | ||
| 6 | USUAL-OPSYS="bsd4-2" */ | ||
| 7 | |||
| 8 | #include "alliant.h" | ||
| 9 | |||
| 10 | /* Concentrix uses a different kernel symbol for load average. */ | ||
| 11 | |||
| 12 | #undef LDAV_SYMBOL /* Undo definition in s-bsd4-2.h */ | ||
| 13 | #define LDAV_SYMBOL "_Loadavg" | ||
| 14 | |||
| 15 | /* Data type of load average, as read out of kmem. */ | ||
| 16 | |||
| 17 | #define LOAD_AVE_TYPE long | ||
| 18 | |||
| 19 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 20 | |||
| 21 | #define LOAD_AVE_CVT(x) (x * 100 / LOADAVG_SCALE) | ||
| 22 | |||
| 23 | /* include <sys/param.h> for the definition of LOADAVG_SCALE, and also | ||
| 24 | LOADAVG_SIZE, the number of items in the Loadavg array. */ | ||
diff --git a/src/m/gould-np1.h b/src/m/gould-np1.h new file mode 100644 index 00000000000..014fa68fb53 --- /dev/null +++ b/src/m/gould-np1.h | |||
| @@ -0,0 +1,87 @@ | |||
| 1 | /* machine description file for Gould NP1 with UTX/32 3.0 (first release for NP1). */ | ||
| 2 | |||
| 3 | /* The following line tells the configuration script what sort of | ||
| 4 | operating system this machine is likely to run. | ||
| 5 | USUAL-OPSYS="bsd4-3" */ | ||
| 6 | |||
| 7 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 8 | preprocessor symbol "COFF". */ | ||
| 9 | /* UTX 3.0 uses a cross between COFF and a.out format, but closer to COFF. */ | ||
| 10 | /* at least currently, already defined by cpp, but make sure */ | ||
| 11 | #ifndef COFF | ||
| 12 | #define COFF | ||
| 13 | #endif COFF | ||
| 14 | |||
| 15 | #include "gould.h" | ||
| 16 | |||
| 17 | /* undefine what gould.h defined */ | ||
| 18 | #undef ADJUST_EXEC_HEADER | ||
| 19 | |||
| 20 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 21 | preprocessor symbol "COFF". */ | ||
| 22 | /* UTX 3.0 uses a cross between COFF and a.out format, but closer to COFF. */ | ||
| 23 | #ifndef COFF /* at least currently, already defined by cpp */ | ||
| 24 | #define COFF | ||
| 25 | #endif COFF | ||
| 26 | |||
| 27 | /* make Gould NP1 and PN COFF look like USG COFF */ | ||
| 28 | /* NP1 COFF */ | ||
| 29 | #undef aouthdr /* Since gould.h already defined these */ | ||
| 30 | #undef a_dtbase | ||
| 31 | |||
| 32 | #ifdef IN_UNEXEC | ||
| 33 | #define aouthdr exec | ||
| 34 | #define ADJUST_TEXT_SCNHDR_SIZE | ||
| 35 | |||
| 36 | /* Gould COFF - these are already defined in gould.h */ | ||
| 37 | /* | ||
| 38 | * #define COFF_WITH_BSD_SYMTAB | ||
| 39 | * #define HEADER_INCL_IN_TEXT | ||
| 40 | * #define magic a_magic | ||
| 41 | * #define tsize a_text | ||
| 42 | * #define dsize a_data | ||
| 43 | * #define bsize a_bss | ||
| 44 | * #define entry a_entry | ||
| 45 | * #define text_start a_txbase | ||
| 46 | * #define data_start a_dtbase | ||
| 47 | */ | ||
| 48 | /* End Gould COFF */ | ||
| 49 | #endif /* IN_UNEXEC */ | ||
| 50 | |||
| 51 | /* NP1 supports a slightly different set than PowerNode */ | ||
| 52 | #define BAUD_CONVERT { 0, 50, 75, 110, 134, 150, 300, 450, 600, 1200, \ | ||
| 53 | 1800, 2000, 2400, 3600, 4800, 7200, 9600, \ | ||
| 54 | 19200, 38400 } | ||
| 55 | |||
| 56 | #define LD_SWITCH_SYSTEM -BS -e start | ||
| 57 | |||
| 58 | /* Undef C_DEBUG_SWITCH because it may have been set in gould.h */ | ||
| 59 | /* It will compile and load and works with dbx. Runs under an incomplete | ||
| 60 | port of gdb, but gdb doesn't always find things correctly. */ | ||
| 61 | #undef C_DEBUG_SWITCH | ||
| 62 | #define C_DEBUG_SWITCH -g | ||
| 63 | #define LIBS_DEBUG -lg | ||
| 64 | |||
| 65 | |||
| 66 | /* The data segment in this machine always starts at address 0x1000000 = 16M. | ||
| 67 | An address of data cannot be stored correctly in a Lisp object; | ||
| 68 | we always lose the high bits. We must tell XPNTR to add them back. */ | ||
| 69 | |||
| 70 | #define DATA_SEG_BITS 0x1000000 | ||
| 71 | #define DATA_START 0x1000000 | ||
| 72 | |||
| 73 | /* The text segment always starts at 0. | ||
| 74 | This way we don't need to have a label _start defined. */ | ||
| 75 | #define TEXT_START 0 | ||
| 76 | |||
| 77 | /* Data isn't right next to text on an NP1 */ | ||
| 78 | #define NO_REMAP | ||
| 79 | |||
| 80 | /* The bcopy bug has reappeared */ | ||
| 81 | #undef BSTRING | ||
| 82 | |||
| 83 | #ifndef GOULD_NP1 | ||
| 84 | #define GOULD_NP1 | ||
| 85 | #endif | ||
| 86 | |||
| 87 | |||
diff --git a/src/m/is386.h b/src/m/is386.h new file mode 100644 index 00000000000..45f9273e910 --- /dev/null +++ b/src/m/is386.h | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* machine description file for Integrated Solutions 386 machine. */ | ||
| 2 | |||
| 3 | #include "intel386.h" | ||
| 4 | |||
| 5 | /* The following line tells the configuration script what sort of | ||
| 6 | operating system this machine is likely to run. | ||
| 7 | USUAL-OPSYS="note" | ||
| 8 | |||
| 9 | NOTE-START | ||
| 10 | Intel 386 (-machine=intel386 or -machine=is386.h) | ||
| 11 | |||
| 12 | The possibilities for -opsystem are: bsd4-2, usg5-2-2, usg5-3, | ||
| 13 | isc2-2, 386-ix, esix, or xenix. | ||
| 14 | |||
| 15 | 18.58 should support a wide variety of operating systems. | ||
| 16 | Use isc2-2 for Interactive 386/ix version 2.2. | ||
| 17 | Use 386ix for prior versions. | ||
| 18 | Use esix for Esix. It isn't clear what to do on an SCO system. | ||
| 19 | |||
| 20 | -machine=is386 is used for an Integrated Solutions 386 machine. | ||
| 21 | It may also be correct for Microport systems. | ||
| 22 | NOTE-END */ | ||
| 23 | |||
| 24 | #define LIBX10_MACHINE -lnsl_s | ||
| 25 | #define LIBX11_MACHINE -lnsl_s | ||
| 26 | |||
| 27 | #define LIBS_DEBUG -lg | ||
diff --git a/src/m/news-risc.h b/src/m/news-risc.h new file mode 100644 index 00000000000..a74babceac1 --- /dev/null +++ b/src/m/news-risc.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* news-risc.h is for the "RISC News". */ | ||
| 2 | |||
| 3 | #include "mips.h" | ||
| 4 | #undef LIBS_MACHINE | ||
| 5 | |||
| 6 | /* The following line tells the configuration script what sort of | ||
| 7 | operating system this machine is likely to run. | ||
| 8 | USUAL-OPSYS="bsd4-3" */ | ||
| 9 | |||
| 10 | #define LIBS_MACHINE -lmld | ||
| 11 | |||
| 12 | #define COFF | ||
| 13 | #undef LD_SWITCH_MACHINE | ||
| 14 | #define LD_SWITCH_MACHINE -x -D 800000 | ||
| 15 | |||
| 16 | /* #define C_OPTIMIZE_SWITCH -O2 */ | ||
| 17 | #define C_OPTIMIZE_SWITCH -O | ||
| 18 | |||
| 19 | #define C_DEBUG_SWITCH -g3 | ||
| 20 | |||
| 21 | #undef TERMINFO | ||
diff --git a/src/m/sgi3000.h b/src/m/sgi3000.h new file mode 100644 index 00000000000..79249b61911 --- /dev/null +++ b/src/m/sgi3000.h | |||
| @@ -0,0 +1 @@ | |||
| #include "irist.h" | |||
diff --git a/src/m/sun3-68881.h b/src/m/sun3-68881.h new file mode 100644 index 00000000000..b74758fa4fc --- /dev/null +++ b/src/m/sun3-68881.h | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | /* sun3-68881.h, for a Sun 3, using the 68881. */ | ||
| 2 | |||
| 3 | #include "sun3.h" | ||
| 4 | |||
| 5 | /* The following line tells the configuration script what sort of | ||
| 6 | operating system this machine is likely to run. | ||
| 7 | USUAL-OPSYS="note" | ||
| 8 | |||
| 9 | NOTE-START | ||
| 10 | Sun with 68881 co-processor (-machine=sun3-68881; | ||
| 11 | -opsystem=bsd4-2 or -opsystem=sunos4) | ||
| 12 | |||
| 13 | Versions 1, 2, and 3 of the operating system are derived from | ||
| 14 | Berkeley 4.2, meaning that you should use -opsystem=bsd4-2. | ||
| 15 | |||
| 16 | For SunOS release 4 on a Sun 3 with a 68881, use -machine=sun3-68881 | ||
| 17 | and -opsystem=sunos4. See the file share-lib/SUNBUG for how to | ||
| 18 | solve problems caused by bugs in the "export" version of SunOS 4. | ||
| 19 | NOTE-END */ | ||
| 20 | |||
| 21 | /* In case we are using floating point, work together with crt0.c. */ | ||
| 22 | |||
| 23 | #ifndef __GNUC__ | ||
| 24 | #define C_SWITCH_MACHINE -f68881 | ||
| 25 | #endif | ||
| 26 | |||
| 27 | #define sun_68881 | ||
| 28 | #define START_FILES crt0.o /usr/lib/Mcrt1.o | ||
diff --git a/src/m/sun3-fpa.h b/src/m/sun3-fpa.h new file mode 100644 index 00000000000..da959cac361 --- /dev/null +++ b/src/m/sun3-fpa.h | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | /* sun3-fpa.h, for a Sun 3, using the Sun fpa. */ | ||
| 2 | |||
| 3 | #include "sun3.h" | ||
| 4 | |||
| 5 | /* The following line tells the configuration script what sort of | ||
| 6 | operating system this machine is likely to run. | ||
| 7 | USUAL-OPSYS="note" | ||
| 8 | |||
| 9 | NOTE-START | ||
| 10 | Sun with FPA co-processor (-machine=sun3-fpa; | ||
| 11 | -opsystem=bsd4-2 or -opsystem=sunos4) | ||
| 12 | |||
| 13 | Versions 1, 2, and 3 of the operating system are derived from | ||
| 14 | Berkeley 4.2, meaning that you should use -opsystem=bsd4-2. | ||
| 15 | |||
| 16 | For SunOS release 4 on a Sun 3 with an FPA, use -machine=sun3-fpa | ||
| 17 | and -opsystem=sunos4. See the file share-lib/SUNBUG for how to | ||
| 18 | solve problems caused by bugs in the "export" version of SunOS 4. | ||
| 19 | NOTE-END */ | ||
| 20 | |||
| 21 | /* In case we are using floating point, work together with crt0.c. */ | ||
| 22 | |||
| 23 | #ifndef __GNUC__ | ||
| 24 | #define C_SWITCH_MACHINE -ffpa | ||
| 25 | #endif | ||
| 26 | |||
| 27 | #define sun_fpa | ||
| 28 | #define START_FILES crt0.o /usr/lib/Wcrt1.o | ||
diff --git a/src/m/sun3-soft.h b/src/m/sun3-soft.h new file mode 100644 index 00000000000..05a1e9e7f49 --- /dev/null +++ b/src/m/sun3-soft.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | /* sun3-soft.h, for a Sun 3, using the Sun with software floating point. */ | ||
| 2 | |||
| 3 | #include "sun3.h" | ||
| 4 | |||
| 5 | /* The following line tells the configuration script what sort of | ||
| 6 | operating system this machine is likely to run. | ||
| 7 | USUAL-OPSYS="note" | ||
| 8 | |||
| 9 | NOTE-START | ||
| 10 | Sun with software floating point (-machine=sun3-soft; | ||
| 11 | -opsystem=bsd4-2 or -opsystem=sunos4) | ||
| 12 | |||
| 13 | Versions 1, 2, and 3 of the operating system are derived from | ||
| 14 | Berkeley 4.2, meaning that you should use -opsystem=bsd4-2. | ||
| 15 | |||
| 16 | If you want to use software floating point on SunOS release 4 on a | ||
| 17 | Sun 3, use -machine=sun3-68881 and -opsystem=sunos4. See the file | ||
| 18 | share-lib/SUNBUG for how to solve problems caused by bugs in the | ||
| 19 | "export" version of SunOS 4. | ||
| 20 | NOTE-END */ | ||
| 21 | |||
| 22 | /* In case we are using floating point, work together with crt0.c. */ | ||
| 23 | |||
| 24 | #ifndef __GNUC__ | ||
| 25 | #define C_SWITCH_MACHINE -fsoft | ||
| 26 | #endif | ||
| 27 | |||
| 28 | #define sun_soft | ||
| 29 | #define START_FILES crt0.o /usr/lib/Fcrt1.o | ||
diff --git a/src/m/sun3.h b/src/m/sun3.h new file mode 100644 index 00000000000..b20889c25b8 --- /dev/null +++ b/src/m/sun3.h | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | /* machine description file for Sun 68000's OPERATING SYSTEM version 3 | ||
| 2 | (for either 68000 or 68020 systems). */ | ||
| 3 | |||
| 4 | #include "sun2.h" | ||
| 5 | #undef sun2 | ||
| 6 | #ifndef sun3 | ||
| 7 | #define sun3 | ||
| 8 | #endif | ||
| 9 | |||
| 10 | /* The following line tells the configuration script what sort of | ||
| 11 | operating system this machine is likely to run. | ||
| 12 | USUAL-OPSYS="note" | ||
| 13 | |||
| 14 | NOTE-START | ||
| 15 | Sun 1, 2 and 3 (-machine=sun1, -machine=sun2, -machine=sun3; | ||
| 16 | -opsystem=bsd4-2 or -opsystem=sunos4) | ||
| 17 | |||
| 18 | Whether you should use sun1, sun2 or sun3 depends on the | ||
| 19 | VERSION OF THE OPERATING SYSTEM | ||
| 20 | you have. There are three machine types for different versions of | ||
| 21 | SunOS. All are derived from Berkeley 4.2, meaning that you should | ||
| 22 | use -opsystem=bsd4-2. Emacs 17 has run on all of them. You will | ||
| 23 | need to use sun3 on Sun 2's running SunOS release 3. | ||
| 24 | |||
| 25 | For SunOS release 4 on a Sun 3, use -machine=sun3 and | ||
| 26 | -opsystem=sunos4. See the file share-lib/SUNBUG for how to solve | ||
| 27 | problems caused by bugs in the "export" version of SunOS 4. | ||
| 28 | NOTE-END */ | ||
| 29 | |||
| 30 | /* Say that the text segment of a.out includes the header; | ||
| 31 | the header actually occupies the first few bytes of the text segment | ||
| 32 | and is counted in hdr.a_text. */ | ||
| 33 | |||
| 34 | #define A_TEXT_OFFSET(HDR) sizeof (HDR) | ||
| 35 | |||
| 36 | /* This is the offset of the executable's text, from the start of the file. */ | ||
| 37 | |||
| 38 | #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) | ||
| 39 | |||
| 40 | /* In case we are using floating point, work together with crt0.c. */ | ||
| 41 | |||
| 42 | #ifndef __GNUC__ | ||
| 43 | #define C_SWITCH_MACHINE -fsoft | ||
| 44 | #endif | ||
| 45 | |||
| 46 | /* This line is needed if you are linking with X windows | ||
| 47 | and the library xlib was compiled to use the 68881. | ||
| 48 | For maximum cleanliness, don't edit this file; | ||
| 49 | instead, insert this line in config.h. */ | ||
| 50 | /* #define START_FILES crt0.o /usr/lib/Mcrt1.o */ | ||
diff --git a/src/m/sun386.h b/src/m/sun386.h new file mode 100644 index 00000000000..1daf25601b5 --- /dev/null +++ b/src/m/sun386.h | |||
| @@ -0,0 +1,75 @@ | |||
| 1 | /* machine description file for Sun's 386-based RoadRunner. This file borrows heavily from | ||
| 2 | "sun2.h", but since that file is heavily cpu-specific, it was easier | ||
| 3 | not to include it. | ||
| 4 | |||
| 5 | Copyright (C) 1988 Free Software Foundation, Inc. | ||
| 6 | |||
| 7 | This file is part of GNU Emacs. | ||
| 8 | |||
| 9 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 1, or (at your option) | ||
| 12 | any later version. | ||
| 13 | |||
| 14 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, 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="note" | ||
| 26 | |||
| 27 | NOTE-START | ||
| 28 | Use s-sunos4-0.h for operating system version 4.0, and s-sunos4-1.h | ||
| 29 | for later versions. See the file share-lib/SUNBUG for how to solve | ||
| 30 | problems caused by bugs in the "export" version of SunOS 4. | ||
| 31 | NOTE-END */ | ||
| 32 | |||
| 33 | /* Say this machine is a bird */ | ||
| 34 | #ifndef roadrunner | ||
| 35 | #define roadrunner | ||
| 36 | #endif | ||
| 37 | |||
| 38 | /* Actual cpu-specific defs */ | ||
| 39 | #include "intel386.h" | ||
| 40 | |||
| 41 | /* Data type of load average, as read out of kmem. */ | ||
| 42 | |||
| 43 | #define LOAD_AVE_TYPE long | ||
| 44 | |||
| 45 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 46 | |||
| 47 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 48 | |||
| 49 | /* Underscores are not prepended to C symbols on this machine. */ | ||
| 50 | #undef LDAV_SYMBOL | ||
| 51 | #define LDAV_SYMBOL "avenrun" | ||
| 52 | |||
| 53 | /* Must use the system's termcap. It does special things. */ | ||
| 54 | |||
| 55 | #define LIBS_TERMCAP -ltermcap | ||
| 56 | |||
| 57 | /* Arrange to link with sun windows, if requested. */ | ||
| 58 | /* For details on emacstool and sunfns, see etc/SUN-SUPPORT */ | ||
| 59 | /* These programs require Sun UNIX 4.2 Release 3.2 or greater */ | ||
| 60 | |||
| 61 | #ifdef HAVE_SUN_WINDOWS | ||
| 62 | #define OTHER_FILES ${etcdir}emacstool | ||
| 63 | #define LIBS_MACHINE -lsuntool -lsunwindow -lpixrect | ||
| 64 | #define OBJECTS_MACHINE sunfns.o | ||
| 65 | #define SYMS_MACHINE syms_of_sunfns () | ||
| 66 | #define PURESIZE 132000 | ||
| 67 | #endif | ||
| 68 | |||
| 69 | /* Roadrunner uses 'COFF' format */ | ||
| 70 | #define COFF | ||
| 71 | |||
| 72 | #define C_SWITCH_MACHINE -Bstatic /* avoid dynamic linking */ | ||
| 73 | #define LD_SWITCH_MACHINE -n -Bstatic | ||
| 74 | /* Get rid of the -e __start that s-sunos4.h does. */ | ||
| 75 | #undef LD_SWITCH_SYSTEM | ||
diff --git a/src/m/symmetry.h b/src/m/symmetry.h new file mode 100644 index 00000000000..d89e5346ef4 --- /dev/null +++ b/src/m/symmetry.h | |||
| @@ -0,0 +1,103 @@ | |||
| 1 | /* machine description file for SEQUENT SYMMETRY machines | ||
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | ||
| 3 | |||
| 4 | This file is part of GNU Emacs. | ||
| 5 | |||
| 6 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 7 | it under the terms of the GNU General Public License as published by | ||
| 8 | the Free Software Foundation; either version 1, or (at your option) | ||
| 9 | any later version. | ||
| 10 | |||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | GNU General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU General Public License | ||
| 17 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 18 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | ||
| 19 | |||
| 20 | /* CHANGE: [Eric H. Herrin II; eric@ms.uky.edu - 15 Sept 1988] | ||
| 21 | * Modified the sequent.h file for the Sequent Symmetry machine. | ||
| 22 | * Biggest change was to align the sections in the a.out to 4K | ||
| 23 | * boundaries (this is the page size). | ||
| 24 | */ | ||
| 25 | |||
| 26 | |||
| 27 | /* NOTICE: this file works for DYNIX release 3.0.12 on Sequent Symmetry | ||
| 28 | * (Intel 80386) machines. Hasn't been tested on anything else. | ||
| 29 | */ | ||
| 30 | |||
| 31 | /* The following line tells the configuration script what sort of | ||
| 32 | operating system this machine is likely to run. | ||
| 33 | USUAL-OPSYS="bsd4-3" */ | ||
| 34 | |||
| 35 | #include "intel386.h" | ||
| 36 | |||
| 37 | /* Data type of load average, as read out of kmem. */ | ||
| 38 | |||
| 39 | #define LOAD_AVE_TYPE unsigned long | ||
| 40 | |||
| 41 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 42 | |||
| 43 | #define FSCALE 1000.0 | ||
| 44 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 45 | |||
| 46 | /* Define C_ALLOCA if this machine does not support a true alloca | ||
| 47 | and the one written in C should be used instead. | ||
| 48 | Define HAVE_ALLOCA to say that the system provides a properly | ||
| 49 | working alloca function and it should be used. | ||
| 50 | Define neither one if an assembler-language alloca | ||
| 51 | in the file alloca.s should be used. */ | ||
| 52 | |||
| 53 | /* #define C_ALLOCA */ | ||
| 54 | /*#define HAVE_ALLOCA*/ | ||
| 55 | |||
| 56 | /* Name of file the to look in | ||
| 57 | for the kernel symbol table (for load average) */ | ||
| 58 | |||
| 59 | #undef KERNEL_FILE | ||
| 60 | #define KERNEL_FILE "/dynix" | ||
| 61 | |||
| 62 | /* define HAVE_GETPAGESIZE for Symmetry */ | ||
| 63 | #define HAVE_GETPAGESIZE | ||
| 64 | |||
| 65 | /* Avoids a compiler bug */ | ||
| 66 | |||
| 67 | #define TAHOE_REGISTER_BUG | ||
| 68 | |||
| 69 | /* Say that the text segment of a.out includes the header; | ||
| 70 | the header actually occupies the first few bytes of the text segment | ||
| 71 | and is counted in hdr.a_text. Furthermore, the value written | ||
| 72 | in the a_text in the file must have N_ADDRADJ added to it. */ | ||
| 73 | |||
| 74 | #define A_TEXT_OFFSET(HDR) (sizeof (HDR) + N_ADDRADJ (HDR)) | ||
| 75 | |||
| 76 | /* This is the offset of the executable's text, from the start of the file. */ | ||
| 77 | |||
| 78 | #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) | ||
| 79 | |||
| 80 | /* The file sections in the Symmetry a.out must be on 4K boundaries. | ||
| 81 | */ | ||
| 82 | #define SEGSIZ 4096 | ||
| 83 | #define SECTION_ALIGNMENT (SEGSIZ-1) | ||
| 84 | |||
| 85 | /* (short) negative-int doesn't sign-extend correctly */ | ||
| 86 | #define SHORT_CAST_BUG | ||
| 87 | |||
| 88 | /* Cause compilations to be done in parallel in ymakefile. */ | ||
| 89 | #define MAKE_PARALLEL & | ||
| 90 | |||
| 91 | /* Define how to search all pty names. | ||
| 92 | This is for Dynix 3.0; delete next 5 definitions for older systems. */ | ||
| 93 | |||
| 94 | #define PTY_MAJOR "pqrstuvwPQRSTUVW" | ||
| 95 | #define PTY_MINOR "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" | ||
| 96 | #define PTY_ITERATION \ | ||
| 97 | register int ma, mi; \ | ||
| 98 | for (ma = 0; ma < sizeof(PTY_MAJOR) - 1; ma++) \ | ||
| 99 | for (mi = 0; mi < sizeof(PTY_MINOR) - 1; mi++) | ||
| 100 | #define PTY_NAME_SPRINTF \ | ||
| 101 | sprintf (ptyname, "/dev/pty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]); | ||
| 102 | #define PTY_TTY_NAME_SPRINTF \ | ||
| 103 | sprintf (ptyname, "/dev/tty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]); | ||
diff --git a/src/m/tandem-s2.h b/src/m/tandem-s2.h new file mode 100644 index 00000000000..7c31225a413 --- /dev/null +++ b/src/m/tandem-s2.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* machine description file for the Tandem Integrity S2. */ | ||
| 2 | |||
| 3 | #include "mips.h" | ||
| 4 | |||
| 5 | /* The following line tells the configuration script what sort of | ||
| 6 | operating system this machine is likely to run. | ||
| 7 | USUAL-OPSYS="usg5-3" */ | ||
| 8 | |||
| 9 | /* This overrides some of the usual support for the mips and system V.3. */ | ||
| 10 | |||
| 11 | /* The S2 does not know about utimes() */ | ||
| 12 | #define USE_UTIME | ||
| 13 | |||
| 14 | /* The operating system apparently defines TIOCGETC | ||
| 15 | but it doesn't work. */ | ||
| 16 | #undef BROKEN_TIOCGETC | ||
| 17 | |||
| 18 | /* rs@ai.mit.edu said this was necessary for it to work. However, some | ||
| 19 | user of this machine ought to try to get subprocesses to work. */ | ||
| 20 | #undef subprocesses | ||
| 21 | |||
| 22 | /* Correct some library file names. */ | ||
| 23 | #define START_FILES pre-crt0.o /usr/lib/crt1.o1.31 | ||
| 24 | #define LIB_STANDARD -lbsd -lc /usr/lib/crtn.o1.31 | ||