Commit Graph

23959 Commits

Author SHA1 Message Date
Joel Sherrill
c424bb544e librtems++ - Disable Interrupt Class When Not Simple Vectored
This class only works on Simple Vectored Architectures. Even worse,
it is not guaranteed to compile on a Programmable Interrupt Vector
architecture.
2012-05-09 16:56:05 -05:00
Joel Sherrill
826fa6b169 Score ISR - Minimize Capabilities When Not Simple Vectored
In particular CPU_INTERRUPT_NUMBER_OF_VECTORS and
CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER are only used on
Simple Vectored Architectures, so do not depend on
them being defined. This disables as much as possible
that is specific to the Simple Vectored Model and
not expected to be used on architectures which use
the Programmable Interrupt Controller model for
interrupt handler vectoring.
2012-05-09 16:55:10 -05:00
Joel Sherrill
2824e63a69 Score Semaphore - Need Semaphore Seize Body When Multiprocessing is Enabled
mptests did not link without this modification.
2012-05-09 16:55:10 -05:00
Joel Sherrill
c100ba13de spqreslib - Make global data extern in system.h
Global data was declared in system.h but should have been extern
in system.h and declared in init.c. There were duplicate symbol
linking errors on at least powerpc/mpc8260ads.
2012-05-09 16:55:05 -05:00
Gedare Bloom
f53aa8d302 rbtree: API changes. Remove rbtree control node from RBTree_Next.
The implementation of RBTree_Next was using an awkward construction to detect
and avoid accessing the false root of the red-black tree. To deal with the
false root, RBTree_Next was comparing node parents with the control node.
Instead the false root can be detected by checking if the grandparent of a
node exists; the grandparent of the tree's true root is NULL by definition
so the root of the tree is found while walking up the tree by checking for
the non-existence of a grandparent.

This change propagates into the predecessor/successor and iterate functions.
2012-05-08 18:40:44 -04:00
Gedare Bloom
a41950ddfb PR2061: RBTree: updating min and max on insert with duplicates
When inserting to a red-black tree with duplicates the min and max pointers are
not updated properly. We need to check the key of the min/max node against the
insert node since the insert point could be the child of a node with an
identical key to the min/max node.
2012-05-08 18:40:44 -04:00
Gedare Bloom
3d74da6e23 PR2060: RBTree: updating min and max on extract path
During node extraction from a red-black tree the min and max values are updated
incorrectly. We need to use the successor/predecessor functions to find the
next/previous node when we remove the min/max from the tree.
2012-05-08 18:40:44 -04:00
Gedare Bloom
0f31ec5d3b score/rbtree: eliminate unused function _RBTree_Peek. 2012-05-08 18:40:44 -04:00
Gedare Bloom
857275285f rbtree: API Changes
Make default for rtems_rbtree functions be unprotected (preemption enabled)
unless an unprotected variant e.g. rtems_rbtree_xxx_unprotected is available.
2012-05-08 18:40:44 -04:00
Gedare Bloom
8712622959 score/rbtree: replace _RBTree_Peek_unprotected with _RBTree_First. 2012-05-08 18:40:44 -04:00
Gedare Bloom
bc96bad6ca score/scheduling: Use RBTree_First instead of Peek in EDF scheduler. 2012-05-08 18:40:44 -04:00
Joel Sherrill
19a3f501bb jmr3904 - Correct tm27.h to use PIC Interrupt Model 2012-05-07 17:02:07 -05:00
Joel Sherrill
dac3a52617 genmongoosev - Correct tm27.h to use PIC Interrupt Model 2012-05-07 16:58:39 -05:00
Joel Sherrill
c3e73138b8 csb350 - Correct tm27.h to use PIC Interrupt Model 2012-05-07 16:58:20 -05:00
Joel Sherrill
865bffd1c7 tm30 - Fix warning for Init needed prototype 2012-05-07 16:57:35 -05:00
Joel Sherrill
33a105fb69 Revert: Remove CVS Ids
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Joel Sherrill
333a312d9b samples/base_mp - Makefile.am did not set LINK_OBJS
LINK_OBJS =

instead of

LINK_OBJS = $(mp01_node1_OBJECTS)
2012-05-04 15:14:34 -05:00
Joel Sherrill
48e02af9ca mptests - Makefile.am did not set LINK_OBJS
LINK_OBJS =

instead of

LINK_OBJS = $(mp01_node1_OBJECTS)
2012-05-04 14:59:10 -05:00
Sebastian Huber
2cd2ed3288 nfsclient: Add rename operation 2012-05-04 13:29:45 +02:00
Sebastian Huber
078369f41d nfsclient: Fix hard link operation 2012-05-04 13:29:28 +02:00
Sebastian Huber
1747208963 Filesystem: Use proper parameter in NFS 2012-05-04 10:53:52 +02:00
Sebastian Huber
6b36ca2371 Filesystem: Remove pipe_lseek() 2012-05-04 10:53:52 +02:00
Sebastian Huber
5a4bb758c0 Filesystem: Remove per file descriptor semaphore
The per file descriptor semaphore (field of rtems_libio_t) is unused in
RTEMS.  There is a considerable memory overhead due to that.  A
semaphore needs roughly 124 bytes which is huge compared to the
approximately 72 bytes for the file descriptor structure itself.  Device
drivers can create their own synchronization primitives in the open
handler on demand.
2012-05-04 10:53:51 +02:00
Ralf Corsépius
27272db336 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
9847d61df1 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
f8e5771888 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
af981ca0c9 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
a53584c028 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
8ebf3db423 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
d8ba99b47d Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
323d04127f Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
0b6bf2b6a1 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
ee32f67a6f Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
0caef32f7b Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
fdc39c482a Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Ralf Corsépius
9f4e8fbc63 Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Ralf Corsépius
70f3719807 Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Ralf Corsépius
2376237f4c Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Ralf Corsépius
4dec3529a1 Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Ralf Corsépius
84b0190564 Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Ralf Corsépius
67cad33ea9 Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Ralf Corsépius
27a345bfb8 Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Ralf Corsépius
820d82ed8a Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Ralf Corsépius
6a5e19cc56 Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Ralf Corsépius
91d2e18249 Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Ralf Corsépius
87b72d48bd Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Ralf Corsépius
2ddb743e1d Remove CVS-Ids. 2012-05-04 09:36:23 +02:00
Ralf Corsépius
b2c6795e7b Remove CVS-Ids. 2012-05-04 09:36:23 +02:00
Ralf Corsépius
bf8e31645c Remove CVS-Ids. 2012-05-04 09:36:23 +02:00
Ralf Corsépius
63de9348b8 Remove CVS-Ids. 2012-05-04 09:36:23 +02:00