/[emacs]/emacs/src/m/hp800.h
ViewVC logotype

Diff of /emacs/src/m/hp800.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by erik, Mon Jan 15 09:15:02 1996 UTC revision 1.16 by rms, Tue Dec 11 06:34:37 2001 UTC
# Line 85  Boston, MA 02111-1307, USA.  */ Line 85  Boston, MA 02111-1307, USA.  */
85  #define bcmp            memcmp  #define bcmp            memcmp
86  #endif  #endif
87    
88  #ifdef __hpux  /* Common definitions for HPUX and GNU/Linux.  */
89    
90    #if defined (__hpux) || defined (GNU_LINUX)
91  /* Now define a symbol for the cpu type, if your compiler  /* Now define a symbol for the cpu type, if your compiler
92     does not define it automatically:     does not define it automatically:
93     Ones defined so far include vax, m68000, ns16000, pyramid,     Ones defined so far include vax, m68000, ns16000, pyramid,
# Line 94  Boston, MA 02111-1307, USA.  */ Line 96  Boston, MA 02111-1307, USA.  */
96  #     define hp9000s800  #     define hp9000s800
97  #endif  #endif
98    
99    /* Define CANNOT_DUMP on machines where unexec does not work.
100       Then the function dump-emacs will not be defined
101       and temacs will do (load "loadup") automatically unless told otherwise.  */
102    
103    #undef CANNOT_DUMP
104    
105    #define STACK_DIRECTION 1
106    
107    /* Define NO_REMAP if memory segmentation makes it not work well
108       to change the boundary between the text section and data section
109       when Emacs is dumped.  If you define this, the preloaded Lisp
110       code will not be sharable; but that's better than failing completely.  */
111    
112    #define NO_REMAP
113    
114    #endif /* __hpux or GNU_LINUX */
115    
116    /* Stuff for just GNU/Linux.  */
117    
118    #ifdef GNU_LINUX
119    
120    #define HAVE_ALLOCA
121    
122  /* Data type of load average, as read out of kmem.  */  /* Data type of load average, as read out of kmem.  */
123    
124  #define LOAD_AVE_TYPE double  #define LOAD_AVE_TYPE long
125    
126  /* Convert that into an integer that is 100 for a load average of 1.0  */  /* Convert that into an integer that is 100 for a load average of 1.0  */
127    
128  #define LOAD_AVE_CVT(x) ((int) (x * 100.0))  #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
   
129    
130  /* Define CANNOT_DUMP on machines where unexec does not work.  #endif /* GNU_LINUX */
131     Then the function dump-emacs will not be defined  
132     and temacs will do (load "loadup") automatically unless told otherwise.  */  /* Stuff for just HPUX.  */
133    
134  #undef CANNOT_DUMP  #ifdef __hpux
135    
136  /* Define VIRT_ADDR_VARIES if the virtual addresses of  /* Define VIRT_ADDR_VARIES if the virtual addresses of
137     pure and impure space as loaded can vary, and even their     pure and impure space as loaded can vary, and even their
# Line 135  Boston, MA 02111-1307, USA.  */ Line 159  Boston, MA 02111-1307, USA.  */
159  #define DATA_START    0x40000000  #define DATA_START    0x40000000
160  #define TEXT_START    0x00000000  #define TEXT_START    0x00000000
161    
 #define STACK_DIRECTION 1  
   
 /* Define NO_REMAP if memory segmentation makes it not work well  
    to change the boundary between the text section and data section  
    when Emacs is dumped.  If you define this, the preloaded Lisp  
    code will not be sharable; but that's better than failing completely.  */  
   
 #define NO_REMAP  
   
162  /* This machine requires completely different unexec code  /* This machine requires completely different unexec code
163     which lives in a separate file.  Specify the file name.  */     which lives in a separate file.  Specify the file name.  */
164    
# Line 154  Boston, MA 02111-1307, USA.  */ Line 169  Boston, MA 02111-1307, USA.  */
169    
170  /* Include the file bsdtty.h, since this machine has job control.  */  /* Include the file bsdtty.h, since this machine has job control.  */
171  #define NEED_BSDTTY  #define NEED_BSDTTY
172    
173    /* Data type of load average, as read out of kmem.  */
174    
175    #define LOAD_AVE_TYPE double
176    
177    /* Convert that into an integer that is 100 for a load average of 1.0  */
178    
179    #define LOAD_AVE_CVT(x) ((int) (x * 100.0))
180    
181  /* The symbol in the kernel where the load average is found  /* The symbol in the kernel where the load average is found
182     is named _avenrun.  At this time there are two major flavors     is named _avenrun.  At this time there are two major flavors
183     of hp-ux (there is the s800 and s300 (s200) flavors).  The     of hp-ux (there is the s800 and s300 (s200) flavors).  The

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26