[rtems commit] cpukit/rtems: Remove XXX in comments
Joel Sherrill
joel at rtems.org
Mon Dec 9 16:10:16 UTC 2013
Module: rtems
Branch: master
Commit: 651e3aa8d8216e25d59225da50272c0a1fbcc90d
Changeset: http://git.rtems.org/rtems/commit/?id=651e3aa8d8216e25d59225da50272c0a1fbcc90d
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Mon Dec 9 10:17:00 2013 -0600
cpukit/rtems: Remove XXX in comments
---
cpukit/posix/src/sempost.c | 4 +-
cpukit/rtems/include/rtems/rtems/asr.h | 5 ++-
cpukit/rtems/include/rtems/rtems/barriermp.h | 5 ++-
cpukit/rtems/include/rtems/rtems/cache.h | 31 +++++++++++--------------
cpukit/rtems/include/rtems/rtems/clock.h | 5 ++-
cpukit/rtems/include/rtems/rtems/config.h | 5 ++-
cpukit/rtems/include/rtems/rtems/eventmp.h | 5 ++-
cpukit/rtems/include/rtems/rtems/intr.h | 5 ++-
cpukit/rtems/include/rtems/rtems/message.h | 5 ++-
cpukit/rtems/include/rtems/rtems/modes.h | 5 ++-
cpukit/rtems/include/rtems/rtems/mp.h | 5 ++-
cpukit/rtems/include/rtems/rtems/msgmp.h | 5 ++-
cpukit/rtems/include/rtems/rtems/object.h | 5 ++-
cpukit/rtems/include/rtems/rtems/partmp.h | 5 ++-
cpukit/rtems/include/rtems/rtems/region.h | 5 ++-
cpukit/rtems/include/rtems/rtems/regionmp.h | 5 ++-
cpukit/rtems/include/rtems/rtems/semmp.h | 5 ++-
cpukit/rtems/include/rtems/rtems/signalmp.h | 5 ++-
cpukit/rtems/include/rtems/rtems/status.h | 5 ++-
cpukit/rtems/include/rtems/rtems/taskmp.h | 5 ++-
cpukit/rtems/src/region.c | 4 +-
cpukit/rtems/src/rtemsbuildid.c | 7 ++++-
cpukit/rtems/src/rtemsobjectgetname.c | 7 ++++-
cpukit/rtems/src/rtemsobjectidapimaximum.c | 7 ++++-
cpukit/rtems/src/rtemsobjectidapiminimum.c | 7 ++++-
cpukit/rtems/src/rtemsobjectidgetapi.c | 7 ++++-
cpukit/rtems/src/rtemsobjectidgetclass.c | 7 ++++-
cpukit/rtems/src/rtemsobjectidgetindex.c | 7 ++++-
cpukit/rtems/src/rtemsobjectidgetnode.c | 7 ++++-
29 files changed, 112 insertions(+), 73 deletions(-)
diff --git a/cpukit/posix/src/sempost.c b/cpukit/posix/src/sempost.c
index 3a23f22..d3cd166 100644
--- a/cpukit/posix/src/sempost.c
+++ b/cpukit/posix/src/sempost.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2007.
+ * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -46,7 +46,7 @@ int sem_post(
&the_semaphore->Semaphore,
the_semaphore->Object.id,
#if defined(RTEMS_MULTIPROCESSING)
- NULL /* XXX need to define a routine to handle this case */
+ NULL /* POSIX Semaphores are local only */
#else
NULL
#endif
diff --git a/cpukit/rtems/include/rtems/rtems/asr.h b/cpukit/rtems/include/rtems/rtems/asr.h
index f543b50..bb497cf 100644
--- a/cpukit/rtems/include/rtems/rtems/asr.h
+++ b/cpukit/rtems/include/rtems/rtems/asr.h
@@ -11,7 +11,7 @@
* support required by the Signal Manager.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -34,7 +34,8 @@ extern "C" {
*
* @ingroup ClassicRTEMS
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the Classic API Signal
+ * Manager.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/barriermp.h b/cpukit/rtems/include/rtems/rtems/barriermp.h
index c497140..24d9e1a 100644
--- a/cpukit/rtems/include/rtems/rtems/barriermp.h
+++ b/cpukit/rtems/include/rtems/rtems/barriermp.h
@@ -7,7 +7,7 @@
* with the Multiprocessing Support in the Barrier Manager.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -29,7 +29,8 @@ extern "C" {
*
* @ingroup ClassicMP
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the transparent multiprocessing
+ * support within the Classic API Barrier Manager.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/cache.h b/cpukit/rtems/include/rtems/rtems/cache.h
index c4bc79d..372f8f3 100644
--- a/cpukit/rtems/include/rtems/rtems/cache.h
+++ b/cpukit/rtems/include/rtems/rtems/cache.h
@@ -9,27 +9,12 @@
* Functionality Associated with the Cache Manager
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
- *
- *
- * The functions in this file define the API to the RTEMS Cache Manager and
- * are divided into data cache and instruction cache functions. Data cache
- * functions are only meaningful if a data cache is supported. Instruction
- * cache functions are only meaningful if an instruction cache is supported.
- *
- * The functions below are implemented with CPU dependent support routines
- * implemented as part of libcpu. In the event that a CPU does not support a
- * specific function, the CPU dependent routine does nothing (but does exist).
- *
- * At this point, the Cache Manager makes no considerations, and provides no
- * support for BSP specific issues such as a secondary cache. In such a system,
- * the CPU dependent routines would have to be modified, or a BSP layer added
- * to this Manager.
*/
#ifndef _RTEMS_RTEMS_CACHE_H
@@ -47,7 +32,19 @@ extern "C" {
*
* @ingroup ClassicRTEMS
*
- * This encapsulates functionality which XXX
+ * The functions in this file define the API to the RTEMS Cache Manager and
+ * are divided into data cache and instruction cache functions. Data cache
+ * functions are only meaningful if a data cache is supported. Instruction
+ * cache functions are only meaningful if an instruction cache is supported.
+ *
+ * The functions are implemented with CPU dependent support routines
+ * implemented as part of libcpu. In the event that a CPU does not support a
+ * specific function, the CPU dependent routine does nothing (but does exist).
+ *
+ * At this point, the Cache Manager makes no considerations, and provides no
+ * support for BSP specific issues such as a secondary cache. In such a system,
+ * the CPU dependent routines would have to be modified, or a BSP layer added
+ * to this Manager.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/clock.h b/cpukit/rtems/include/rtems/rtems/clock.h
index ec8d8f8..e933a5e 100644
--- a/cpukit/rtems/include/rtems/rtems/clock.h
+++ b/cpukit/rtems/include/rtems/rtems/clock.h
@@ -19,7 +19,7 @@
* - obtain the system uptime
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -42,7 +42,8 @@
*
* @ingroup ClassicRTEMS
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the Classic API Clock
+ * Manager.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/config.h b/cpukit/rtems/include/rtems/rtems/config.h
index 3ad19ea..e8126cc 100644
--- a/cpukit/rtems/include/rtems/rtems/config.h
+++ b/cpukit/rtems/include/rtems/rtems/config.h
@@ -10,7 +10,7 @@
* parameters specific for the RTEMS API.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -33,7 +33,8 @@ extern "C" {
*
* @ingroup ClassicRTEMS
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the application's configuration
+ * of the Classic API including the maximum number of each class of objects.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/eventmp.h b/cpukit/rtems/include/rtems/rtems/eventmp.h
index d672da8..3ffaa91 100644
--- a/cpukit/rtems/include/rtems/rtems/eventmp.h
+++ b/cpukit/rtems/include/rtems/rtems/eventmp.h
@@ -10,7 +10,7 @@
* with the Multiprocessing Support in the Event Manager.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -36,7 +36,8 @@ extern "C" {
*
* @ingroup ClassicMP
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the transparent multiprocessing
+ * support within the Classic API Event Manager.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/intr.h b/cpukit/rtems/include/rtems/rtems/intr.h
index f80afc1..a98d0be 100644
--- a/cpukit/rtems/include/rtems/rtems/intr.h
+++ b/cpukit/rtems/include/rtems/rtems/intr.h
@@ -10,7 +10,7 @@
* the Interrupt Manager.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -34,7 +34,8 @@ extern "C" {
*
* @ingroup ClassicRTEMS
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the Classic API Interrupt
+ * Manager.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/message.h b/cpukit/rtems/include/rtems/rtems/message.h
index 1c24885..054ec80 100644
--- a/cpukit/rtems/include/rtems/rtems/message.h
+++ b/cpukit/rtems/include/rtems/rtems/message.h
@@ -22,7 +22,7 @@
* - flush all messages on a queue
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -64,7 +64,8 @@ typedef struct {
*
* @ingroup ClassicRTEMS
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the Classic API Message Queue
+ * Manager.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/modes.h b/cpukit/rtems/include/rtems/rtems/modes.h
index 7b07c88..d23032c 100644
--- a/cpukit/rtems/include/rtems/rtems/modes.h
+++ b/cpukit/rtems/include/rtems/rtems/modes.h
@@ -10,7 +10,7 @@
* with the RTEMS thread and RTEMS_ASR modes.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -32,7 +32,8 @@ extern "C" {
*
* @ingroup ClassicRTEMS
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the task modes supported
+ * by the Classic API Task Manager.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/mp.h b/cpukit/rtems/include/rtems/rtems/mp.h
index fc59e74..1648fcb 100644
--- a/cpukit/rtems/include/rtems/rtems/mp.h
+++ b/cpukit/rtems/include/rtems/rtems/mp.h
@@ -10,7 +10,7 @@
* with the Multiprocessing Manager.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -26,7 +26,8 @@
*
* @ingroup ClassicRTEMS
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the distributed
+ * Multiprocessing support in the Classic API.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/msgmp.h b/cpukit/rtems/include/rtems/rtems/msgmp.h
index 87ae40d..9443721 100644
--- a/cpukit/rtems/include/rtems/rtems/msgmp.h
+++ b/cpukit/rtems/include/rtems/rtems/msgmp.h
@@ -7,7 +7,7 @@
* with the Multiprocessing Support in the Message Manager.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -33,7 +33,8 @@ extern "C" {
*
* @ingroup ClassicMP
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the transparent multiprocessing
+ * support within the Classic API Message Queue Manager.
*/
/*{*/
diff --git a/cpukit/rtems/include/rtems/rtems/object.h b/cpukit/rtems/include/rtems/rtems/object.h
index bd80cc0..4c8a126 100644
--- a/cpukit/rtems/include/rtems/rtems/object.h
+++ b/cpukit/rtems/include/rtems/rtems/object.h
@@ -9,7 +9,7 @@
* This include file defines Classic API interfaces to Object Services.
*/
-/* COPYRIGHT (c) 1989-2011.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -34,7 +34,8 @@ extern "C" {
*
* @ingroup ClassicRTEMS
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the Classic API Object
+ * Class Services.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/partmp.h b/cpukit/rtems/include/rtems/rtems/partmp.h
index 4d3bf27..28907c7 100644
--- a/cpukit/rtems/include/rtems/rtems/partmp.h
+++ b/cpukit/rtems/include/rtems/rtems/partmp.h
@@ -7,7 +7,7 @@
* with the Multiprocessing Support in the Partition Manager.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -33,7 +33,8 @@ extern "C" {
*
* @ingroup ClassicMP
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the transparent multiprocessing
+ * support within the Classic API Partition Manager.
*/
/*{*/
diff --git a/cpukit/rtems/include/rtems/rtems/region.h b/cpukit/rtems/include/rtems/rtems/region.h
index 37bf82e..12ca41e 100644
--- a/cpukit/rtems/include/rtems/rtems/region.h
+++ b/cpukit/rtems/include/rtems/rtems/region.h
@@ -19,7 +19,7 @@
* - return a segment to a region
*/
-/* COPYRIGHT (c) 1989-2009.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -46,7 +46,8 @@ extern "C" {
*
* @ingroup ClassicRTEMS
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the Classic API Region
+ * Manager.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/regionmp.h b/cpukit/rtems/include/rtems/rtems/regionmp.h
index 65eb88b..e6a5dff 100644
--- a/cpukit/rtems/include/rtems/rtems/regionmp.h
+++ b/cpukit/rtems/include/rtems/rtems/regionmp.h
@@ -10,7 +10,7 @@
* with the Multiprocessing Support in the Region Manager.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -36,7 +36,8 @@ extern "C" {
*
* @ingroup ClassicMP
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the transparent multiprocessing
+ * support within the Classic API Region Manager.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/semmp.h b/cpukit/rtems/include/rtems/rtems/semmp.h
index a3fd2d9..be48187 100644
--- a/cpukit/rtems/include/rtems/rtems/semmp.h
+++ b/cpukit/rtems/include/rtems/rtems/semmp.h
@@ -10,7 +10,7 @@
* with the Multiprocessing Support in the Semaphore Manager.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -34,7 +34,8 @@ extern "C" {
*
* @ingroup ClassicMP
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the transparent multiprocessing
+ * support within the Classic API Semaphore Manager.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/signalmp.h b/cpukit/rtems/include/rtems/rtems/signalmp.h
index 3d1608e..7cf784a 100644
--- a/cpukit/rtems/include/rtems/rtems/signalmp.h
+++ b/cpukit/rtems/include/rtems/rtems/signalmp.h
@@ -7,7 +7,7 @@
* with the Multiprocessing Support in the Signal Manager.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -33,7 +33,8 @@ extern "C" {
*
* @ingroup ClassicMP
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the transparent multiprocessing
+ * support within the Classic API Signal Manager.
*/
/*{*/
diff --git a/cpukit/rtems/include/rtems/rtems/status.h b/cpukit/rtems/include/rtems/rtems/status.h
index 4dad087..2761791 100644
--- a/cpukit/rtems/include/rtems/rtems/status.h
+++ b/cpukit/rtems/include/rtems/rtems/status.h
@@ -10,7 +10,7 @@
* executive directives.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -32,7 +32,8 @@ extern "C" {
*
* @ingroup ClassicRTEMS
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the status codes returned
+ * by Classic API directives.
*/
/**@{*/
diff --git a/cpukit/rtems/include/rtems/rtems/taskmp.h b/cpukit/rtems/include/rtems/rtems/taskmp.h
index 1bce74b..0096f53 100644
--- a/cpukit/rtems/include/rtems/rtems/taskmp.h
+++ b/cpukit/rtems/include/rtems/rtems/taskmp.h
@@ -10,7 +10,7 @@
* with the multiprocessing support in the task manager.
*/
-/* COPYRIGHT (c) 1989-2008.
+/* COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -36,7 +36,8 @@ extern "C" {
*
* @ingroup ClassicMP
*
- * This encapsulates functionality which XXX
+ * This encapsulates functionality related to the transparent multiprocessing
+ * support within the Classic API Task Manager.
*/
/**@{*/
diff --git a/cpukit/rtems/src/region.c b/cpukit/rtems/src/region.c
index 99cc767..0b057e0 100644
--- a/cpukit/rtems/src/region.c
+++ b/cpukit/rtems/src/region.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -62,7 +62,7 @@ void _Region_Manager_initialization(void)
#if defined(RTEMS_MULTIPROCESSING)
_MPCI_Register_packet_processor(
MP_PACKET_REGION,
- 0 /* XXX _Region_MP_Process_packet */
+ 0 /* Multiprocessing is not currently supported for Regions */
);
#endif
diff --git a/cpukit/rtems/src/rtemsbuildid.c b/cpukit/rtems/src/rtemsbuildid.c
index 2344934..6ba9075 100644
--- a/cpukit/rtems/src/rtemsbuildid.c
+++ b/cpukit/rtems/src/rtemsbuildid.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -20,7 +20,10 @@
#include <rtems/score/objectimpl.h>
-/* XXX: This is for language bindings */
+/*
+ * This is implemented as a macro. This body is provided to support
+ * bindings from non-C based languages.
+ */
Objects_Id rtems_build_id(
uint32_t api,
uint32_t class,
diff --git a/cpukit/rtems/src/rtemsobjectgetname.c b/cpukit/rtems/src/rtemsobjectgetname.c
index 459a6a7..778da84 100644
--- a/cpukit/rtems/src/rtemsobjectgetname.c
+++ b/cpukit/rtems/src/rtemsobjectgetname.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -20,7 +20,10 @@
#include <rtems/score/objectimpl.h>
-/* XXX: This is for language bindings */
+/*
+ * This is implemented as a macro. This body is provided to support
+ * bindings from non-C based languages.
+ */
char *rtems_object_get_name(
Objects_Id id,
size_t length,
diff --git a/cpukit/rtems/src/rtemsobjectidapimaximum.c b/cpukit/rtems/src/rtemsobjectidapimaximum.c
index 7f4a56f..35a101c 100644
--- a/cpukit/rtems/src/rtemsobjectidapimaximum.c
+++ b/cpukit/rtems/src/rtemsobjectidapimaximum.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -20,7 +20,10 @@
#include <rtems/score/objectimpl.h>
-/* XXX: This is for language bindings */
+/*
+ * This is implemented as a macro. This body is provided to support
+ * bindings from non-C based languages.
+ */
int rtems_object_id_api_maximum(void);
int rtems_object_id_api_maximum(void)
diff --git a/cpukit/rtems/src/rtemsobjectidapiminimum.c b/cpukit/rtems/src/rtemsobjectidapiminimum.c
index 3315a74..828b068 100644
--- a/cpukit/rtems/src/rtemsobjectidapiminimum.c
+++ b/cpukit/rtems/src/rtemsobjectidapiminimum.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -20,7 +20,10 @@
#include <rtems/score/objectimpl.h>
-/* XXX: This is for language bindings */
+/*
+ * This is implemented as a macro. This body is provided to support
+ * bindings from non-C based languages.
+ */
int rtems_object_id_api_minimum(void);
int rtems_object_id_api_minimum(void)
diff --git a/cpukit/rtems/src/rtemsobjectidgetapi.c b/cpukit/rtems/src/rtemsobjectidgetapi.c
index dce296c..b6ce8bf 100644
--- a/cpukit/rtems/src/rtemsobjectidgetapi.c
+++ b/cpukit/rtems/src/rtemsobjectidgetapi.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -20,7 +20,10 @@
#include <rtems/score/objectimpl.h>
-/* XXX: This is for language bindings */
+/*
+ * This is implemented as a macro. This body is provided to support
+ * bindings from non-C based languages.
+ */
int rtems_object_id_get_api(
Objects_Id id
);
diff --git a/cpukit/rtems/src/rtemsobjectidgetclass.c b/cpukit/rtems/src/rtemsobjectidgetclass.c
index e18a763..03fb764 100644
--- a/cpukit/rtems/src/rtemsobjectidgetclass.c
+++ b/cpukit/rtems/src/rtemsobjectidgetclass.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -20,7 +20,10 @@
#include <rtems/score/objectimpl.h>
-/* XXX: This is for language bindings */
+/*
+ * This is implemented as a macro. This body is provided to support
+ * bindings from non-C based languages.
+ */
int rtems_object_id_get_class(
Objects_Id id
);
diff --git a/cpukit/rtems/src/rtemsobjectidgetindex.c b/cpukit/rtems/src/rtemsobjectidgetindex.c
index 8a08bb2..1f68e2a 100644
--- a/cpukit/rtems/src/rtemsobjectidgetindex.c
+++ b/cpukit/rtems/src/rtemsobjectidgetindex.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -20,7 +20,10 @@
#include <rtems/score/objectimpl.h>
-/* XXX: This is for language bindings */
+/*
+ * This is implemented as a macro. This body is provided to support
+ * bindings from non-C based languages.
+ */
int rtems_object_id_get_index(
Objects_Id id
);
diff --git a/cpukit/rtems/src/rtemsobjectidgetnode.c b/cpukit/rtems/src/rtemsobjectidgetnode.c
index ee3157b..dc2c335 100644
--- a/cpukit/rtems/src/rtemsobjectidgetnode.c
+++ b/cpukit/rtems/src/rtemsobjectidgetnode.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2013.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -20,7 +20,10 @@
#include <rtems/score/objectimpl.h>
-/* XXX: This is for language bindings */
+/*
+ * This is implemented as a macro. This body is provided to support
+ * bindings from non-C based languages.
+ */
int rtems_object_id_get_node(
Objects_Id id
);
More information about the vc
mailing list