Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-08-23 04:03:54 +0400
committerChristopher Faylor <me@cgf.cx>2003-08-23 04:03:54 +0400
commit5c6497b43f67ac058e6699ebcd5f3961567ef13c (patch)
tree2b99de220729c9ae9a0d53cc98be0a62812ac423 /winsup/cygwin/cygheap.h
parent7f32ba3a8de4e8c74c7a97d4ee76b1b3a313b6ff (diff)
* cygheap.h (enum cygheap_types): Add HEAP_MMAP.
(CYGHEAPSIZE): Add another 64K. * mmap.cc: Use cmalloc, ccalloc and crealloc with HEAP_MMAP type throughout.
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r--winsup/cygwin/cygheap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h
index c03d60077..2211af2be 100644
--- a/winsup/cygwin/cygheap.h
+++ b/winsup/cygwin/cygheap.h
@@ -22,7 +22,8 @@ enum cygheap_types
HEAP_1_ARGV,
HEAP_1_BUF,
HEAP_1_EXEC,
- HEAP_1_MAX = 100
+ HEAP_1_MAX = 100,
+ HEAP_MMAP = 200
};
#define incygheap(s) (cygheap && ((char *) (s) >= (char *) cygheap) && ((char *) (s) <= ((char *) cygheap_max)))
@@ -256,7 +257,7 @@ struct init_cygheap
#endif
};
-#define CYGHEAPSIZE (sizeof (init_cygheap) + (16000 * sizeof (fhandler_union)) + (4 * 65536))
+#define CYGHEAPSIZE (sizeof (init_cygheap) + (16000 * sizeof (fhandler_union)) + (5 * 65536))
extern init_cygheap *cygheap;
extern void *cygheap_max;