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

« back to all changes in this revision

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