Joel Sherrill
ebb39a216d
hexdump-conv.c: Use proper printf() formatting for wchar_t
2014-11-25 12:58:00 -06:00
Joel Sherrill
3bd0cd1ad5
main_edit.c: Do not reference beyond end of array
2014-11-25 12:58:00 -06:00
Joel Sherrill
d15202490c
shell/main_edit.c: Note return value not checked
...
Coverity Id 1255320 spotted an unchecked return value.
2014-11-25 12:57:09 -06:00
Joel Sherrill
3211e8e9c0
cpukit/libcsupport/src/pwdgrp.c: Check return value
...
Coverity Id 1255518. mkdir() could fail. Check return value and return
on failure. Behavior is similar to if open() failed while writing the
files.
2014-11-25 12:57:09 -06:00
Joel Sherrill
630642e21c
shell/main_blksync.c: Fix leak of file descriptor
...
Coverity Id 1063887. File descriptor not freed on error path.
2014-11-25 12:57:09 -06:00
Joel Sherrill
4afa216ba8
cpukit/libmisc/shell/main_edit.c: Fix use after free()
...
Coverity Id 1255353. Read from pointer after free().
2014-11-25 12:57:08 -06:00
Joel Sherrill
a0bf44e115
cpukit/dev/i2c/i2c-dev.c: Fix leak on error path
...
Coverity ID 1255520. fd was not closed on error path.
2014-11-25 12:57:08 -06:00
Jennifer Averett
0a0ded702a
capture: Resolve failure path memory leak.
2014-11-25 12:50:17 -06:00
Sebastian Huber
e681762704
bdbuf: Use rtems_cache_aligned_malloc()
2014-11-25 16:12:59 +01:00
Sebastian Huber
7e5c9b895e
rtems: Move rtems_cache_aligned_malloc()
...
Make sure also the size is cache aligned since otherwise we may have
some overlap with the next allocation block. A cache invalidate on this
area would be fatal.
2014-11-25 16:08:16 +01:00
Sebastian Huber
7981a885f8
sptest/spcache01: New test cases
2014-11-25 16:08:16 +01:00
Sebastian Huber
42fe0d3fbb
bsps/arm: L2C 310 avoid infinite loops
2014-11-25 16:08:16 +01:00
Sebastian Huber
0273349594
libcsupport: malloc_is_system_state_OK()
...
Move system state check to malloc_is_system_state_OK().
2014-11-25 16:08:16 +01:00
Sebastian Huber
46689a1ee1
arm: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC
...
Converting 64-bit nanoseconds values into the common struct timeval or
struct timespec formats requires a 64-bit division to get the seconds
value. Performance analysis of high network loads revealed that this is
too costly on ARM.
2014-11-25 16:08:16 +01:00
Jennifer Averett
44da98f08f
smpcapture01: New test.
2014-11-24 14:04:54 -06:00
Jennifer Averett
11b3ba1b02
capture01: Use capture engine print methods.
2014-11-24 14:04:54 -06:00
Jennifer Averett
c577500023
capture: Remove whitespace and fix copyrights.
2014-11-24 14:04:54 -06:00
Jennifer Averett
66bf2af278
capture: Add SMP support.
...
To support smp data was broken into global and percpu capture data.
Capture control must be disabled prior to printing or setting of
watch points.
2014-11-24 14:04:54 -06:00
Jennifer Averett
04a13bdf74
capture: Move print methods out of cli for reuse.
...
Methods to print the data were moved from capture-cli into
a support area and are no longer static so that they can
be shared by test routines, or application code that wants
to use the capture engine without the shell interface.
2014-11-24 14:04:53 -06:00
Jennifer Averett
3d5bcdedfd
capture: Move logging of task record to occur after filter check.
...
The catpture task record is now logged just prior to the first
log entry using that task instead of the first time the task
is seen. This involved splitting the record task method into
an initialize task and a record task.
2014-11-24 14:04:53 -06:00
Joel Sherrill
f7d27953cb
testsuites/.../tmacros.h: Add parentheses to fix warning
2014-11-24 13:57:21 -06:00
Sebastian Huber
cfc53c11b3
i2c: Fix endian issue
2014-11-24 11:55:44 +01:00
Sebastian Huber
55db0e52be
bsp/ngmp: Use -muser-mode GCC option
...
This option is necessary to use the latest GCC 4.8, 4.9 and 5.0
versions.
2014-11-24 09:44:50 +01:00
Sebastian Huber
26f4cddbd9
_Scheduler_FIXME_thread_priority_queues_are_broken
...
Delete this variable since it is no longer necessary due to the thread
priority queue implementation change to use RB trees.
2014-11-24 08:35:45 +01:00
Luca Bonato
cceb19f4e5
smp: Fix scheduler helping protocol
...
New test case for smptests/smpmrsp01.
Fix _Scheduler_Block_node() in case the node is in the
SCHEDULER_HELP_ACTIVE_RIVAL helping state. For example a
rtems_task_suspend() on a task waiting for a MrsP semaphore.
Fix _Scheduler_Unblock_node() in case the node is in the
SCHEDULER_SMP_NODE_READY state. For example a rtems_task_resume() on a
task owning or waiting for a MrsP semaphore.
2014-11-24 08:01:15 +01:00
Joel Sherrill
6570876d0e
termio05: Remove unreferenced files
...
The functionality was conditionally compiled into a shared file
and these were not removed.
close #1821
2014-11-23 10:40:14 -06:00
Joel Sherrill
b46a31e0b8
leon2: include <rtems/ringbuf.h> not <ringbuf.h>
...
close #2113
2014-11-23 09:48:26 -06:00
Santosh G Vattam
89be4e7712
rtems/score/object.h: Correct types on _Objects_Build_id
...
close 1423
2014-11-23 08:38:31 -06:00
Joel Sherrill
ff1c6130ed
powerpc/haleakala: Fix warnings
2014-11-21 13:47:43 -06:00
Nigel Spon
502609c80d
powerpc/haleakala: Add network driver
...
close 1405
2014-11-21 13:47:42 -06:00
Joel Sherrill
ed4c5568c7
objectsetname.c: Fix always true condition (Coverity ID 1063874)
...
Coverity spotted the comparison (0 <= length) which is always true.
Changed logic to address this.
2014-11-21 13:13:22 -06:00
Joel Sherrill
abf3892c1a
pipe/fifo.c: NULL dereference flagged by Coverity ID 1063889
...
It does not appear that this is possible so adding an assert.
2014-11-21 13:13:22 -06:00
Joel Sherrill
e8abdfb874
dosfs/fat_fat_operations.c: Explicitly ignore return (Coverity ID 26048)
...
Coverity spotted that the return code from fat_set_fat_cluster()
was ignored. But it should be because we want to return the status
that caused us to hit the cleanup path.
2014-11-21 13:13:21 -06:00
Joel Sherrill
8f73af8562
dosfs/msdos_format.c: Dead code removal (Coverity ID 1255325)
...
Coverity identified that ret_val was never set except to be initialized
to 0. Thus the code could not be executed.
2014-11-21 13:13:21 -06:00
Joel Sherrill
5dff7425bd
libcsupport/src/termios.c: Explicitly ignore return value (Coverity ID 1255347)
...
Coverity spotted that we were ignoring a return value. But ignoring
it is intentional. Adding (void) clearly indicates it is being ignored
explicitly.
2014-11-21 13:13:20 -06:00
Sebastian Huber
11925eef78
Delete or rename MIN/MAX macros and defines
...
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
2014-11-21 08:52:29 +01:00
Jennifer Averett
db44590c1d
smpschedaffinity05: Change semaphore attributes.
...
Change semaphore attributes to resolve problem where semaphore is not
released upon a context switch.
2014-11-20 13:47:03 -06:00
Jennifer Averett
1960dcb9b2
smpschedaffinity04: Change semaphore attributes.
...
Change semaphore attributes to prevent semaphore from being
locked and never released upon a context switch.
2014-11-20 13:47:03 -06:00
Jennifer Averett
bc95f81699
smpschedaffinity02: Change semaphore attributes.
...
Change semaphore attributes to prevent semaphore from being
locked and never released upon a context switch.
2014-11-20 13:47:03 -06:00
Joel Sherrill
163519a055
libtests/malloctest/init.c: Fix warning
...
posix_memalign() is prototyped to take a non-NULL parameter. But our
test is deliberately passing one in. With the -Wnon-null warning flag
enabled, we will always get warnings on this test unless we disable
that warning for this single test case.
2014-11-20 12:57:33 -06:00
Joel Sherrill
a5201ea4d0
libdl/rtl-mdreloc-powerpc.c: Fix warnings
...
This patch addresses the following warnings:
+ The variable "target" was unused.
+ The parentheses in the expression around line 72 were ambiguous.
2014-11-20 12:57:33 -06:00
Joel Sherrill
287843f14c
sys/mman.h: New file. Clean up and add supporting stubs
...
* Makefile.am updated and preinstall.am regenerated.
* mprotect.c had a prototype removed now that we have mman.h
* mmap.c, munmap.c: New stub files.
2014-11-20 12:57:33 -06:00
Joel Sherrill
c8784667fb
libdl/.../mips/machine/elf_machdep.h: Fix typo so compiles
2014-11-20 12:57:32 -06:00
Gedare Bloom
280f4ecc88
autotools: regenerate preinstall.am for pc386
2014-11-20 11:05:02 -05:00
Jan Dolezal
067da5c45d
i386/pc386: VESA based frame buffer utilizing real mode interrupt 10h
2014-11-20 09:52:40 -05:00
Jan Dolezal
c5a74946ac
i386/pc386/include: header files for VESA BIOS EXTENSIONS and VESA Extended Display Identification Data
2014-11-20 09:52:40 -05:00
Jan Dolezal
586c86c75a
i386/shared/realmode_int: real mode interrupt interface
2014-11-20 09:52:39 -05:00
Jan Dolezal
74d2d94041
i386: global descriptor table manipulation functions
2014-11-20 09:52:39 -05:00
Jan Dolezal
b2db1f5c76
cpukit: basedefs: macro for packed attribute
2014-11-20 09:52:39 -05:00
Jan Dolezal
d885b2b213
i386: GDTR manipulation functions parameters changed to use explicit width types
2014-11-20 09:52:39 -05:00