Joel Sherrill
8a5f2ca04d
Split mqueue into multiple files.
1999-11-02 17:18:58 +00:00
Joel Sherrill
b95e303fca
Removed warnings.
1999-11-02 17:14:40 +00:00
Joel Sherrill
4dc89814e1
Split mqueue.c into a variety of files.
1999-11-02 17:00:35 +00:00
Joel Sherrill
5f2566b5e2
Fixed F_SETFL to properly convert between internal
...
libio flags and external fcntl.h style flags.
1999-11-02 16:27:53 +00:00
Joel Sherrill
063e4950f4
Added support for configuring base filesystem. First attempt at
...
a full mount table at initialization. This is the wrong place
to mount filesystems 2-n since no device drivers are initialized
yet.
1999-11-02 16:27:05 +00:00
Joel Sherrill
19b74f3175
Check for NULL being passed in.
1999-11-02 16:25:05 +00:00
Joel Sherrill
3fb2a8daf7
Fixed typo where memfile_handlers set twice and directory_handlers
...
was not set.
1999-11-02 16:23:50 +00:00
Joel Sherrill
ac8adcf06f
Properly initialize location variable.
1999-11-02 16:22:58 +00:00
Joel Sherrill
5d36b344ae
Fixed bug which resulted in misaligned object control structures
...
being allocated. This bug manifested itself on the SPARC
since it uses ldd/std in its context save/restore routines.
1999-11-02 16:01:52 +00:00
Joel Sherrill
32441ab768
Added a comment to indicate that if a task blocked on a priority
...
based thread queue were to be reinserted based on its new priority,
this is where the logic would go.
1999-11-02 16:00:37 +00:00
Joel Sherrill
2cd54440b1
Added code to allocate by index. This is the object ID style used
...
by ITRON.
Corrected spacing.
1999-11-02 15:58:39 +00:00
Joel Sherrill
8f0529f65a
Added maximum count detection logic.
1999-11-02 15:58:09 +00:00
Joel Sherrill
9693fdac75
Added support for message priority as required by POSIX.
1999-11-02 15:57:58 +00:00
Joel Sherrill
af10d3ef5d
Corrected spacing.
1999-11-02 15:57:43 +00:00
Joel Sherrill
3f421dab80
Added message queues and semaphores.
1999-11-02 15:56:10 +00:00
Joel Sherrill
be0fc09935
Added CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES and
...
CONFIGURE_MAXIMUM_POSIX_SEMAPHORES.
1999-11-02 15:55:34 +00:00
Joel Sherrill
861e94d98a
Added comment to make sure Classic API priority to Core priority
...
is added in the future.
1999-11-02 15:35:58 +00:00
Joel Sherrill
3ba754e136
Added comments for _RTEMS_tasks_Create_extension,
...
_RTEMS_tasks_Start_extension, _RTEMS_tasks_Delete_extension, and
_RTEMS_tasks_Switch_extension.
1999-11-02 15:34:40 +00:00
Joel Sherrill
b970c48963
Added a case to support the core semaphore error returned when the
...
maximum semaphore count is exceeded.
1999-11-02 15:33:14 +00:00
Joel Sherrill
d80188eb6f
Added code to utilize the maximum_count attribute of core semaphores
...
and initialize it to a value that would keep it from every being
a problem.
1999-11-02 15:30:20 +00:00
Joel Sherrill
fd882eed44
Now much closer to working.
1999-11-02 15:29:47 +00:00
Joel Sherrill
26c828fe47
Added assert in case _Objects_Get_information fails since this
...
should NEVER occur.
1999-11-02 15:29:04 +00:00
Joel Sherrill
2b95c07bda
Commented out lines causing warning.
1999-11-02 15:28:02 +00:00
Joel Sherrill
733a24873f
Added #define for SEM_FAILED.
1999-11-02 15:27:38 +00:00
Joel Sherrill
9d3a44be9c
Added include of <sys/siginfo.h>.
1999-11-02 15:27:20 +00:00
Joel Sherrill
f2422aa069
Added message queues and semaphores.
1999-11-02 15:26:46 +00:00
Joel Sherrill
43f7a90fc2
Enabled configuring mini or full IMFS.
1999-11-01 20:58:23 +00:00
Joel Sherrill
0910a25152
Added name to id support routine.
1999-11-01 20:31:25 +00:00
Joel Sherrill
89b6397249
Removed routines that had already been separated into their own files.
1999-11-01 18:02:44 +00:00
Jennifer Averett
4a07d2b866
Moved the rmnod callback from the operations table to the handler table.
1999-10-29 15:19:13 +00:00
Jennifer Averett
4bde80720f
Joel added a table of mount entry requests to be processed during
...
initialization.
1999-10-29 14:28:39 +00:00
Joel Sherrill
7046cddb1b
Patch rtems-rc-19991011-3.diff from Ralf Corsepius.
1999-10-28 16:01:41 +00:00
Joel Sherrill
ae7325bdc8
rxgen960 now compiles -- may not link.
1999-10-27 17:25:53 +00:00
Joel Sherrill
702c5f5b42
The rxgen960 BSP and i960 RPM support was submitted by Mark Bronson
...
<mark@ramix.com > of RAMIX.
1999-10-27 15:29:18 +00:00
Joel Sherrill
c1cdaa0ce8
Patch from Emmanuel Raguet <raguet@crf.canon.fr> and Eric Valette
...
<valette@crf.canon.fr > to add a port of the GoAhead web server
(httpd) to the RTEMS build tree. They have successfully used
this BSP on i386/pc386 and PowerPC/mcp750.
Mark and Joel spoke with Nick Berliner <nickb@goahead.com > on
26 Oct 1999 about this port and got verbal approval to include
it in RTEMS distributions.
1999-10-27 12:50:33 +00:00
Joel Sherrill
79991746da
New files created by split of old imfs_handlers.c.
1999-10-26 21:51:20 +00:00
Joel Sherrill
2fe47fff06
Added include of libio.h so this would compile when posix is disabled.
1999-10-26 21:51:07 +00:00
Joel Sherrill
657e1bf66b
Added initial cut at miniIMFS which leaves out memfile and directory
...
readdir support. The next step is to add a mount table and configure
either the miniIMFS or the full IMFS at the application level.
1999-10-26 20:17:13 +00:00
Joel Sherrill
e54a7d33d2
Patch from Gerwin Pfab <pb@schenk.isar.de> to leave dispatching
...
disabled on exit to ISR Thread dispatching. This allows a
context switch to finish under high high interrupt rates.
1999-10-26 16:22:55 +00:00
Joel Sherrill
9a986282df
Increased minimum stack size to ensure that there are no problems
...
running the network stack.
1999-10-26 14:39:57 +00:00
Joel Sherrill
2782e69ff0
idir=/opt/tmp/opt/rtems
...
rdir=/opt/rtems
cd $idir
find . -type f | while read file
do
if [ ! -f ${file} ] ; then
echo ${file} missing
fi
done
1999-10-26 12:39:24 +00:00
Joel Sherrill
dd04e32a80
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move
...
c/src/lib/libmisc to c/src/libmisc.
1999-10-26 02:58:06 +00:00
Joel Sherrill
8379ada798
Patch from Eric Norum <eric@cls.usask.ca> to address the following problem
...
report from Philip A. Prindeville <philipp@zembu.com >:
I was working on a device driver for a certain ethernet chipset that
occassionally wraps in its buffer, and causes a resulting mbuf chain
with only a few dozen bytes in the first mbuf of the chain.
I wouldn't have thought this would be a problem, until I ran some
stress tests that flooded the ethernet receiver with packets and
started to get panics here:
250
251 if (m->m_pkthdr.len < sizeof(struct ip))
252 goto tooshort;
253
254 #ifdef DIAGNOSTIC
255 if (m->m_len < sizeof(struct ip))
256 panic("ipintr mbuf too short");
257 #endif
258
259 if (m->m_len < sizeof (struct ip) &&
260 (m = m_pullup(m, sizeof (struct ip))) == 0) {
261 ipstat.ips_toosmall++;
262 return;
263 }
264 ip = mtod(m, struct ip *);
and the panic was at line 256. But if I #undef'd DIAGNOSTICS,
then the m_pullup() at line 260 does the right thing and the packet
ends up being processed just fine.
So I started wondering, (a) why was the test checking for
something that apparently wasn't a fatal condition but rather
one that is subsequently recovered from a couple of lines later
and (b) why panic as a diagnostic "aid" from a recoverable
condition rather than just (say) log a message to the console?
All of this seems overly severe for no reason that is readily
apparent to me.
1999-10-25 16:09:45 +00:00
Joel Sherrill
b6c868e445
Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
...
to initialize the pthread cancellation fields. This is a patch to
_POSIX_Threads_Create_extension that fixes the problem.
1999-10-25 16:05:34 +00:00
Joel Sherrill
1e57186135
Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet
...
<raguet@crf.canon.fr > to use a local variable.
1999-10-25 14:46:56 +00:00
Jennifer Averett
04df848c65
Added code to correctly free any allocated space during the evaluation
...
process.
1999-10-25 14:23:03 +00:00
Joel Sherrill
c774a07e88
Changed leading spaces to periods to ease comparing test output.
1999-10-25 14:09:46 +00:00
Joel Sherrill
61a4d8116a
Removed warning.
1999-10-21 19:36:29 +00:00
Joel Sherrill
e7264f070e
Added rtems_semaphore_flush directive.
1999-10-21 16:44:24 +00:00
Joel Sherrill
9583f6eacc
Renamed CONFIGURE_POSIX_INIT_TASK_STACK_SIZE to
...
CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE because in POSIX they are threads.
1999-10-21 16:41:59 +00:00