Changeset 95008c6 in rtems


Ignore:
Timestamp:
Oct 25, 2011, 7:45:47 AM (8 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
12935408
Parents:
d5de617
Message:

2011-10-25 Ralf Corsépius <ralf.corsepius@…>

  • rtems/Makefile.am: Add src/status.c.
  • rtems/include/rtems/rtems/status.h: Make _Status_Object_name_errors_to_status an external variable.
  • rtems/src/status.c: New (split out from rtems/include/rtems/rtems/status.h).
Location:
cpukit
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rd5de617 r95008c6  
     12011-10-25      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * rtems/Makefile.am: Add src/status.c.
     4        * rtems/include/rtems/rtems/status.h: Make
     5        _Status_Object_name_errors_to_status an external variable.
     6        * rtems/src/status.c: New (split out from
     7        rtems/include/rtems/rtems/status.h).
     8
    192011-10-25      Ralf Corsépius <ralf.corsepius@rtems.org>
    210
  • cpukit/rtems/Makefile.am

    rd5de617 r95008c6  
    258258librtems_a_SOURCES += src/attr.c
    259259
     260librtems_a_SOURCES += src/status.c
     261
    260262if HAS_MP
    261263# We only build multiprocessing related files if HAS_MP was defined
  • cpukit/rtems/include/rtems/rtems/status.h

    rd5de617 r95008c6  
    189189 *  codes to Classic API status codes.
    190190 */
    191 #ifdef RTEMS_API_INIT
    192 const rtems_status_code _Status_Object_name_errors_to_status[] = {
    193   /** This maps OBJECTS_SUCCESSFUL to RTEMS_SUCCESSFUL. */
    194   RTEMS_SUCCESSFUL,
    195   /** This maps OBJECTS_INVALID_NAME to RTEMS_INVALID_NAME. */
    196   RTEMS_INVALID_NAME,
    197   /** This maps OBJECTS_INVALID_ADDRESS to RTEMS_INVALID_NAME. */
    198   RTEMS_INVALID_ADDRESS,
    199   /** This maps OBJECTS_INVALID_ID to RTEMS_INVALID_ADDRESS. */
    200   RTEMS_INVALID_ID,
    201   /** This maps OBJECTS_INVALID_NODE to RTEMS_INVALID_NODE. */
    202   RTEMS_INVALID_NODE
    203 };
    204 #else
    205 extern rtems_status_code _Status_Object_name_errors_to_status[];
    206 #endif
     191extern const rtems_status_code _Status_Object_name_errors_to_status[];
    207192
    208193/*
Note: See TracChangeset for help on using the changeset viewer.