Changeset 0312defb in rtems


Ignore:
Timestamp:
Feb 4, 1998, 3:35:26 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e44e678
Parents:
6c77bba
Message:

Patch from Ralf Corsepius to reduce the amount of memory consumed by
the workspace by default.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/sapi/headers/confdefs.h

    r6c77bba r0312defb  
    412412
    413413#endif
     414#ifndef CONFIGURE_MEMORY_OVERHEAD
     415#define CONFIGURE_MEMORY_OVERHEAD 0
     416#endif
     417
    414418#define CONFIGURE_EXECUTIVE_RAM_SIZE \
    415419(( CONFIGURE_MEMORY_FOR_TASKS(CONFIGURE_MAXIMUM_TASKS) + \
     
    424428   CONFIGURE_MEMORY_FOR_DEVICES(CONFIGURE_MAXIMUM_DEVICES) + \
    425429   CONFIGURE_MEMORY_FOR_MP + \
    426    (96*1024) \
    427 ) & 0xffff8000)
     430   (((CONFIGURE_MEMORY_OVERHEAD)+1) * 1024) \
     431) & 0xfffffc00)
    428432#endif
    429433
  • c/src/exec/sapi/include/confdefs.h

    r6c77bba r0312defb  
    412412
    413413#endif
     414#ifndef CONFIGURE_MEMORY_OVERHEAD
     415#define CONFIGURE_MEMORY_OVERHEAD 0
     416#endif
     417
    414418#define CONFIGURE_EXECUTIVE_RAM_SIZE \
    415419(( CONFIGURE_MEMORY_FOR_TASKS(CONFIGURE_MAXIMUM_TASKS) + \
     
    424428   CONFIGURE_MEMORY_FOR_DEVICES(CONFIGURE_MAXIMUM_DEVICES) + \
    425429   CONFIGURE_MEMORY_FOR_MP + \
    426    (96*1024) \
    427 ) & 0xffff8000)
     430   (((CONFIGURE_MEMORY_OVERHEAD)+1) * 1024) \
     431) & 0xfffffc00)
    428432#endif
    429433
  • cpukit/sapi/include/confdefs.h

    r6c77bba r0312defb  
    412412
    413413#endif
     414#ifndef CONFIGURE_MEMORY_OVERHEAD
     415#define CONFIGURE_MEMORY_OVERHEAD 0
     416#endif
     417
    414418#define CONFIGURE_EXECUTIVE_RAM_SIZE \
    415419(( CONFIGURE_MEMORY_FOR_TASKS(CONFIGURE_MAXIMUM_TASKS) + \
     
    424428   CONFIGURE_MEMORY_FOR_DEVICES(CONFIGURE_MAXIMUM_DEVICES) + \
    425429   CONFIGURE_MEMORY_FOR_MP + \
    426    (96*1024) \
    427 ) & 0xffff8000)
     430   (((CONFIGURE_MEMORY_OVERHEAD)+1) * 1024) \
     431) & 0xfffffc00)
    428432#endif
    429433
Note: See TracChangeset for help on using the changeset viewer.