| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* configure.ac, score/src/threadqenqueuepriority.c: Add
RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY to give user ability to
disable the loop in _Thread_queue_Enqueue_priority from being
unrolled. This reduces code size and makes coverage analysis easier.
|
|
|
|
|
|
| |
* cpu_asm.S: Fixed bug in _CPU_Context_Switch. The wrong registers
were being used for pointer to running task Context_Control
struct.
|
|
|
|
|
| |
* score/src/watchdogadjusttochain.c: Rework to ease code coverage
analysis.
|
|
|
|
|
| |
* rtems/src/semcreate.c: Clean up rework to eliminate the goto and fix
a bug introduced by rework.
|
|
|
|
| |
* score/src/heap.c: Remove unneeded include.
|
|
|
|
|
| |
* rtems/src/semcreate.c: Restructure to simplify and improve ability to
anlize this routine for coverage.
|
|
|
|
| |
* score/src/objectgetinfo.c: Clean up and eliminate unreachable code.
|
|
|
|
|
|
|
| |
* rtems/src/rtemsobjectapimaximumclass.c,
score/include/rtems/score/object.h,
score/src/objectapimaximumclass.c, score/src/objectgetinfo.c: Change
return type of API maximum class methods to unsigned.
|
|
|
|
|
| |
* score/src/objectshrinkinformation.c: Rework loop to simplify and
remove dead code.
|
|
|
|
| |
* ChangeLog, posix/src/mutexsetprioceiling.c: Remove warning.
|
|
|
|
|
|
|
| |
* posix/src/mutexsetprioceiling.c: Restructure to eliminate code
paths which are unreachable. Also add more comments.
* score/src/coremutexsurrender.c: Mark some code as RTEMS_DEBUG only
since it cannot be hit unless coremutexseize.c is broken.
|
|
|
|
|
| |
* posix/src/mutexget.c: Restructure to improve ability to do coverage
analysis.
|
|
|
|
|
| |
* posix/src/psxtransschedparam.c: Restructure to avoid untestable code
being generated by switch.
|
|
|
|
|
| |
* score/src/coremsgsubmit.c: Move impossible case inside an RTEMS_DEBUG
conditional.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cpu.c: Implemented _CPU_Context_Initialize as a C function instead
of a macro. It works with limited functionality. Implemented
_CPU_Thread_Idle_body to use sleep instruction.
* Makefile.am: Changed cpu_asm.c -> cpu_asm.S
* cpu_asm.S: renamed from cpu_asm.c and implemented functions is asm
* rtems/asm.h: Appended "macros.inc" to the end of "asm.h"
* rtems/score/cpu.h:
+ Included "avr/io.h".
+ Added use 16 bit object definition.
+ Modified Context_Control struct to relect the registers
that need to be saved.
+ Implemented _CPU_ISR_Disable, _CPU_ISR_Enable, and _CPU_ISR_Flash.
Added function definitions for _CPU_Context_Initialize and
_CPU_Push.
|
| |
|
|
|
|
|
|
|
| |
* posix/Makefile.am, posix/src/mutex.c, posix/src/mutexinit.c: Add
initial support for the pthread mutex type attribute added by UNIX98.
It can be normal, recursive, errorcheck or default.
* posix/src/mutexattrgettype.c, posix/src/mutexattrsettype.c: New files.
|
|
|
|
|
|
| |
* rtems/src/taskinitusers.c: Restructure to eliminate dead check --
loop will not be executed when 0 tasks. Also improved comments and
eliminated a local variable.
|
|
|
|
|
| |
* score/src/apiext.c: Unreachable API Extension paths marked as either
unused or only with certain APIs.
|
|
|
|
|
|
|
| |
* itron/src/task.c, posix/src/pthread.c, rtems/src/tasks.c,
sapi/src/exinit.c, score/include/rtems/score/apiext.h,
score/src/apiext.c: No APIs currently implemented use the
predriver_hook so disable it until such time as it is used.
|
|
|
|
|
| |
* posix/src/sigtimedwait.c: Restructure to improve coverage. Improve
comments.
|
|
|
|
|
|
| |
* sapi/src/exinit.c, score/include/rtems/score/objectmp.h,
score/src/objectmp.c: Ensure local node number is set early enough in
MP configurations.
|
|
|
|
|
|
|
| |
* score/include/rtems/score/coremsg.h, score/src/coremsgflushwait.c:
Mark _CORE_message_queue_Flush_waiting_threads with
FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API since there is no way to
reach it via an API.
|
|
|
|
| |
* score/include/rtems/score/tod.h: Correct name of parameter.
|
|
|
|
|
| |
* posix/src/prwlocktimedrdlock.c: Restructure if slightly to make to
make it easier to analyze for coverage.
|
|
|
|
|
|
|
|
| |
* posix/src/killinfo.c, posix/src/mutexinit.c, posix/src/psignal.c,
posix/src/psignalchecksignal.c, posix/src/pthread.c,
posix/src/pthreadexit.c, posix/src/pthreadinitthreads.c: Remove
includes of <assert.h> where possible. Make other uses conditional on
ifdef RTEMS_DEBUG.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* posix/Makefile.am, posix/include/rtems/posix/priority.h,
posix/include/rtems/posix/pthread.h,
posix/inline/rtems/posix/priority.inl, posix/src/killinfo.c,
posix/src/pthread.c, posix/src/pthreadcreate.c,
posix/src/pthreadsetschedparam.c: Various modifications to improve
binary code coverage analysis. Some of these are to mark code as
debug only. Some are to break conditional expressions into multiple
lines. Some are to move inline methods that are not time critical
into subroutines to make them easier to test. Inlining them multiple
times means that their logic paths are spread across multiple
methods. This explodes the test cases required.
* posix/src/psxpriorityisvalid.c, posix/src/psxtransschedparam.c: New files.
|
|
|
|
|
| |
* rtems/src/regionextend.c: Restructure to eliminate dead code being
generated.
|
|
|
|
|
| |
* telnetd/des.c: Split the des_f struct into smaller parts so
targets that cannot address large structs can be supported.
|
|
|
|
| |
* score/src/objectshrinkinformation.c: Fix spelling error.
|
| |
|
|
|
|
|
| |
* libmisc/shell/hexdump-odsyntax.c: H8300 has the same size float
and double. Fix error in case statement.
|
|
|
|
|
| |
* score/cpu/mips/rtems/mips/idtcpu.h: Missed another WAIT
define. Removed.
|
|
|
|
|
|
|
| |
* libmisc/shell/extern-dd.h: Delcare the conv arrays extern to
stop PPC link errors.
* libmisc/shell/main_time.c, libmisc/Makefile.am,
libmisc/shell/shellconfig.h: Add a time command.
|
|
|
|
|
| |
* include/rtems/bspIo.h, libcsupport/Makefile.am: Add putk().
* libcsupport/src/putk.c: New file.
|
|
|
|
| |
* posix/src/killinfo.c: Make easier to map coverage data.
|
|
|
|
|
|
|
| |
* libmisc/shell/hexdump-odsyntax.c: AVR has the same size float
and double. Fix error in case statement.
* libmisc/shell/main_dd.c: Remove sys/conf.h header. It is not
available if networking is disabled.
|
| |
|
|
|
|
|
| |
* score/cpu/mips/rtems/mips/idtcpu.h: Remote WAIT define. Horrible
overload.
|
|
|
|
|
| |
* score/src/heapwalk.c: Remove include of stdlib.h since abort was not
called anymore.
|
|
|
|
|
|
|
|
| |
* rtems/include/rtems/rtems/region.h,
rtems/src/rtemsobjectgetclassinfo.c, score/src/heapwalk.c,
score/src/objectgetnameasstring.c, score/src/objectsetname.c,
score/src/timespecdivide.c, score/src/ts64divide.c: Remove include of
stdio.h
|
|
|
|
|
|
|
|
| |
* libblock/src/flashdisk.c, libblock/src/nvdisk.c,
libblock/src/ramdisk.c, libfs/src/dosfs/fat.c,
libfs/src/dosfs/msdos_format.c: Eliminate using the GNU/Linux
specific error numbers EBADRQC and ENOTBLK. Switch to EINVAL and
ENOTTY as appropriate.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libmisc/shell/dd-args.c, libmisc/shell/dd-conv.c,
libmisc/shell/dd-conv_tab.c, libmisc/shell/dd-misc.c,
libmisc/shell/dd-position.c, libmisc/shell/dd.h,
libmisc/shell/extern-dd.h, libmisc/shell/hexdump-conv.c,
libmisc/shell/hexdump-display.c, libmisc/shell/hexdump-odsyntax.c,
libmisc/shell/hexdump-parse.c, libmisc/shell/hexdump.h,
libmisc/shell/hexsyntax.c, libmisc/shell/main_dd.c,
libmisc/shell/main_hexdump.c: New.
* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add dd and
hexdump commands.
|
|
|
|
|
|
|
| |
* libblock/include/rtems/flashdisk.h,
libblock/include/rtems/nvdisk.h, libblock/src/flashdisk.c,
libblock/src/nvdisk.c: Change names to match the RAM disk change.
* libcsupport/src/eval.c: Remove some warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libblock/src/bdbuf.c: Update comments.
* libblock/src/bdpart.c, libblock/src/ide_part_table.c: Get the
device from the rdev field of the stat buf.
* libcsupport/include/rtems/libio.h: Add a path length to evalpath
handler. Add parent locations to rmmod and unlink handlers.
* libcsupport/include/rtems/libio_.h: Add a path length to
rtems_filesystem_evaluate_path. Add
rtems_filesystem_evaluate_relative_path, rtems_filesystem_dirname,
and rtems_filesystem_prefix_separators. Remove
rtems_filesystem_evaluate_parent.
* libcsupport/src/base_fs.c, libcsupport/src/chdir.c,
libcsupport/src/chmod.c, libcsupport/src/chown.c,
libcsupport/src/chroot.c, libcsupport/src/fchdir.c,
libcsupport/src/link.c, libcsupport/src/mount.c,
libcsupport/src/open.c, libcsupport/src/privateenv.c,
libcsupport/src/readlink.c, libcsupport/src/unmount.c,
libcsupport/src/utime.c, libcsupport/src/unmount.c,
libcsupport/src/utime.c, libfs/src/devfs/devfs.h,
libfs/src/devfs/devfs_eval.c, libfs/src/devfs/devstat.c,
libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_misc.c,
libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c,
libfs/src/imfs/imfs_load_tar.c, libfs/src/imfs/ioman.c,
libfs/src/pipe/pipe.c, libmisc/fsmount/fsmount.c,
libnetworking/lib/ftpfs.c: Add the length parameter to the eval
call.
* libcsupport/src/eval.c: Add rtems_filesystem_prefix_separators,
rtems_filesystem_dirname,
rtems_filesystem_evaluate_relative_path. Add the length parameter
to the eval call.
* libcsupport/src/rmdir.c: Find the parent pathloc then the node
pathloc from that node. Remove the call to find the parent given
the node pathloc.
* libcsupport/src/stat.c: Add the length parameter to the eval
call. Set the device into the rdev field.
* libcsupport/src/unlink.c: Find the parent pathloc then the node
pathloc from that node. Remove the call to find the parent given
the node pathloc.
* libfs/src/dosfs/fat.c, libfs/src/dosfs/msdos_format.c: Get the
disk device number from the stat rdev field.
* libfs/src/dosfs/msdos.h: Add the length parameter to the eval
call. Add the parent pathloc to the rmnod handler.
* libfs/src/dosfs/msdos_dir.c: Add the parent pathloc to the rmnod
handler.
* libfs/src/dosfs/msdos_eval.c: Add the length parameter to the
eval and token call.
* libfs/src/imfs/imfs_directory.c: Add the parent pathloc to the
rmnod handler.
* libfs/src/imfs/imfs_fchmod.c: Do not test the mode flags for
only the allowed flags. Add the missing flags spec'ed in the POSIX
standard.
* libfs/src/imfs/imfs_fsunmount.c, libfs/src/imfs/imfs_rmnod.c,
libfs/src/imfs/imfs_unlink.c, libfs/src/imfs/memfile.c: Add the
parent node. Currently ignored in the IMFS.
* libfs/src/imfs/imfs_stat.c: Return the device number in the rdev
field.
* libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/imfs_symlink.c : Add
the length parameter to the token call.
* libfs/src/nfsclient/src/nfs.c: Add the length parameter to the
eval call and parent node to the rmnod and unlink command.
* libmisc/shell/internal.h: Remove the libc mounter decl to make
public.
* libmisc/shell/main_mount.c: Add support for hooking external
mount support for new file systems.
* libmisc/shell/shell.h: Add helper functions for the mount
command.
|
|
|
|
|
|
| |
* score/src/corespinlockwait.c: Mark timeout code which is not
currently exercised by any API with the
FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API conditional.
|
|
|
|
|
| |
* sapi/include/confdefs.h: Fix minor error when application has its own
initialization task table.
|