5
Last change
on this file since 6378978 was
7d7c50de,
checked in by Sebastian Huber <sebastian.huber@…>, on 05/25/18 at 12:09:46
|
rtems: Move _Status_Object_name_errors_to_status
Move _Status_Object_name_errors_to_status to a separate file to avoid a
dependency on errno. Dependencies to errno are hard to be removed by
the linker garbage collection.
|
-
Property mode set to
100644
|
File size:
877 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Status Mapping Arrays |
---|
5 | * @ingroup ClassicStatus |
---|
6 | */ |
---|
7 | |
---|
8 | /* COPYRIGHT (c) 1989-2013. |
---|
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.org/license/LICENSE. |
---|
14 | */ |
---|
15 | |
---|
16 | #include <rtems/rtems/statusimpl.h> |
---|
17 | |
---|
18 | const rtems_status_code _Status_Object_name_errors_to_status[] = { |
---|
19 | /** This maps OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL to RTEMS_SUCCESSFUL. */ |
---|
20 | RTEMS_SUCCESSFUL, |
---|
21 | /** This maps OBJECTS_INVALID_NAME to RTEMS_INVALID_NAME. */ |
---|
22 | RTEMS_INVALID_NAME, |
---|
23 | /** This maps OBJECTS_INVALID_ADDRESS to RTEMS_INVALID_ADDRESS. */ |
---|
24 | RTEMS_INVALID_ADDRESS, |
---|
25 | /** This maps OBJECTS_INVALID_ID to RTEMS_INVALID_ID. */ |
---|
26 | RTEMS_INVALID_ID, |
---|
27 | /** This maps OBJECTS_INVALID_NODE to RTEMS_INVALID_NODE. */ |
---|
28 | RTEMS_INVALID_NODE |
---|
29 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.