Ignore:
Timestamp:
Mar 6, 2015, 5:41:49 PM (5 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.11, 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)
Message:

cpukit: deprecate notepads

Deprecate Classic API Notepads. Mark task_set/get_note() with
the deprecated attribute, and also mark the notepads field.

Replace disable with enable option for notepads in confdefs.h,
and make notepads disabled by default. The previous option
CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS is now unused and
will emit a compile-time warning. A new option
CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS is available to turn
on notepads, but it also will emit a compile-time warning
to indicate that notepads are deprecated.

Closes #2265

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/librtems++/include/rtems++/rtemsTask.h

    rb05549fc r3ac68119  
    128128  // notepad control
    129129  const rtems_status_code get_note(const uint32_t notepad,
    130                                    uint32_t& note);
     130                                   uint32_t& note) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
    131131  const rtems_status_code set_note(const uint32_t notepad,
    132                                    const uint32_t note);
     132                                   const uint32_t note) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
    133133
    134134  // object id, and name
Note: See TracChangeset for help on using the changeset viewer.