Changeset 3feb372 in rtems for cpukit/sapi


Ignore:
Timestamp:
Dec 12, 2014, 7:07:49 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
dac340dd
Parents:
9d9c426
Message:

confdefs.h: Fix workspace size if idle task is FP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/confdefs.h

    r9d9c426 r3feb372  
    23502350 * reserved for IDLE task control structures.
    23512351 */
    2352 #define CONFIGURE_MEMORY_FOR_IDLE_TASK \
    2353   CONFIGURE_MEMORY_FOR_TASKS(CONFIGURE_IDLE_TASKS_COUNT, 0)
     2352#if CPU_IDLE_TASK_IS_FP == TRUE
     2353  #define CONFIGURE_MEMORY_FOR_IDLE_TASK \
     2354    CONFIGURE_MEMORY_FOR_TASKS( \
     2355      CONFIGURE_IDLE_TASKS_COUNT, CONFIGURE_IDLE_TASKS_COUNT)
     2356#else
     2357  #define CONFIGURE_MEMORY_FOR_IDLE_TASK \
     2358    CONFIGURE_MEMORY_FOR_TASKS(CONFIGURE_IDLE_TASKS_COUNT, 0)
     2359#endif
    23542360
    23552361/**
Note: See TracChangeset for help on using the changeset viewer.