[BACK]Return to gcconfig.h CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / gc / include / private

Diff for /OpenXM_contrib2/asir2000/gc/include/private/gcconfig.h between version 1.9 and 1.13

version 1.9, 2003/06/24 05:11:42 version 1.13, 2004/02/13 05:48:36
Line 26 
Line 26 
   
 # define GCCONFIG_H  # define GCCONFIG_H
   
   /* added by noro */
   #define LARGE_CONFIG
   
 # ifndef GC_PRIVATE_H  # ifndef GC_PRIVATE_H
     /* Fake ptr_t declaration, just to avoid compilation errors.        */      /* Fake ptr_t declaration, just to avoid compilation errors.        */
     /* This avoids many instances if "ifndef GC_PRIVATE_H" below.       */      /* This avoids many instances if "ifndef GC_PRIVATE_H" below.       */
Line 60 
Line 63 
 # endif  # endif
   
 /* Determine the machine type: */  /* Determine the machine type: */
   /* T.Saito */
   # if defined(FREEBSD) && defined(__amd64__)
   #    define X86_64
   #    define mach_type_known
   # endif
   
 # if defined(__XSCALE__)  # if defined(__XSCALE__)
 #    define ARM32  #    define ARM32
 #    if !defined(LINUX)  #    if !defined(LINUX)
Line 957 
Line 966 
 #         define PROC_VDB  #         define PROC_VDB
 #       endif  #       endif
 #       define DYNAMIC_LOADING  #       define DYNAMIC_LOADING
   /* added by noro */
   #   define USE_MMAP
 #       if !defined(USE_MMAP) && defined(REDIRECT_MALLOC)  #       if !defined(USE_MMAP) && defined(REDIRECT_MALLOC)
 #           define USE_MMAP  #           define USE_MMAP
             /* Otherwise we now use calloc.  Mmap may result in the     */              /* Otherwise we now use calloc.  Mmap may result in the     */
Line 1793 
Line 1804 
 #       define PREFETCH_FOR_WRITE(x) \  #       define PREFETCH_FOR_WRITE(x) \
           __asm__ __volatile__ ("       prefetchw       %0": : "m"(*(char *)(x)))            __asm__ __volatile__ ("       prefetchw       %0": : "m"(*(char *)(x)))
 #   endif  #   endif
   #   ifdef FREEBSD /* T.Saito */
   #       define OS_TYPE "FREEBSD"
   #       ifndef GC_FREEBSD_THREADS
   #           define MPROTECT_VDB
   #       endif
   #       define SIG_SUSPEND SIGUSR1
   #       define SIG_THR_RESTART SIGUSR2
   #       define FREEBSD_STACKBOTTOM
   #       ifdef __ELF__
   #           define DYNAMIC_LOADING
   #       endif
           extern int _etext[];
           extern char etext[];
           extern char edata[];
           extern char end[];
           extern char * GC_FreeBSDGetDataStart();
   #       define DATASTART ((ptr_t)((((word) (_etext)) + 0xfff) & ~0xfff))
   #       define NEED_FIND_LIMIT
   #       define DATAEND (GC_find_limit (DATASTART, TRUE))
   #       define DATASTART2 ((ptr_t)(&edata))
   #       define DATAEND2 ((ptr_t)(&end))
   #   endif /* end T.Saito */
 # endif  # endif
   
 #if defined(LINUX) && defined(REDIRECT_MALLOC)  #if defined(LINUX) && defined(REDIRECT_MALLOC)

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.13

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>