~ubuntu-branches/ubuntu/quantal/gclcvs/quantal

« back to all changes in this revision

Viewing changes to h/NeXT32-i386.h

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2004-06-24 15:13:46 UTC
  • Revision ID: james.westby@ubuntu.com-20040624151346-xh0xaaktyyp7aorc
Tags: 2.7.0-26
C_GC_OFFSET is 2 on m68k-linux

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef NeXT
 
2
#define NeXT
 
3
#endif
 
4
#include "bsd.h"
 
5
#undef SFASL
 
6
#undef HAVE_AOUT
 
7
#define NO_UNISTD_H
 
8
 
 
9
#define PAGEWIDTH 12
 
10
 
 
11
/* The following value determines the running process size. */
 
12
#define BIG_HEAP_SIZE   0x1000000
 
13
 
 
14
#undef SET_REAL_MAXPAGE
 
15
#define SET_REAL_MAXPAGE \
 
16
{ extern int mach_maplimit; sbrk(0); real_maxpage = mach_maplimit/PAGESIZE; }
 
17
 
 
18
#define sbrk my_sbrk
 
19
 
 
20
#define ADDITIONAL_FEATURES \
 
21
        ADD_FEATURE("MACH"); \
 
22
        ADD_FEATURE("NeXT"); \
 
23
        ADD_FEATURE("I386"); \
 
24
        ADD_FEATURE("TURBO-CLOSURE"); \
 
25
        ADD_FEATURE("TURBO-CLOSURE-ENV-SIZE")
 
26
 
 
27
#undef  CLEAR_CACHE
 
28
#define UNIXSAVE        "NeXTunixsave.c"
 
29
#define UNIXFASL        "NeXTunixfasl.c"
 
30
 
 
31
#define SEEK_TO_END_OFILE seek_to_end_ofile
 
32
 
 
33
#define I386
 
34
#define IEEEFLOAT
 
35
 
 
36
/* assumption: stack bottom = 0xc0000000 ; stack size = 1MB(0x100000) */
 
37
#define NULL_OR_ON_C_STACK(x) ((x)==0||(((unsigned int)(x)) >= 0xbff00000))
 
38
 
 
39
  /* we can use the system malloc without interference with
 
40
     lisp storage allocation */
 
41
#define DONT_NEED_MALLOC  
 
42
 
 
43
#ifdef IN_MAIN
 
44
#include <fcntl.h>
 
45
#include <sys/stat.h>
 
46
#endif
 
47
 
 
48
#define LITTLE_END
 
49
 
 
50
/* Begin for cmpinclude */
 
51
 
 
52
 
 
53
#ifdef __GNUC__
 
54
#undef __BUILTIN_VA_ARG_INCR
 
55
#endif
 
56
 
 
57
/* End for cmpinclude */
 
58
 
 
59