| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* posix/src/aio_misc.c: Fix rtems_aio_remove_req did not iterate
over chain.
* posix/src/aio_cancel.c: Add debug information. Add check for
bad file descriptor. Add else branch for cancel request on empty
IQ chain.
|
|
|
|
|
|
| |
* libcsupport/src/error.c: Scheduler Simulator compilation always
defines __RTEMS_VIOLATE_KERNEL_VISIBILITY__. So avoid redefinition
warning.
|
|
|
|
|
| |
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_readlink.c: readlink
filesystem entry should return ssize_t.
|
|
|
|
| |
* posix/src/aio_cancel.c: Use perfd field not next_fd.
|
|
|
|
|
| |
* libfs/src/nfsclient/src/nfs.c: readlink filesystem entry should
return ssize_t.
|
|
|
|
| |
* cpu_asm.S: _Thread_Executing was not used.
|
|
|
|
|
| |
* libfs/src/dosfs/msdos_conv.c: Fixed convertion of half seconds to
seconds.
|
|
|
|
|
| |
* libfs/src/dosfs/msdos_misc.c: Create short file names acceptable for
Windows.
|
|
|
|
|
|
| |
* libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_misc.c,
libfs/src/dosfs/msdos_create.c: Create valid create and modfied date
and time.
|
|
|
|
|
|
|
|
|
|
| |
Jennifer Averett <jennifer.averett@oarcorp.com>
Add RTEMS Scheduler Simulator.
* sapi/include/confdefs.h: This adds some simple conditional
logic to disable portions of the configuration that are NOT supported
when configuring an RTEMS instance for use with a Scheduler Simulator
instance.
|
|
|
|
|
| |
* libmisc/cpuuse/cpuusagereport.c: We have to take the time since the
last context switch before the uptime.
|
|
|
|
|
|
|
|
| |
* score/src/watchdognanoseconds.c: New file.
* score/Makefile.am: Reflect change above.
* score/include/rtems/score/watchdog.h, score/src/coretodget.c,
score/src/coretodgetuptime.c: Do not allow NULL as nanoseconds since
last tick handler pointer.
|
|
|
|
|
|
|
| |
* libnetworking/loop.h, libnetworking/net/if_loop.c,
libnetworking/rtems/rtems_glue.c, libmisc/dummy/dummy-networking.c:
Initialize loop back interface during normal initialization via
rtems_bsdnet_initialize_network().
|
|
|
|
|
|
| |
* configure.ac, posix/src/signal_2.c: sighandler_t is defined
conditionally in some versions of newlib and unconditionally in
others. Make sure we always compile.
|
|
|
|
|
|
|
| |
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Revert
previous commit due to too many broken linker command files. The
HAVE_INITFINI_ARRAY is defined for nearly all targets by Newlib, but
only few linker command files respect this.
|
|
|
|
|
| |
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Added
support for .preinit_array, .init_array and .fini_array sections.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sapi/include/confdefs.h, score/include/rtems/score/scheduler.h,
score/inline/rtems/score/scheduler.inl,
score/inline/rtems/score/schedulerpriority.inl,
score/src/schedulerpriority.c,
score/src/schedulerprioritythreadschedulerallocate.c,
score/src/schedulerprioritythreadschedulerfree.c,
score/src/schedulerprioritythreadschedulerupdate.c,
score/src/schedulerpriorityyield.c: Added attribute unused. Renamed
types and fields to follow the Score naming conventions.
|
|
|
|
|
|
| |
* score/include/rtems/score/scheduler.h,
score/include/rtems/score/schedulerpriority.h: Whitespace removal.
Moved C++ extern directive.
|
|
|
|
|
|
|
|
|
| |
PR 1711/cpukit
* score/inline/rtems/score/chain.inl, score/src/chain.c: New functions
_Chain_Immutable_head(), _Chain_Immutable_tail(),
_Chain_Immutable_first(), and _Chain_Immutable_last(). The
Chain_Control is now a union to avoid casts. The function
_Chain_Is_empty() takes now a const pointer parameter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libfs/src/dosfs/fat_file.c, libfs/src/imfs/imfs_debug.c,
libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs_getchild.c,
posix/src/killinfo.c, score/inline/rtems/score/schedulerpriority.inl,
score/inline/rtems/score/watchdog.inl, score/src/apiext.c,
score/src/chain.c, score/src/coremsgflushsupp.c,
score/src/coremsginsert.c, score/src/objectshrinkinformation.c,
score/src/schedulerpriorityyield.c,
score/src/threadqdequeuepriority.c,
score/src/threadqenqueuepriority.c,
score/src/threadqextractpriority.c, score/src/threadqfirstfifo.c,
score/src/threadqfirstpriority.c, score/src/threadyieldprocessor.c,
score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
score/src/userextthreadstart.c, score/src/userextthreadswitch.c,
score/src/watchdogreportchain.c: Avoid chain API violations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1647/cpukit
* posix/src/nanosleep.c, posix/src/sched_yield.c,
rtems/src/taskwakeafter.c, sapi/include/confdefs.h,
sapi/include/rtems/config.h, sapi/src/exinit.c, score/Makefile.am,
score/preinstall.am, score/include/rtems/score/prioritybitmap.h,
score/include/rtems/score/thread.h,
score/inline/rtems/score/thread.inl, score/src/thread.c,
score/src/threadchangepriority.c, score/src/threadclearstate.c,
score/src/threadclose.c, score/src/threadinitialize.c,
score/src/threadready.c, score/src/threadresume.c,
score/src/threadsetpriority.c, score/src/threadsetstate.c,
score/src/threadsettransient.c, score/src/threadsuspend.c,
score/src/threadtickletimeslice.c: Refactor scheduler out of thread
handler to facilitate alternate scheduler implementations.
* score/src/threadyieldprocessor.c: Removed.
* score/src/schedulerprioritythreadschedulerupdate.c,
score/src/schedulerprioritythreadschedulerfree.c,
score/src/schedulerpriorityblock.c, score/src/scheduler.c,
score/src/schedulerprioritythreadschedulerallocate.c,
score/src/schedulerpriorityunblock.c,
score/src/schedulerpriority.c, score/src/schedulerpriorityyield.c,
score/include/rtems/score/schedulerpriority.h,
score/include/rtems/score/scheduler.h,
score/inline/rtems/score/scheduler.inl,
score/inline/rtems/score/schedulerpriority.inl: New files.
|
| |
|
|
|
|
|
| |
PR 1719/cpukit
* arm_exc_abort.S: Avoid "bx" instruction to support ARMv4 and below.
|
|
|
|
|
| |
* score/src/iterateoverthreads.c, libmisc/cpuuse/cpuusagereport.c:
Avoid dead code if POSIX API is enabled.
|
|
|
|
|
| |
* score/src/iterateoverthreads.c, libmisc/cpuuse/cpuusagereport.c:
Fixed NULL pointer access in case POSIX API is disabled.
|
|
|
|
| |
* rtems/score/cpu.h: Set alignment requirements according to AAPCS.
|
|
|
|
| |
* libmisc/monitor/mon-monitor.c: Fixed broken monitor command list.
|
|
|
|
| |
* rtems/score/sparc64.h: Fix typo.
|
|
|
|
|
|
|
| |
PR 1718/cpukit
* sapi/include/confdefs.h: POSIX threads are allocated twice the
minimum stack space by default. confdefs.h only accounts for one
minimum -- not the 2x factor.
|
|
|
|
|
| |
PR 1717/cpukit
* libcsupport/src/gxx_wrappers.c: Free memory on error.
|
|
|
|
|
| |
* libmisc/monitor/mon-monitor.c: Move node code into multiprocessing
ifdef.
|
|
|
|
|
|
|
| |
* score/src/objectnametoid.c, score/src/objectnametoidstring.c:
Remove useless variable pointed out by clang.
* score/src/threadstackallocate.c: Remove useless variable
initialization pointed out by clang.
|
|
|
|
|
| |
* rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c:
Remove unchecked return status pointed out by clang.
|
|
|
|
|
| |
* libcsupport/src/putk.c: Remove useless variable initialization
pointed out by clang.
|
|
|
|
| |
* cpu.c: Remove unused variable reported by clang.
|
|
|
|
| |
* score/include/rtems/score/userext.h: Documentation.
|
|
|
|
|
|
|
| |
* score/src/watchdoginsert.c: Removed superfluous cast and use
appropriate API function. This special case handling is obsolete
since 2006 with the introduction of compiler memory barriers in the
interrupt routines. Removed obsolete comments.
|
|
|
|
|
| |
PR 1715/cpukit
* rtems/score/cpu.h: Fix typo on _CPU_Context_Restart_self.
|
|
|
|
|
|
| |
* libmisc/stackchk/check.c: Make compile again.
* sapi/src/io.c, score/src/heap.c: Address dead assignment
issues found by clang.
|
|
|
|
|
| |
* libmisc/stackchk/check.c: Address casting issue highlighted by clang.
There was no need for an intermediate cast to a structure pointer.
|
|
|
|
|
| |
* posix/include/rtems/posix/aio_misc.h, posix/src/aio_misc.c: Small
fixes.
|
|
|
|
| |
* rtems/powerpc/registers.h: Added HID2 define. Fixed comments.
|
|
|
|
| |
* posix/src/psignalunblockthread.c: Formatting.
|
|
|
|
|
| |
* posix/src/mutextimedlock.c: Check status local variable not
lock_status.
|
|
|
|
|
|
| |
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
|
|
|
|
|
| |
* libnetworking/lib/ftpfs.c: Do not fall back to BOOTP server address
in case hostname was not specified.
|
|
|
|
|
| |
* libnetworking/lib/ftpfs.c: Fixed a special case with no username and
password.
|
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-rtems-file.c: Add missing unlock in
write. Return the error code in close.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-trace.c,
libfs/src/rfs/rtems-rfs-trace.h: Add inode-delete.
* libfs/src/rfs/rtems-rfs-shell.c: Fix formatting.
* libfs/src/rfs/rtems-rfs-rtems-dir.c: Use ssize_t. Fix spelling.
* libfs/src/rfs/rtems-rfs-block.c: Fix rtems_rfs_block_get_bpos to
return the position correctly. A bpos does not have any special
processing. Do no reset the buffer handle when shrinking
indirectly.
* libfs/src/rfs/rtems-rfs-inode.c: Add trace.
* libfs/src/rfs/rtems-rfs-format.c: Fix comments.
* libfs/src/rfs/rtems-rfs-group.c: Limit the inodes to the blocks
in a group so the accounting works.
* libfs/src/rfs/rtems-rfs-dir.c: PR 1705. Fix handling the offsets
when deleting an entry.
* libfs/src/rfs/rtems-rfs-buffer.h: Remove
rtems_rfs_buffer_handle_reset. It is not needed and dangerous.
|
|
|
|
|
| |
* configure.ac: pthread_attr* functions are in <pthread.h>, not in
<pthreads.h>.
|