Changeset 1117465 in rtems


Ignore:
Timestamp:
Sep 17, 2008, 6:38:57 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
96a0303b
Parents:
25ed5539
Message:

2008-09-17 Joel Sherrill <joel.sherrill@…>

  • minimum/init.c, unlimited/system.h: Add support for optionally having a unified work area. In other words, the RTEMS Workspace and C Program Heap are the same pool of memory.
Location:
testsuites/samples
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/ChangeLog

    r25ed5539 r1117465  
     12008-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * minimum/init.c, unlimited/system.h: Add support for optionally having
     4        a unified work area. In other words, the RTEMS Workspace and C
     5        Program Heap are the same pool of memory.
     6
    172008-09-17      Miao Yan <yanmiaobest@gmail.com>
    28
  • testsuites/samples/minimum/init.c

    r25ed5539 r1117465  
    7979
    8080/*
     81 *  This configures RTEMS to use a single memory pool for the RTEMS Workspace
     82 *  and C Program Heap.  If not defined, there will be separate memory pools
     83 *  for the RTEMS Workspace and C Program Heap.  Having separate pools
     84 *  does haved some advantages in the event a task blows a stack or writes
     85 *  outside its memory area. However, in low memory systems the overhead of
     86 *  the two pools plus the potential for unused memory in either pool is
     87 *  very undesirable.
     88 *
     89 *  In high memory environments, this is desirable when you want to use
     90 *  the RTEMS "unlimited" objects option.  You will be able to create objects
     91 *  until you run out of memory.
     92 */
     93#define CONFIGURE_UNIFIED_WORK_AREAS
     94
     95/*
    8196 *  In this application, the initialization task performs the system
    8297 *  initialization and then transforms itself into the idle task.
  • testsuites/samples/unlimited/system.h

    r25ed5539 r1117465  
    4747#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    4848
     49#define CONFIGURE_UNIFIED_WORK_AREAS
    4950#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    5051
Note: See TracChangeset for help on using the changeset viewer.