Changeset 94a88c1c in rtems
- Timestamp:
- 11/24/08 19:50:06 (15 years ago)
- Branches:
- 4.10, 4.11, 5, master
- Children:
- 1efc075
- Parents:
- ea5c9c6
- Location:
- cpukit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
rea5c9c6 r94a88c1c 1 2008-11-24 Joel Sherrill <joel.sherrill@OARcorp.com> 2 3 PR 1341/cpukit 4 * sapi/include/confdefs.h: The following macros were missing 5 the _Configure_From_workspace() wrapper on their size estimate: 6 + CONFIGURE_INTERRUPT_STACK_MEMORY 7 + CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API 8 + CONFIGURE_INTERRUPT_VECTOR_TABLE 9 + CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS 10 In addition, there was a duplicate definition of 11 CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API. 12 1 13 2008-11-24 Ralf Corsépius <ralf.corsepius@rtems.org> 2 14 -
cpukit/sapi/include/confdefs.h
rea5c9c6 r94a88c1c 347 347 #define CONFIGURE_INTERRUPT_STACK_MEMORY 0 348 348 #else 349 #define CONFIGURE_INTERRUPT_STACK_MEMORY CONFIGURE_INTERRUPT_STACK_SIZE 349 #define CONFIGURE_INTERRUPT_STACK_MEMORY \ 350 _Configure_From_workspace( CONFIGURE_INTERRUPT_STACK_SIZE ) 350 351 #endif 351 352 … … 810 811 #ifndef CONFIGURE_DISABLE_CLASSIC_NOTEPADS 811 812 #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \ 812 sizeof(RTEMS_API_Control)813 _Configure_From_workspace( sizeof(RTEMS_API_Control) ) 813 814 #else 814 815 #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \ 815 (sizeof(RTEMS_API_Control) - (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t))) 816 _Configure_From_workspace( sizeof(RTEMS_API_Control) - \ 817 (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t))) 816 818 #endif 817 819 … … 920 922 #ifndef CONFIGURE_TICKS_PER_TIMESLICE 921 923 #define CONFIGURE_TICKS_PER_TIMESLICE 50 922 #endif923 924 #ifndef CONFIGURE_DISABLE_CLASSIC_NOTEPADS925 #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \926 sizeof(RTEMS_API_Control)927 #else928 #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \929 (sizeof(RTEMS_API_Control) - (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t)))930 924 #endif 931 925 … … 1487 1481 */ 1488 1482 #if defined(__mips__) 1489 #define CONFIGURE_INTERRUPT_VECTOR_TABLE (sizeof(ISR_Handler_entry) * 256)1490 #else1491 1483 #define CONFIGURE_INTERRUPT_VECTOR_TABLE \ 1492 (sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS) 1484 _Configure_From_workspace( (sizeof(ISR_Handler_entry) * 256)) 1485 #else 1486 #define CONFIGURE_INTERRUPT_VECTOR_TABLE \ 1487 _Configure_From_workspace( \ 1488 (sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS)) 1493 1489 #endif 1494 1490 #else … … 1593 1589 */ 1594 1590 #define CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS \ 1595 _Configure_From_workspace( \ 1596 (CONFIGURE_NEWLIB_EXTENSION + CONFIGURE_STACK_CHECKER_EXTENSION) * \ 1597 sizeof(User_extensions_Control) \ 1598 ) 1591 ((CONFIGURE_NEWLIB_EXTENSION * \ 1592 _Configure_From_workspace( sizeof(User_extensions_Control))) + \ 1593 (CONFIGURE_STACK_CHECKER_EXTENSION * \ 1594 _Configure_From_workspace( sizeof(User_extensions_Control))) \ 1595 ) 1599 1596 1600 1597 /**
Note: See TracChangeset
for help on using the changeset viewer.