4.115
Last change
on this file since 3ac68119 was
3ac68119,
checked in by Gedare Bloom <gedare@…>, on 03/06/15 at 17:41:49
|
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
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | /* |
---|
2 | * This include file contains information that is included in every |
---|
3 | * function in the test set. |
---|
4 | */ |
---|
5 | |
---|
6 | /* |
---|
7 | * COPYRIGHT (c) 1989-2014. |
---|
8 | * On-Line Applications Research Corporation (OAR). |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.rtems.com/license/LICENSE. |
---|
13 | */ |
---|
14 | |
---|
15 | #include <tmacros.h> |
---|
16 | |
---|
17 | /* functions */ |
---|
18 | |
---|
19 | rtems_task Init( |
---|
20 | rtems_task_argument argument |
---|
21 | ); |
---|
22 | |
---|
23 | rtems_task Task_1( |
---|
24 | rtems_task_argument argument |
---|
25 | ); |
---|
26 | |
---|
27 | /* configuration information */ |
---|
28 | |
---|
29 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
30 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
31 | |
---|
32 | #define CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS |
---|
33 | |
---|
34 | #define CONFIGURE_MAXIMUM_TASKS 2 |
---|
35 | |
---|
36 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
37 | |
---|
38 | #include <rtems/confdefs.h> |
---|
39 | |
---|
40 | /* global variables */ |
---|
41 | |
---|
42 | TEST_EXTERN rtems_id Task_id[ 2 ]; /* array of task ids */ |
---|
43 | TEST_EXTERN rtems_name Task_name[ 2 ]; /* array of task names */ |
---|
44 | |
---|
45 | TEST_EXTERN rtems_id Junk_id; /* id used to return errors */ |
---|
46 | |
---|
47 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.