File: symmetry.h

package info (click to toggle)
gcl 2.6.7%2Bdfsga-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 84,796 kB
  • sloc: ansic: 452,686; lisp: 156,133; asm: 111,405; sh: 29,299; cpp: 18,599; perl: 5,602; makefile: 5,201; tcl: 3,181; sed: 469; yacc: 378; lex: 174; fortran: 48; awk: 30; csh: 23
file content (55 lines) | stat: -rwxr-xr-x 1,482 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* Machine-specific header declarations for Sequent Symmetry/DYNIX-3.0.12+ */
/* by Marion Hakanson <hakanson@cse.ogi.edu>, Oregon Graduate Institute.   */
/* $Id: symmetry.h,v 1.3 90/11/07 15:19:42 hakanson Exp $ */

extern char etext;

#define SEQ
#define SEQUENT
#define SYMMETRY
#define I386
#include "bsd.h"
#undef	SFASL
/* the symmetry has non standard sigvec.
could change main.c or alternately:

+ #ifdef SEQUENT
+   vec.sv_onstack = (signo == SIGSEGV || signo == SIGBUS);
+ #else  
    vec.sv_flags =  (signo == SIGSEGV || signo == SIGBUS ? SV_ONSTACK : 0);
  #endif  
*/   
#undef HAVE_SIGVEC

/* what would be in h/include.h, and not in h/bsd.h */
#define	IEEEFLOAT

#define ADDITIONAL_FEATURES \
		     ADD_FEATURE("SEQ"); \
		     ADD_FEATURE("SEQUENT"); \
		     ADD_FEATURE("SYMMETRY"); \
		     ADD_FEATURE("I386");


#define	TXTRELOC	N_ADDRADJ(header)	/* from a.out.h */

#define DATA_BEGIN (char *)(N_DATAOFF(header) + N_ADDRADJ(header));

/* width of page size that can be memory protected log2(getpagesize()) */
/* Also used in h/object.h to declare PAGESIZE, as used in h/bsd.h,
   as well as in much of the memory allocation code.  This ensures
   that the sbrk() boundary is on an even page, for creating a proper
   executable image. */
   
#define PAGEWIDTH 12 

#undef   FILECPY_HEADER
#define FILECPY_HEADER \
	filecpy(save, original, header.a_text \
				- N_ADDRADJ(header) \
				- sizeof(header));

/* Begin for cmpinclude */


/* End for cmpinclude */