From: Chris Hanson Date: Mon, 16 Dec 1996 04:53:17 +0000 (+0000) Subject: Use special allocator to allocate the heap when running under Linux. X-Git-Tag: 20090517-FFI~5298 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=b694e6570a11abc61916fc1df0efe1b6d63e489a;p=mit-scheme.git Use special allocator to allocate the heap when running under Linux. Linux ELF pushes the text and data segments up into high addresses, leaving most of the low addresses empty. To get access to them, we must use mmap. --- diff --git a/v7/src/microcode/config.h b/v7/src/microcode/config.h index 35536691b..f1505e0fb 100644 --- a/v7/src/microcode/config.h +++ b/v7/src/microcode/config.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: config.h,v 9.96 1996/12/16 04:37:14 cph Exp $ +$Id: config.h,v 9.97 1996/12/16 04:53:17 cph Exp $ Copyright (c) 1987-96 Massachusetts Institute of Technology @@ -443,6 +443,7 @@ typedef unsigned long SCHEME_OBJECT; #ifdef __linux extern void * linux_heap_malloc (unsigned long); #define HEAP_MALLOC linux_heap_malloc +#define HEAP_FREE(address) #endif #if defined(WINNT) && !defined(WINNT_RAW_ADDRESSES)