change log for rtems (2010-08-09)
rtems-vc at rtems.org
rtems-vc at rtems.org
Mon Aug 9 08:10:39 UTC 2010
*sh* (on branch rtems-4-10-branch):
2010-08-03 Sebastian Huber <sebastian.huber at embedded-brains.de>
PR 1650/cpukit
* user/part.t: Clarify.
M 1.274.2.5 doc/ChangeLog
M 1.19.2.1 doc/user/part.t
diff -u rtems/doc/ChangeLog:1.274.2.4 rtems/doc/ChangeLog:1.274.2.5
--- rtems/doc/ChangeLog:1.274.2.4 Fri Jun 11 06:11:29 2010
+++ rtems/doc/ChangeLog Mon Aug 9 02:29:14 2010
@@ -1,3 +1,8 @@
+2010-08-03 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ PR 1650/cpukit
+ * user/part.t: Clarify.
+
2010-06-11 Ralf Corsépius <ralf.corsepius at rtems.org>
* Makefile.am: Don't install html_imagesdir unconditionally.
diff -u rtems/doc/user/part.t:1.19 rtems/doc/user/part.t:1.19.2.1
--- rtems/doc/user/part.t:1.19 Tue May 18 08:41:53 2010
+++ rtems/doc/user/part.t Mon Aug 9 02:29:14 2010
@@ -457,3 +457,6 @@
Returning a buffer to a global partition which does
not reside on the local node will generate a request telling the
remote node to return the buffer to the specified partition.
+
+Returning a buffer multiple times is an error. It will corrupt the internal
+state of the partition.
*sh* (on branch rtems-4-10-branch):
2010-08-09 Sebastian Huber <sebastian.huber at embedded-brains.de>
PR 1513/doc
* user/chains.t: Added missing functions. Uniform text for
unprotected functions.
M 1.287 doc/ChangeLog
M 1.274.2.6 doc/ChangeLog
M 1.9 doc/user/chains.t
M 1.8.2.1 doc/user/chains.t
diff -u rtems/doc/ChangeLog:1.286 rtems/doc/ChangeLog:1.287
--- rtems/doc/ChangeLog:1.286 Tue Aug 3 02:04:46 2010
+++ rtems/doc/ChangeLog Mon Aug 9 02:51:19 2010
@@ -1,3 +1,9 @@
+2010-08-09 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ PR 1513/doc
+ * user/chains.t: Added missing functions. Uniform text for
+ unprotected functions.
+
2010-08-03 Sebastian Huber <sebastian.huber at embedded-brains.de>
PR 1650/cpukit
diff -u rtems/doc/ChangeLog:1.274.2.5 rtems/doc/ChangeLog:1.274.2.6
--- rtems/doc/ChangeLog:1.274.2.5 Mon Aug 9 02:29:14 2010
+++ rtems/doc/ChangeLog Mon Aug 9 02:51:52 2010
@@ -1,3 +1,9 @@
+2010-08-09 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ PR 1513/doc
+ * user/chains.t: Added missing functions. Uniform text for
+ unprotected functions.
+
2010-08-03 Sebastian Huber <sebastian.huber at embedded-brains.de>
PR 1650/cpukit
diff -u rtems/doc/user/chains.t:1.8 rtems/doc/user/chains.t:1.9
--- rtems/doc/user/chains.t:1.8 Tue May 18 06:44:54 2010
+++ rtems/doc/user/chains.t Mon Aug 9 02:51:19 2010
@@ -34,8 +34,11 @@
@item @code{@value{DIRPREFIX}chain_is_head} - Is the node the head ?
@item @code{@value{DIRPREFIX}chain_is_tail} - Is the node the tail ?
@item @code{@value{DIRPREFIX}chain_extract} - Extract the node from the chain
+ at item @code{@value{DIRPREFIX}chain_extract_unprotected} - Extract the node from the chain (unprotected)
@item @code{@value{DIRPREFIX}chain_get} - Return the first node on the chain
+ at item @code{@value{DIRPREFIX}chain_get_unprotected} - Return the first node on the chain (unprotected)
@item @code{@value{DIRPREFIX}chain_insert} - Insert the node into the chain
+ at item @code{@value{DIRPREFIX}chain_insert_unprotected} - Insert the node into the chain (unprotected)
@item @code{@value{DIRPREFIX}chain_append} - Append the node to chain
@item @code{@value{DIRPREFIX}chain_append_unprotected} - Append the node to chain (unprotected)
@item @code{@value{DIRPREFIX}chain_prepend} - Prepend the node to the end of the chain
@@ -588,6 +591,9 @@
Interrupts are disabled while extracting the node to ensure the
atomicity of the operation.
+Use @code{@value{DIRPREFIX}chain_extract_unprotected()} to avoid disabling of
+interrupts.
+
@c
@c
@c
@@ -623,6 +629,9 @@
Interrupts are disabled while obtaining the node to ensure the
atomicity of the operation.
+Use @code{@value{DIRPREFIX}chain_get_unprotected()} to avoid disabling of
+interrupts.
+
@c
@c
@c
@@ -657,6 +666,9 @@
Interrupts are disabled during the insert to ensure the atomicity of
the operation.
+Use @code{@value{DIRPREFIX}chain_insert_unprotected()} to avoid disabling of
+interrupts.
+
@c
@c
@c
@@ -690,38 +702,8 @@
Interrupts are disabled during the append to ensure the atomicity of
the operation.
- at c
- at c
- at c
- at page
- at subsection Append a Node (unprotected)
-
- at cindex chain append a node unprotected
-
- at subheading CALLING SEQUENCE:
-
- at ifset is-C
- at findex @value{DIRPREFIX}chain_append_unprotected
- at example
-void @value{DIRPREFIX}chain_append_unprotected(
- @value{DIRPREFIX}chain_control *the_chain,
- @value{DIRPREFIX}chain_node *the_node
-);
- at end example
- at end ifset
-
- at subheading RETURNS
-
-Returns nothing.
-
- at subheading DESCRIPTION:
-
-This routine appends a node to the end of a chain.
-
- at subheading NOTES:
-
-Interrupts are NOT disabled during the append to ensure the atomicity of
-the operation.
+Use @code{@value{DIRPREFIX}chain_append_unprotected()} to avoid disabling of
+interrupts.
@c
@c
@@ -756,35 +738,5 @@
Interrupts are disabled during the prepend to ensure the atomicity of
the operation.
- at c
- at c
- at c
- at page
- at subsection Prepend a Node (unprotected)
-
- at cindex prepend node
-
- at subheading CALLING SEQUENCE:
-
- at ifset is-C
- at findex @value{DIRPREFIX}chain_prepend_unprotected
- at example
-void @value{DIRPREFIX}chain_prepend_unprotected(
- @value{DIRPREFIX}chain_control *the_chain,
- @value{DIRPREFIX}chain_node *the_node
-);
- at end example
- at end ifset
-
- at subheading RETURNS
-
-Returns nothing.
-
- at subheading DESCRIPTION:
-
-This routine prepends a node to the front of the chain.
-
- at subheading NOTES:
-
-Interrupts are NOT disabled during the prepend to ensure the atomicity of
-the operation.
+Use @code{@value{DIRPREFIX}chain_prepend_unprotected()} to avoid disabling of
+interrupts.
diff -u rtems/doc/user/chains.t:1.8 rtems/doc/user/chains.t:1.8.2.1
--- rtems/doc/user/chains.t:1.8 Tue May 18 06:44:54 2010
+++ rtems/doc/user/chains.t Mon Aug 9 02:51:52 2010
@@ -34,8 +34,11 @@
@item @code{@value{DIRPREFIX}chain_is_head} - Is the node the head ?
@item @code{@value{DIRPREFIX}chain_is_tail} - Is the node the tail ?
@item @code{@value{DIRPREFIX}chain_extract} - Extract the node from the chain
+ at item @code{@value{DIRPREFIX}chain_extract_unprotected} - Extract the node from the chain (unprotected)
@item @code{@value{DIRPREFIX}chain_get} - Return the first node on the chain
+ at item @code{@value{DIRPREFIX}chain_get_unprotected} - Return the first node on the chain (unprotected)
@item @code{@value{DIRPREFIX}chain_insert} - Insert the node into the chain
+ at item @code{@value{DIRPREFIX}chain_insert_unprotected} - Insert the node into the chain (unprotected)
@item @code{@value{DIRPREFIX}chain_append} - Append the node to chain
@item @code{@value{DIRPREFIX}chain_append_unprotected} - Append the node to chain (unprotected)
@item @code{@value{DIRPREFIX}chain_prepend} - Prepend the node to the end of the chain
@@ -588,6 +591,9 @@
Interrupts are disabled while extracting the node to ensure the
atomicity of the operation.
+Use @code{@value{DIRPREFIX}chain_extract_unprotected()} to avoid disabling of
+interrupts.
+
@c
@c
@c
@@ -623,6 +629,9 @@
Interrupts are disabled while obtaining the node to ensure the
atomicity of the operation.
+Use @code{@value{DIRPREFIX}chain_get_unprotected()} to avoid disabling of
+interrupts.
+
@c
@c
@c
@@ -657,6 +666,9 @@
Interrupts are disabled during the insert to ensure the atomicity of
the operation.
+Use @code{@value{DIRPREFIX}chain_insert_unprotected()} to avoid disabling of
+interrupts.
+
@c
@c
@c
@@ -690,38 +702,8 @@
Interrupts are disabled during the append to ensure the atomicity of
the operation.
- at c
- at c
- at c
- at page
- at subsection Append a Node (unprotected)
-
- at cindex chain append a node unprotected
-
- at subheading CALLING SEQUENCE:
-
- at ifset is-C
- at findex @value{DIRPREFIX}chain_append_unprotected
- at example
-void @value{DIRPREFIX}chain_append_unprotected(
- @value{DIRPREFIX}chain_control *the_chain,
- @value{DIRPREFIX}chain_node *the_node
-);
- at end example
- at end ifset
-
- at subheading RETURNS
-
-Returns nothing.
-
- at subheading DESCRIPTION:
-
-This routine appends a node to the end of a chain.
-
- at subheading NOTES:
-
-Interrupts are NOT disabled during the append to ensure the atomicity of
-the operation.
+Use @code{@value{DIRPREFIX}chain_append_unprotected()} to avoid disabling of
+interrupts.
@c
@c
@@ -756,35 +738,5 @@
Interrupts are disabled during the prepend to ensure the atomicity of
the operation.
- at c
- at c
- at c
- at page
- at subsection Prepend a Node (unprotected)
-
- at cindex prepend node
-
- at subheading CALLING SEQUENCE:
-
- at ifset is-C
- at findex @value{DIRPREFIX}chain_prepend_unprotected
- at example
-void @value{DIRPREFIX}chain_prepend_unprotected(
- @value{DIRPREFIX}chain_control *the_chain,
- @value{DIRPREFIX}chain_node *the_node
-);
- at end example
- at end ifset
-
- at subheading RETURNS
-
-Returns nothing.
-
- at subheading DESCRIPTION:
-
-This routine prepends a node to the front of the chain.
-
- at subheading NOTES:
-
-Interrupts are NOT disabled during the prepend to ensure the atomicity of
-the operation.
+Use @code{@value{DIRPREFIX}chain_prepend_unprotected()} to avoid disabling of
+interrupts.
*sh* (on branch rtems-4-10-branch):
2010-08-09 Sebastian Huber <sebastian.huber at embedded-brains.de>
* sapi/inline/rtems/chain.inl: Added
rtems_chain_extract_unprotected().
M 1.2551 cpukit/ChangeLog
M 1.2346.2.58 cpukit/ChangeLog
M 1.9 cpukit/sapi/inline/rtems/chain.inl
M 1.8.2.1 cpukit/sapi/inline/rtems/chain.inl
diff -u rtems/cpukit/ChangeLog:1.2550 rtems/cpukit/ChangeLog:1.2551
--- rtems/cpukit/ChangeLog:1.2550 Mon Aug 9 02:33:58 2010
+++ rtems/cpukit/ChangeLog Mon Aug 9 02:38:50 2010
@@ -1,3 +1,8 @@
+2010-08-09 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * sapi/inline/rtems/chain.inl: Added
+ rtems_chain_extract_unprotected().
+
2010-08-09 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/include/aio.h, posix/src/aio_return.c:
diff -u rtems/cpukit/ChangeLog:1.2346.2.57 rtems/cpukit/ChangeLog:1.2346.2.58
--- rtems/cpukit/ChangeLog:1.2346.2.57 Mon Aug 9 02:37:17 2010
+++ rtems/cpukit/ChangeLog Mon Aug 9 02:56:03 2010
@@ -1,3 +1,8 @@
+2010-08-09 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * sapi/inline/rtems/chain.inl: Added
+ rtems_chain_extract_unprotected().
+
2010-08-09 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/include/aio.h, posix/src/aio_return.c:
diff -u rtems/cpukit/sapi/inline/rtems/chain.inl:1.8 rtems/cpukit/sapi/inline/rtems/chain.inl:1.9
--- rtems/cpukit/sapi/inline/rtems/chain.inl:1.8 Fri Apr 30 03:39:15 2010
+++ rtems/cpukit/sapi/inline/rtems/chain.inl Mon Aug 9 02:38:51 2010
@@ -366,6 +366,21 @@
}
/**
+ * @brief Extract the specified node from a chain (unprotected).
+ *
+ * This routine extracts @a the_node from the chain on which it resides.
+ *
+ * @note It does NOT disable interrupts to ensure the atomicity of the
+ * append operation.
+ */
+RTEMS_INLINE_ROUTINE void rtems_chain_extract_unprotected(
+ rtems_chain_node *the_node
+)
+{
+ _Chain_Extract_unprotected( the_node );
+}
+
+/**
* @brief Obtain the first node on a chain
*
* This function removes the first node from @a the_chain and returns
diff -u rtems/cpukit/sapi/inline/rtems/chain.inl:1.8 rtems/cpukit/sapi/inline/rtems/chain.inl:1.8.2.1
--- rtems/cpukit/sapi/inline/rtems/chain.inl:1.8 Fri Apr 30 03:39:15 2010
+++ rtems/cpukit/sapi/inline/rtems/chain.inl Mon Aug 9 02:56:04 2010
@@ -366,6 +366,21 @@
}
/**
+ * @brief Extract the specified node from a chain (unprotected).
+ *
+ * This routine extracts @a the_node from the chain on which it resides.
+ *
+ * @note It does NOT disable interrupts to ensure the atomicity of the
+ * append operation.
+ */
+RTEMS_INLINE_ROUTINE void rtems_chain_extract_unprotected(
+ rtems_chain_node *the_node
+)
+{
+ _Chain_Extract_unprotected( the_node );
+}
+
+/**
* @brief Obtain the first node on a chain
*
* This function removes the first node from @a the_chain and returns
*ralf* (on branch rtems-4-10-branch):
2010-08-09 Ralf Corsépius <ralf.corsepius at rtems.org>
* posix/include/aio.h, posix/src/aio_return.c:
Let aio_return return ssize_t (Mandated by POSIX).
M 1.2550 cpukit/ChangeLog
M 1.2346.2.57 cpukit/ChangeLog
M 1.13 cpukit/posix/include/aio.h
M 1.12.2.1 cpukit/posix/include/aio.h
M 1.3 cpukit/posix/src/aio_return.c
M 1.2.2.1 cpukit/posix/src/aio_return.c
diff -u rtems/cpukit/ChangeLog:1.2549 rtems/cpukit/ChangeLog:1.2550
--- rtems/cpukit/ChangeLog:1.2549 Sun Aug 8 15:24:59 2010
+++ rtems/cpukit/ChangeLog Mon Aug 9 02:33:58 2010
@@ -1,3 +1,8 @@
+2010-08-09 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * posix/include/aio.h, posix/src/aio_return.c:
+ Let aio_return return ssize_t (Mandated by POSIX).
+
2010-08-08 Joel Sherrill <joel.sherrill at oarcorp.com>
* libfs/src/imfs/imfs.h: Fix typo.
diff -u rtems/cpukit/ChangeLog:1.2346.2.56 rtems/cpukit/ChangeLog:1.2346.2.57
--- rtems/cpukit/ChangeLog:1.2346.2.56 Thu Jul 1 10:18:05 2010
+++ rtems/cpukit/ChangeLog Mon Aug 9 02:37:17 2010
@@ -1,3 +1,8 @@
+2010-08-09 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * posix/include/aio.h, posix/src/aio_return.c:
+ Let aio_return return ssize_t (Mandated by POSIX).
+
2010-07-01 Sebastian Huber <sebastian.huber at embedded-brains.de>
* libcsupport/include/rtems/libio_.h: Removed
diff -u rtems/cpukit/posix/include/aio.h:1.12 rtems/cpukit/posix/include/aio.h:1.13
--- rtems/cpukit/posix/include/aio.h:1.12 Fri Jan 2 03:50:52 2009
+++ rtems/cpukit/posix/include/aio.h Mon Aug 9 02:33:58 2010
@@ -16,12 +16,12 @@
#ifndef _AIO_H
#define _AIO_H
+#include <unistd.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-#include <unistd.h>
-
#if defined(_POSIX_ASYNCHRONOUS_IO)
/*
@@ -109,7 +109,7 @@
* P1003.1b-1993, p. 162
*/
-int aio_return(
+ssize_t aio_return(
const struct aiocb *aiocbp
);
diff -u rtems/cpukit/posix/include/aio.h:1.12 rtems/cpukit/posix/include/aio.h:1.12.2.1
--- rtems/cpukit/posix/include/aio.h:1.12 Fri Jan 2 03:50:52 2009
+++ rtems/cpukit/posix/include/aio.h Mon Aug 9 02:37:18 2010
@@ -16,12 +16,12 @@
#ifndef _AIO_H
#define _AIO_H
+#include <unistd.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-#include <unistd.h>
-
#if defined(_POSIX_ASYNCHRONOUS_IO)
/*
@@ -109,7 +109,7 @@
* P1003.1b-1993, p. 162
*/
-int aio_return(
+ssize_t aio_return(
const struct aiocb *aiocbp
);
diff -u rtems/cpukit/posix/src/aio_return.c:1.2 rtems/cpukit/posix/src/aio_return.c:1.3
--- rtems/cpukit/posix/src/aio_return.c:1.2 Fri Jan 2 04:04:23 2009
+++ rtems/cpukit/posix/src/aio_return.c Mon Aug 9 02:33:58 2010
@@ -22,7 +22,7 @@
#include <rtems/system.h>
#include <rtems/seterr.h>
-int aio_return(
+ssize_t aio_return(
const struct aiocb *aiocbp __attribute__((unused))
)
{
diff -u rtems/cpukit/posix/src/aio_return.c:1.2 rtems/cpukit/posix/src/aio_return.c:1.2.2.1
--- rtems/cpukit/posix/src/aio_return.c:1.2 Fri Jan 2 04:04:23 2009
+++ rtems/cpukit/posix/src/aio_return.c Mon Aug 9 02:37:18 2010
@@ -22,7 +22,7 @@
#include <rtems/system.h>
#include <rtems/seterr.h>
-int aio_return(
+ssize_t aio_return(
const struct aiocb *aiocbp __attribute__((unused))
)
{
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100809/24987095/attachment-0001.html>
More information about the vc
mailing list