Changeset f82452b in rtems
- Timestamp:
- 11/24/08 19:48:59 (15 years ago)
- Branches:
- 4.9
- Children:
- cb6c6605
- Parents:
- cc107c9
- Location:
- cpukit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
rcc107c9 rf82452b 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-20 Joel Sherrill <joel.sherrill@OARcorp.com> 2 14 -
cpukit/sapi/include/confdefs.h
rcc107c9 rf82452b 290 290 #define CONFIGURE_INTERRUPT_STACK_MEMORY 0 291 291 #else 292 #define CONFIGURE_INTERRUPT_STACK_MEMORY CONFIGURE_INTERRUPT_STACK_SIZE 292 #define CONFIGURE_INTERRUPT_STACK_MEMORY \ 293 _Configure_From_workspace( CONFIGURE_INTERRUPT_STACK_SIZE ) 293 294 #endif 294 295 … … 745 746 #ifndef CONFIGURE_DISABLE_CLASSIC_NOTEPADS 746 747 #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \ 747 sizeof(RTEMS_API_Control)748 _Configure_From_workspace( sizeof(RTEMS_API_Control) ) 748 749 #else 749 750 #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \ 750 (sizeof(RTEMS_API_Control) - (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t))) 751 _Configure_From_workspace( sizeof(RTEMS_API_Control) - \ 752 (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t))) 751 753 #endif 752 754 … … 855 857 #ifndef CONFIGURE_TICKS_PER_TIMESLICE 856 858 #define CONFIGURE_TICKS_PER_TIMESLICE 50 857 #endif858 859 #ifndef CONFIGURE_DISABLE_CLASSIC_NOTEPADS860 #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \861 sizeof(RTEMS_API_Control)862 #else863 #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \864 (sizeof(RTEMS_API_Control) - (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t)))865 859 #endif 866 860 … … 1422 1416 */ 1423 1417 #if defined(__mips__) 1424 #define CONFIGURE_INTERRUPT_VECTOR_TABLE (sizeof(ISR_Handler_entry) * 256)1425 #else1426 1418 #define CONFIGURE_INTERRUPT_VECTOR_TABLE \ 1427 (sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS) 1419 _Configure_From_workspace( (sizeof(ISR_Handler_entry) * 256)) 1420 #else 1421 #define CONFIGURE_INTERRUPT_VECTOR_TABLE \ 1422 _Configure_From_workspace( \ 1423 (sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS)) 1428 1424 #endif 1429 1425 #else … … 1528 1524 */ 1529 1525 #define CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS \ 1530 _Configure_From_workspace( \ 1531 (CONFIGURE_NEWLIB_EXTENSION + CONFIGURE_STACK_CHECKER_EXTENSION) * \ 1532 sizeof(User_extensions_Control) \ 1533 ) 1526 ((CONFIGURE_NEWLIB_EXTENSION * \ 1527 _Configure_From_workspace( sizeof(User_extensions_Control))) + \ 1528 (CONFIGURE_STACK_CHECKER_EXTENSION * \ 1529 _Configure_From_workspace( sizeof(User_extensions_Control))) \ 1530 ) 1534 1531 1535 1532 /**
Note: See TracChangeset
for help on using the changeset viewer.