| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Sprout from rtems-4-5-branch 2001-08-30 19:12:24 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'changed version to 4.5.1-pre1'
Delete:
c/src/lib/libbsp/mips/p4000/liblnk/.cvsignore
c/src/librdbg/src/powerpc/new_exception_processing/.cvsignore
|
|
|
|
| |
* libc/lseek.c: Modified to reflect 4.5 placement of libio_.h.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c:
The per thread field resource_count should only be manipulated
when a mutex is priority ceiling or priority inherit. This
was reported by Chris Johns <ccj@acm.org> who also noticed that
the use of switches for all disciplines generated less efficient
code than using explicit tests for the one or two cases we were
really interested in. Further review of his modifications made
it apparent that the "isa" methods to test mutex discipline were
not being used so this modification was swept into the code as well.
|
|
|
|
|
| |
* inline/rtems/rtems/attr.inl: Correct typo and use correct
attribute RTEMS_SYSTEM_TASK. Reported by Chris Johns <ccj@acm.org>.
|
|
|
|
|
| |
* libc/lseek.c: Fix minor bug introduced by misinterpretation of
return code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/mqueuesendsupp.c: Account for possibly blocking during the
core send operation.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* src/msgqsubmit.c: Add a comment indicating that we do not have
to account for possibly blocking during the core send operation
because Classic API message queue send is always non-blocking.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
return status to account for blocking sends. Otherwise, the
caller will think that the returned message status will have
the ultimate results of the operation. If the send times out,
the final status will be in the return_code of the thread.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* src/coremutexsurrender.c: Use holder thread not executing
thread because even though they may and often are the same
it is not guaranteed unless the proper attribute is set.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Modified to work better with gcc 2.8.1 and
gnat 3.13p.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* tools/runtest.in: Recognize debug variant of monitor test.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* sp13/sp13.scn: Id in screen had wrong class field value.
* sp13/system.h: Account for message buffer memory.
* sp13/task2.c: Remove unnecessary check for failure.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* sp20/system.h: Account for extra task stacks properly.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* include/tmacros.h: Attempt to print errno as further information.
|
|
|
|
|
|
|
|
| |
* libc/lseek.c: Modified after discussion with Eugeny S. Mints
<jack@oktet.ru> to correct the behavior. There were two mistakes.
First, iop->offset was incorrectly set for SEEK_END. Second,
iop->offset should be left unmodified if there are errors.
This modification attempts to fix both situations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/mqueuesendsupp.c: Account for possibly blocking during the
core send operation.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* src/msgqsubmit.c: Add a comment indicating that we do not have
to account for possibly blocking during the core send operation
because Classic API message queue send is always non-blocking.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
return status to account for blocking sends. Otherwise, the
caller will think that the returned message status will have
the ultimate results of the operation. If the send times out,
the final status will be in the return_code of the thread.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* src/coremutexsurrender.c: Use holder thread not executing
thread because even though they may and often are the same
it is not guaranteed unless the proper attribute is set.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Modified to work better with gcc 2.8.1 and
gnat 3.13p.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* tools/runtest.in: Recognize debug variant of monitor test.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* sp13/sp13.scn: Id in screen had wrong class field value.
* sp13/system.h: Account for message buffer memory.
* sp13/task2.c: Remove unnecessary check for failure.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* sp20/system.h: Account for extra task stacks properly.
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* include/tmacros.h: Attempt to print errno as further information.
|
|
|
|
|
|
|
| |
* c/src/lib/libbsp/i386/i386ex/startup/linkcmds,
c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.am,
c/src/libnetworking/pppd/ipxcp.c: These files had latent single
bit mistakes from the CVS server's RAM failure.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cpu_asm.S: This patch was co-developed with Eric Norum
<eric.norum@usask.ca>. It closes a one instruction window
on some m68k CPU cores. It fixes symptoms seen as:
1) No more `interrupt handler invoked twice for
a single interrupt'.
2) No more `lockup when mc68360 CPM and PIT interrupts
are at different levels'.
It does insert a little more overhead on machines without hardware
interrupt stacks but correctness has a price.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* c/src/exec/itron/src/snd_mbx.c, c/src/exec/itron/src/tsnd_mbf.c
c/src/exec/posix/src/mqueuesendsupp.c,
c/src/exec/rtems/src/msgqsubmit.c,
c/src/exec/score/include/rtems/score/coremsg.h,
c/src/exec/score/inline/rtems/score/coremsg.inl,
c/src/exec/score/src/coremsgsubmit.c: Unblocking message queue
operations should NOT use _Thread_Executing for return status
since it is permissible to invoke message send operations from
an ISR. This was reported by Suvrat Gupta <suvrat@utstar.com>.
|
|
|
|
|
|
| |
* src/eventsurrender.c: Clear event condition when task is unblocked.
This makes sure that subsequent event send thinks the task is still
blocked and overwrites the initial events received.
|
|
|
|
|
| |
* src/imfs/memfile.c: Bug report from Sturniolo Jose
<jsturnio@nec.com.ar> where NULL pointer was dereferenced.
|
|
|
|
|
| |
* libc/getcwd.c: Ensure _closedir(dir) is called even on
error exit from the routine.
|
|
|
|
|
|
|
|
|
| |
* src/heapallocate.c: Do not allow the size to overflow when
adjusting it. A test allocated a stack of -1 (~0). This
actually resulted in a stack being allocated but with a
size of 0xb. The allocator did not test the size to see if
it rolled through 0 and so allowed the allocation to happen, the
thread to get created. The task crashed as you would expect.
|
|
|
|
|
| |
* libc/mount.c: Make sure there is space allocated for a device name
in the mount table entry.
|
|
|
|
|
| |
* src/objectgetbyindex.c: Do not enable dispatching on an
error path it was not disabled on.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libc/chmod.c: Return ENOTSUP if filesystem does not have handler.
* libc/eval.c: Ditto.
* libc/fcntl.c: Ditto.
* libc/fsync.c: Ditto.
* libc/ioctl.c: Ditto.
* libc/ioman.c: Ditto.
* libc/link.c: Ditto.
* libc/memfile.c: Ditto.
* libc/mknod.c: Ditto.
* libc/symlink.c: Ditto.
* libc/libio.h(rtems_filesystem_dev_major_t): New macro.
* libc/libio.h(rtems_filesystem_dev_minor_t): New macro.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
====
-4 = {d = -4, i = {0xc0100000, 0x0}} s=1 e=0x80 m=0x100000 (0x0900000)
-3 = {d = -3, i = {0xc0080000, 0x0}} s=1 e=0x80 m=0x080000 (0x0880000)
-2 = {d = -2, i = {0xc0000000, 0x0}} s=1 e=0x80 m=0x000000 (0x0800000)
-1 = {d = -1, i = {0xbff00000, 0x0}} s=1 e=0x7f m=0x000000 (0x0800000)
0 = {d = 0, i = {0x00000000, 0x0}} s=0 e=0 m=0x000000 (0x0800000)
1 = {d = 1, i = {0x3ff00000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000)
2 = {d = 2, i = {0x40000000, 0x0}} s=0 e=0 m=0x000000 (0x0800000)
3 = {d = 3, i = {0x40080000, 0x0}} s=0 e=0 m=0x080000 (0x0880000)
C4X
===
-4 = {d = -4, i = {0x01800000, 0x0}} s=1 e=1 m=0x800000 (0x1000000)
-3 = {d = -3, i = {0x01c00000, 0x0}} s=1 e=1 m=0xa00000 (0x1400000)
-2 = {d = -2, i = {0x00800000, 0x0}} s=1 e=0 m=0x800000 (0x1000000)
-1 = {d = -1, i = {0xff800000, 0x0}} s=1 e=0xff m=0x000000 (0x1000000)
0 = {d = 0, i = {0x80000000, 0x0}} s=0 e=0 m=0x000000 (0x0800000)
1 = {d = 1, i = {0x00000000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000)
2 = {d = 2, i = {0x01000000, 0x0}} s=0 e=1 m=0x400000 (0x0800000)
3 = {d = 3, i = {0x01400000, 0x0}} s=0 e=1 m=0x600000 (0x0c00000)
4 = {d = 4, i = {0x02000000, 0x0}} s=0 e=2 m=0xXXXXXX (0x0000000)
0x1010 0000
0101 0000
0010 1002
|
|
|
|
|
| |
by Till Straumann <strauman@SLAC.Stanford.EDU>. With this
patch, the motorola_shared BSP should also support the MVME2303.
|
| |
|
| |
|
|
|
|
|
|
| |
where alarm() did not correctly account for the watchdog start_time
and stop_time fields being based on ticks not seconds. This resulted
in alarm() returning a bogus number of seconds remaining.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that is a hack to workaround a switch generation compiler bug for the
SH2 and cleaned up some warnings.
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: c/src/tests/libtests/termios/init.c
CVS: ----------------------------------------------------------------------
|
|
|
|
| |
_Interrupt_Manager_initialization.
|
|
|
|
| |
and cleanup.
|
|
|
|
| |
ttyHead back link is set.
|
|
|
|
| |
with the new RPC code.
|
|
|
|
|
|
|
|
|
|
|
| |
Jennifer Averett <jennifer.averett@oarcorp.com> to fix
appends (O_APPEND at open time) on in-memory files.
A call such as:
fd = open (file, O_APPEND | O_WRONLY);
did not append to the end of the file.
|
|
|
|
|
| |
Jennifer Averett <jennifer.averett@oarcorp.com> to make sure
"/" is created with S_IFDIR set.
|
| |
|
| |
|
| |
|
|
|
|
| |
main trunk.
|
| |
|
|
|
|
| |
stat_ to avoid conflicts with macros on Solaris.
|
| |
|
|
|
|
|
| |
to remove syntactically incorrect else code that was technically
unneeded anyway.
|
| |
|
| |
|
|
|
|
| |
sections so they are disassembled by objdump and loaded by gdb.
|
|
|
|
| |
the CPU model library linking rules built into gcc.
|
|
|
|
|
| |
webserver trace() routine to goahead_trace() to avoid name conflicts
with ncurses.
|
|
|
|
| |
owning the header files.
|
|
|
|
|
|
|
|
| |
1. Fixes a typo in the code conditionalized by GEN68360_WITH_SRAM
2. Mods the code to add support for an additional bank of SRAM (needed more RAM
to run the web server!)
From <vac4050@cae597.rsc.raytheon.com> reviewed by Eric Norum <eric@cls.usask.ca>.
|
|
|
|
| |
multilib handling issues.
|
|
|
|
|
|
|
|
| |
* updated README
* improved misc script for running the RTEMS test programs
* Updated 332 SIM configuration in start.c
* C++ global constructor fix (USE_INIT_FINI)
* change __end_of_ram to _RamEnd to match changes by others
|
| |
|
| |
|
|
|
|
| |
error.h C++ safe.
|