RCS file: /usr1/CVS/rtems/cpukit/sapi/include/confdefs.h,v
retrieving revision 1.108.2.2
diff -u -r1.108.2.2 confdefs.h
|
|
|
289 | 289 | #if (CPU_ALLOCATE_INTERRUPT_STACK == 0) |
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 | |
295 | 296 | /** |
… |
… |
|
744 | 745 | |
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 | |
753 | 755 | /** |
… |
… |
|
856 | 858 | #define CONFIGURE_TICKS_PER_TIMESLICE 50 |
857 | 859 | #endif |
858 | 860 | |
859 | | #ifndef CONFIGURE_DISABLE_CLASSIC_NOTEPADS |
860 | | #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \ |
861 | | sizeof(RTEMS_API_Control) |
862 | | #else |
863 | | #define CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \ |
864 | | (sizeof(RTEMS_API_Control) - (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t))) |
865 | | #endif |
866 | | |
867 | 861 | /* |
868 | 862 | * Initial Extension Set |
869 | 863 | */ |
… |
… |
|
1421 | 1415 | * solution. |
1422 | 1416 | */ |
1423 | 1417 | #if defined(__mips__) |
1424 | | #define CONFIGURE_INTERRUPT_VECTOR_TABLE (sizeof(ISR_Handler_entry) * 256) |
| 1418 | #define CONFIGURE_INTERRUPT_VECTOR_TABLE \ |
| 1419 | _Configure_From_workspace( (sizeof(ISR_Handler_entry) * 256)) |
1425 | 1420 | #else |
1426 | 1421 | #define CONFIGURE_INTERRUPT_VECTOR_TABLE \ |
1427 | | (sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS) |
| 1422 | _Configure_From_workspace( \ |
| 1423 | (sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS)) |
1428 | 1424 | #endif |
1429 | 1425 | #else |
1430 | 1426 | #define CONFIGURE_INTERRUPT_VECTOR_TABLE 0 |
… |
… |
|
1527 | 1523 | * user extensions. |
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 | /** |
1536 | 1533 | * This macro provides a summation of the memory required by the |