source: rtems/testsuites/mptests/mp02/system.h @ 3ac68119

4.11
Last change on this file since 3ac68119 was 3ac68119, checked in by Gedare Bloom <gedare@…>, on Mar 6, 2015 at 5:41:49 PM

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/*  system.h
2 *
3 *  This include file contains information that is included in every
4 *  function in the test set.
5 *
6 *  COPYRIGHT (c) 1989-1999.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.org/license/LICENSE.
12 */
13
14#include <tmacros.h>
15
16/* functions */
17
18rtems_task Init(
19  rtems_task_argument argument
20);
21
22rtems_task Test_task(
23  rtems_task_argument argument
24);
25
26/* configuration information */
27
28#define CONFIGURE_MP_APPLICATION
29
30#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
31#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
32
33#define CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS
34
35#define CONFIGURE_MAXIMUM_TASKS               2
36
37#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
38
39#include <rtems/confdefs.h>
40
41/* variables */
42
43TEST_EXTERN rtems_id   Task_id[ 4 ];     /* array of task ids */
44TEST_EXTERN rtems_name Task_name[ 4 ];   /* array of task names */
45
46/* end of include file */
Note: See TracBrowser for help on using the repository browser.