Changeset 3ac68119 in rtems
- Timestamp:
- 03/06/15 17:41:49 (8 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 23e43f6
- Parents:
- b05549fc
- git-author:
- Gedare Bloom <gedare@…> (03/06/15 17:41:49)
- git-committer:
- Gedare Bloom <gedare@…> (03/10/15 16:53:07)
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/librtems++/include/rtems++/rtemsTask.h
rb05549fc r3ac68119 128 128 // notepad control 129 129 const rtems_status_code get_note(const uint32_t notepad, 130 uint32_t& note) ;130 uint32_t& note) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE; 131 131 const rtems_status_code set_note(const uint32_t notepad, 132 const uint32_t note) ;132 const uint32_t note) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE; 133 133 134 134 // object id, and name -
cpukit/libmisc/monitor/monitor.h
rb05549fc r3ac68119 105 105 rtems_mode modes; 106 106 rtems_attribute attributes; 107 uint32_t notepad[RTEMS_NUMBER_NOTEPADS]; 107 uint32_t notepad[RTEMS_NUMBER_NOTEPADS] 108 RTEMS_COMPILER_DEPRECATED_ATTRIBUTE; 108 109 rtems_id wait_id; 109 110 uint32_t wait_args; -
cpukit/rtems/include/rtems/rtems/tasks.h
rb05549fc r3ac68119 272 272 * @brief RTEMS Get Task Node 273 273 * 274 * @deprecated Notepads are deprecated and will be removed. 275 * 274 276 * This routine implements the rtems_task_get_note directive. The 275 277 * value of the indicated notepad for the task associated with ID … … 286 288 uint32_t notepad, 287 289 uint32_t *note 288 ) ;290 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE; 289 291 290 292 /** 291 293 * @brief RTEMS Set Task Note 294 * 295 * @deprecated Notepads are deprecated and will be removed. 292 296 * 293 297 * This routine implements the rtems_task_set_note directive. The … … 307 311 uint32_t notepad, 308 312 uint32_t note 309 ) ;313 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE; 310 314 311 315 /** … … 664 668 /** 665 669 * This field contains the notepads for this task. 670 * 671 * @deprecated Notepads are deprecated and will be removed. 666 672 * 667 673 * @note MUST BE LAST ENTRY. 668 674 */ 669 uint32_t Notepads[ RTEMS_ZERO_LENGTH_ARRAY ];675 uint32_t Notepads[ RTEMS_ZERO_LENGTH_ARRAY ] RTEMS_COMPILER_DEPRECATED_ATTRIBUTE; 670 676 } RTEMS_API_Control; 671 677 -
cpukit/sapi/include/confdefs.h
rb05549fc r3ac68119 1811 1811 (CONFIGURE_MAXIMUM_TASKS + CONFIGURE_LIBBLOCK_TASKS) 1812 1812 1813 #ifndef CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS 1813 #if defined(CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS) 1814 #warning "CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS is deprecated and will be removed." 1815 #endif 1816 #if defined(CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS) 1817 #warning "CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS is deprecated and will be removed." 1814 1818 #define CONFIGURE_NOTEPADS_ENABLED TRUE 1815 1819 #else … … 2614 2618 } Scheduler; 2615 2619 RTEMS_API_Control API_RTEMS; 2616 #if ndef CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS2617 uint32_t Notepads[ RTEMS_NUMBER_NOTEPADS ] ;2620 #if defined(CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS) 2621 uint32_t Notepads[ RTEMS_NUMBER_NOTEPADS ] RTEMS_COMPILER_DEPRECATED_ATTRIBUTE; 2618 2622 #endif 2619 2623 #ifdef RTEMS_POSIX_API -
doc/user/conf.t
rb05549fc r3ac68119 596 596 597 597 @c 598 @c === CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS === 599 @c 600 @subsection Disable Classic API Notepads 601 602 @findex CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS 603 604 @table @b 605 @item CONSTANT: 606 @code{CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS} 607 608 @item DATA TYPE: 609 Boolean feature macro. 610 611 @item RANGE: 612 Defined or undefined. 613 614 @item DEFAULT VALUE: 615 This is not defined by default, and Classic API Notepads are supported. 616 617 @end table 618 619 @subheading DESCRIPTION: 620 @code{CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS} should be defined if the 621 user does not want to have support for Classic API Notepads in their 622 application. 598 @c === CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS === 599 @c 600 @subsection Enable Classic API Notepads 601 602 @findex CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS 603 604 @table @b 605 @item CONSTANT: 606 @code{CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS} 607 608 @item DATA TYPE: 609 Boolean feature macro. 610 611 @item RANGE: 612 Defined or undefined. 613 614 @item DEFAULT VALUE: 615 This is not defined by default, and Classic API Notepads are not supported. 616 617 @end table 618 619 @subheading DESCRIPTION: 620 @code{CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS} should be defined if the 621 user wants to have support for Classic API Notepads in their application. 623 622 624 623 @subheading NOTES: … … 626 625 thirty-two bit integers. This saves sixty-four bytes per task/thread 627 626 plus the allocation overhead. Notepads are rarely used in applications 628 and this can save significant memory in a low RAM system. 627 and this can save significant memory in a low RAM system. Classic API 628 Notepads are deprecated, and this option is expected to be obsolete in 629 the near future. 630 631 @c 632 @c === CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS === 633 @c 634 @subsection Disable Classic API Notepads 635 636 @findex CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS 637 638 @table @b 639 @item CONSTANT: 640 @code{CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS} 641 642 @item DATA TYPE: 643 Boolean feature macro. 644 645 @item RANGE: 646 Defined or undefined. 647 648 @item DEFAULT VALUE: 649 This is not defined by default, and Classic API Notepads are not supported. 650 651 @end table 652 653 @subheading DESCRIPTION: 654 @code{CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS} is deprecated. If users 655 want to have support for Classic API Notepads, they should use 656 @code{CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS}. 657 658 @subheading NOTES: 659 Disabling Classic API Notepads saves the allocation of sixteen (16) 660 thirty-two bit integers. This saves sixty-four bytes per task/thread 661 plus the allocation overhead. Notepads are rarely used in applications 662 and this can save significant memory in a low RAM system. Classic API 663 Notepads are deprecated, and this option is expected to be obsolete in 664 the near future. 629 665 630 666 @c -
doc/user/task.t
rb05549fc r3ac68119 646 646 directive allows the user to obtain the note 647 647 contained in any one of the sixteen notepads of a specified task. 648 Notepads are deprecated and will be removed. 648 649 649 650 @subsection Task Deletion … … 1516 1517 1517 1518 @subheading NOTES: 1519 This directive is deprecated and will be removed. 1520 1518 1521 This directive will not cause the running task to be preempted. 1519 1522 … … 1568 1571 1569 1572 @subheading DESCRIPTION: 1573 This directive is deprecated and will be removed. 1574 1570 1575 This directive sets the notepad entry for the task specified by 1571 1576 id to the value note. -
doc/user/userext.t
rb05549fc r3ac68119 138 138 to utilize the notepad locations associated with each task 139 139 although this may conflict with application usage of those 140 particular notepads. 140 particular notepads. However, notepads are deprecated and will 141 be removed. 141 142 142 143 The TCB extension is an array of pointers in the TCB. The -
testsuites/libtests/rtems++/System.h
rb05549fc r3ac68119 124 124 #define CONFIGURE_TICKS_PER_TIMESLICE 100 125 125 126 #define CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS 126 127 #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION 127 128 -
testsuites/mptests/mp02/system.h
rb05549fc r3ac68119 31 31 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER 32 32 33 #define CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS 34 33 35 #define CONFIGURE_MAXIMUM_TASKS 2 34 36 -
testsuites/sptests/sp07/system.h
rb05549fc r3ac68119 65 65 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER 66 66 67 #define CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS 68 67 69 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 2 68 70 #define CONFIGURE_TICKS_PER_TIMESLICE 100 -
testsuites/sptests/spnotepad01/init.c
rb05549fc r3ac68119 54 54 #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER 55 55 56 #define CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS57 56 #define CONFIGURE_MAXIMUM_TASKS 1 58 57 #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION -
testsuites/sptests/sptask_err04/system.h
rb05549fc r3ac68119 30 30 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER 31 31 32 #define CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS 33 32 34 #define CONFIGURE_MAXIMUM_TASKS 2 33 35 -
testsuites/tmtests/tm08/system.h
rb05549fc r3ac68119 28 28 #define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER 29 29 30 #define CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS 31 30 32 #define CONFIGURE_MAXIMUM_TASKS 3 31 33 #define CONFIGURE_TICKS_PER_TIMESLICE 0
Note: See TracChangeset
for help on using the changeset viewer.