4.115
Last change
on this file since f68401e was
5d443559,
checked in by Joel Sherrill <joel.sherrill@…>, on 02/02/12 at 22:57:42
|
PR 1991/cpukit - attr.c (really mode code) warning rework
This PR was about a warning for no previous prototype for
rtems_interrupt_level_attribute. This method exists (like
a few others) to have real bodies for Classic API services
implemented as macros. These macros are not available from
anything but C and C++. The most explicit use was in the Ada
binding but these would be needed from assembly language
or any other non-C based language.
On top of needing a prototype, the methods were misnamed.
They were related to modes. This renames them, moves the
file, fixes test code, etc.
|
-
Property mode set to
100644
|
File size:
891 bytes
|
Line | |
---|
1 | /* system.h |
---|
2 | * |
---|
3 | * This include file contains information that is included in every |
---|
4 | * function in the test set. |
---|
5 | */ |
---|
6 | |
---|
7 | /* |
---|
8 | * COPYRIGHT (c) 1989-2012. |
---|
9 | * On-Line Applications Research Corporation (OAR). |
---|
10 | * |
---|
11 | * The license and distribution terms for this file may be |
---|
12 | * found in the file LICENSE in this distribution or at |
---|
13 | * http://www.rtems.com/license/LICENSE. |
---|
14 | */ |
---|
15 | |
---|
16 | #include <tmacros.h> |
---|
17 | |
---|
18 | /* functions */ |
---|
19 | |
---|
20 | rtems_task Init( |
---|
21 | rtems_task_argument argument |
---|
22 | ); |
---|
23 | |
---|
24 | /* configuration information */ |
---|
25 | |
---|
26 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
27 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
28 | |
---|
29 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
30 | #define CONFIGURE_INIT_TASK_PRIORITY 2 |
---|
31 | #define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_PREEMPT |
---|
32 | |
---|
33 | #define CONFIGURE_MAXIMUM_TASKS 2 |
---|
34 | #define CONFIGURE_MAXIMUM_TIMERS 1 |
---|
35 | |
---|
36 | #include <rtems/confdefs.h> |
---|
37 | |
---|
38 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.