home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / lisp / gcl-1.000 / gcl-1 / gcl-1.0 / h / symmetry.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-14  |  1.4 KB  |  56 lines

  1. /* Machine-specific header declarations for Sequent Symmetry/DYNIX-3.0.12+ */
  2. /* by Marion Hakanson <hakanson@cse.ogi.edu>, Oregon Graduate Institute.   */
  3. /* $Id: symmetry.h,v 1.3 90/11/07 15:19:42 hakanson Exp $ */
  4.  
  5. extern char etext;
  6.  
  7. #define SEQ
  8. #define SEQUENT
  9. #define SYMMETRY
  10. #define I386
  11. #include "bsd.h"
  12. #undef    SFASL
  13. /* the symmetry has non standard sigvec.
  14. could change main.c or alternately:
  15.  
  16. + #ifdef SEQUENT
  17. +   vec.sv_onstack = (signo == SIGSEGV || signo == SIGBUS);
  18. + #else  
  19.     vec.sv_flags =  (signo == SIGSEGV || signo == SIGBUS ? SV_ONSTACK : 0);
  20.   #endif  
  21. */   
  22. #undef HAVE_SIGVEC
  23.  
  24. /* what would be in h/include.h, and not in h/bsd.h */
  25. #define    IEEEFLOAT
  26.  
  27. #define ADDITIONAL_FEATURES \
  28.              ADD_FEATURE("SEQ"); \
  29.              ADD_FEATURE("SEQUENT"); \
  30.              ADD_FEATURE("SYMMETRY"); \
  31.              ADD_FEATURE("I386");
  32.  
  33.  
  34. #define    TXTRELOC    N_ADDRADJ(header)    /* from a.out.h */
  35.  
  36. #define DATA_BEGIN (char *)(N_DATAOFF(header) + N_ADDRADJ(header));
  37.  
  38. /* width of page size that can be memory protected log2(getpagesize()) */
  39. /* Also used in h/object.h to declare PAGESIZE, as used in h/bsd.h,
  40.    as well as in much of the memory allocation code.  This ensures
  41.    that the sbrk() boundary is on an even page, for creating a proper
  42.    executable image. */
  43.    
  44. #define PAGEWIDTH 12 
  45.  
  46. #undef   FILECPY_HEADER
  47. #define FILECPY_HEADER \
  48.     filecpy(save, original, header.a_text \
  49.                 - N_ADDRADJ(header) \
  50.                 - sizeof(header));
  51.  
  52. /* Begin for cmpinclude */
  53.  
  54.  
  55. /* End for cmpinclude */
  56.