From 0312defbebd2d9a98dd1f5e0d3dbb915d00fc9fb Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 4 Feb 1998 15:35:26 +0000 Subject: Patch from Ralf Corsepius to reduce the amount of memory consumed by the workspace by default. --- c/src/exec/sapi/include/confdefs.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'c/src/exec/sapi/include/confdefs.h') diff --git a/c/src/exec/sapi/include/confdefs.h b/c/src/exec/sapi/include/confdefs.h index 300b83d3b5..02bd96cc4c 100644 --- a/c/src/exec/sapi/include/confdefs.h +++ b/c/src/exec/sapi/include/confdefs.h @@ -411,6 +411,10 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = { #define CONFIGURE_MEMORY_FOR_MP 0 #endif +#ifndef CONFIGURE_MEMORY_OVERHEAD +#define CONFIGURE_MEMORY_OVERHEAD 0 +#endif + #define CONFIGURE_EXECUTIVE_RAM_SIZE \ (( CONFIGURE_MEMORY_FOR_TASKS(CONFIGURE_MAXIMUM_TASKS) + \ CONFIGURE_MEMORY_FOR_TIMERS(CONFIGURE_MAXIMUM_TIMERS) + \ @@ -423,8 +427,8 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = { CONFIGURE_MEMORY_FOR_USER_EXTENSIONS(CONFIGURE_MAXIMUM_USER_EXTENSIONS) + \ CONFIGURE_MEMORY_FOR_DEVICES(CONFIGURE_MAXIMUM_DEVICES) + \ CONFIGURE_MEMORY_FOR_MP + \ - (96*1024) \ -) & 0xffff8000) + (((CONFIGURE_MEMORY_OVERHEAD)+1) * 1024) \ +) & 0xfffffc00) #endif #ifdef CONFIGURE_GNAT_RTEMS -- cgit v1.2.3