Annotation of OpenXM/src/gc/gc6_amd64.diff, Revision 1.1
1.1 ! ohara 1: # $OpenXM$
! 2: --- include/private/gcconfig.h 2005-05-21 05:48:29.000000000 +0900
! 3: +++ include/private/gcconfig.h 2005-07-11 18:18:53.000000000 +0900
! 4: @@ -60,6 +60,11 @@
! 5: # endif
! 6:
! 7: /* Determine the machine type: */
! 8: +/* T.Saito */
! 9: +# if defined(FREEBSD) && defined(__amd64__)
! 10: +# define X86_64
! 11: +# define mach_type_known
! 12: +# endif
! 13: # if defined(__arm__) || defined(__thumb__)
! 14: # define ARM32
! 15: # if !defined(LINUX) && !defined(NETBSD)
! 16: @@ -1936,6 +1943,28 @@
! 17: extern char etext[];
! 18: # define SEARCH_FOR_DATA_START
! 19: # endif
! 20: +# ifdef FREEBSD /* T.Saito */
! 21: +# define OS_TYPE "FREEBSD"
! 22: +# ifndef GC_FREEBSD_THREADS
! 23: +# define MPROTECT_VDB
! 24: +# endif
! 25: +# define SIG_SUSPEND SIGUSR1
! 26: +# define SIG_THR_RESTART SIGUSR2
! 27: +# define FREEBSD_STACKBOTTOM
! 28: +# ifdef __ELF__
! 29: +# define DYNAMIC_LOADING
! 30: +# endif
! 31: + extern int _etext[];
! 32: + extern char etext[];
! 33: + extern char edata[];
! 34: + extern char end[];
! 35: + extern char * GC_FreeBSDGetDataStart();
! 36: +# define DATASTART ((ptr_t)((((word) (_etext)) + 0xfff) & ~0xfff))
! 37: +# define NEED_FIND_LIMIT
! 38: +# define DATAEND (GC_find_limit (DATASTART, TRUE))
! 39: +# define DATASTART2 ((ptr_t)(&edata))
! 40: +# define DATAEND2 ((ptr_t)(&end))
! 41: +# endif /* end T.Saito */
! 42: # endif
! 43:
! 44: #if defined(LINUX) && defined(USE_MMAP)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>