Chris Johns
2ed53cb982
testsuite/dl: Add C++ by default for DL tests which use C++.
...
- Add AM C++ support to the testsuite configure.ac script.
- Fix the dependences in the DL tests.
Closes #3024 .
2017-08-23 09:48:56 +10:00
Chris Johns
d2e31f70c1
libdl: Back port C++ exception throw and catch from 4.12.
...
Closes #2956 .
2017-04-04 13:26:01 +10:00
Sebastian Huber
d51538bdbe
dosfs: Fix file name search
...
Do not use our long file name entry count to optimize the file name
search. The Unicode comparison must be taken into account.
Close #2939 .
2017-03-21 16:15:25 +01:00
Sebastian Huber
c38f1fcf8f
dosfs: Fix fat_file_write()
...
Remove forced overwrite which leads to file data corruption. The logic
to determine a forced overwrite was fundamentally broken. For simplity,
disable this feature.
Close #2622 .
2017-03-21 16:14:44 +01:00
Sebastian Huber
21d7154b07
dosfs: Fix msdos_utf8_normalize_and_fold()
...
It is all right in case the result uses the full destination buffer.
Without this fix the handling of a maximum 8.3 short file name is
broken.
Close #2928 .
2017-03-21 16:14:37 +01:00
Sebastian Huber
f08c71339c
libio: Fix deadlock in location management
...
Perform a context-dependent deferred location release to avoid a
deadlock on the file system instance locks, for example during a
chdir().
Close #2936 .
2017-03-21 16:13:11 +01:00
Sebastian Huber
04684cbc43
dosfs: Fix msdos_find_file_in_directory()
...
For a filename match the entry must match without anything remaining.
Update #2908 .
2017-02-14 08:09:57 +01:00
Sebastian Huber
69ae534cbb
Change version to 4.11.1.99
...
Update #2886 .
2017-01-26 08:31:50 +01:00
Sebastian Huber
59ee4abf24
sptests/spclock_err02: Update screen file
2016-11-02 07:57:07 +01:00
Sebastian Huber
3f72dda6ee
posix: Fix pthread_spin_unlock() error status
...
Update #2719 .
2016-05-25 12:48:00 +02:00
Sebastian Huber
f502882ef5
posix: Fix return states of pthread_kill()
...
POSIX mandates that an error code is returned and not -1 plus errno.
Update #2715 .
2016-05-17 13:43:55 +02:00
Sebastian Huber
94b1ba5aed
posix: Fix return status of pthread_cancel()
...
POSIX recommends ESRCH in case no thread exists for the specified
identifier.
Update #2713 .
2016-05-17 08:40:43 +02:00
Sebastian Huber
cb7c6f53f7
smptests/README: Delete obsolete information
2016-01-11 07:58:09 +01:00
Sebastian Huber
9c615b7835
score: Fix watchdog insert
...
Under certain conditions a new watchdog was inserted with a wrong
and very large delta interval due to a wrong iterator update.
Bug was introduced by 1ccbd05291 .
Close #2507 .
2016-01-05 07:09:56 +01:00
Sebastian Huber
2cc001a15a
score: Fix watchdog removal
...
Under certain conditions a new watchdog was inserted with a wrong and
very large delta interval due to an incomplete iterator update.
Bug was introduced by 1ccbd05291 .
Close #2501 .
2015-12-21 08:40:29 +01:00
Joel Sherrill
cb9bb9d13f
CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK was undocumented and not error checked
...
closes #2431 .
2015-10-27 07:32:41 -05:00
Ben Gras
bad82027eb
Fail gracefully if pax is not found
...
The $(PAX) variable is used unconditionally so it shouldn't be
left empty if not found at configure time. Fixes #2437 .
2015-10-23 00:08:53 +02:00
Sebastian Huber
edf77328c1
rbheap: Fix rtems_rbheap_free()
...
Remove unused descriptor of merged free chunks from the free chain and
add them to the spare descriptors.
Update #2417 .
2015-09-11 11:31:27 +02:00
Sebastian Huber
deb3f298d1
libtests/rbheap01: Simplify
...
Update #2417 .
2015-09-11 11:29:06 +02:00
Sebastian Huber
9ccdb1dfde
rbtree: Delete rtems_rbtree_find_control()
...
This function is hard to support in alternative implementations. It has
no internal use case.
2015-09-01 09:06:18 +02:00
Sebastian Huber
0ad8a33650
i2c: Fix return status of i2c dev read/write
2015-07-23 09:12:42 +02:00
Sebastian Huber
9341773152
score: Typo
2015-07-13 08:56:57 +02:00
Sebastian Huber
f59f2fe93e
score: Accept NULL pointer in _Freechain_Put()
...
With this a _Freechain_Put( _Freechain_Get() ) works always.
2015-07-01 08:24:45 +02:00
Sebastian Huber
fdb45d6b26
score: Freechain handler API changes
...
Replace the extend function with an allocator since this fits better
to the current use case.
2015-07-01 08:24:31 +02:00
Sebastian Huber
d811daca69
score: Hide SMP lock profiling impl if disabled
...
The problem is that empty structures have a different size in C and C++.
2015-06-26 09:22:41 +02:00
Sebastian Huber
5f31bbe105
libmisc: Simplify <rtems/stackchk.h>
...
Drop the <rtems/score/percpu.h> include since this file exposes a lot of
implementation details.
2015-06-26 09:16:29 +02:00
Sebastian Huber
cdf30f0550
rtems: Add rtems_interrupt_local_disable|enable()
...
Add rtems_interrupt_local_disable|enable() as suggested by Pavel Pisa to
emphasize that interrupts are only disabled on the current processor.
Do not define the rtems_interrupt_disable|enable|flash() macros and
functions on SMP configurations since they don't ensure system wide
mutual exclusion.
2015-06-22 08:40:26 +02:00
Sebastian Huber
f9090ac82d
tmtests/tm27: Use scheduler lock
2015-06-19 21:38:52 +02:00
Sebastian Huber
f22af606d4
sptests/sp37: Fix type and simplify
2015-06-19 21:21:27 +02:00
Joel Sherrill
e6b31b27fb
Remove use ticks for statistics configure option.
...
This was obsolete and broken based upon recent time keeping changes.
Thie build option was previously enabled by adding
USE_TICKS_FOR_STATISTICS=1 to the configure command line.
This propagated into the code as preprocessor conditionals
using the __RTEMS_USE_TICKS_FOR_STATISTICS__ conditional.
2015-06-15 13:20:17 -05:00
Sebastian Huber
80fca28198
score: Add _Watchdog_Preinitialize()
...
Add an assert to ensure that the watchdog is the proper state for a
_Watchdog_Initialize(). This helps to detect invalid initializations
which may lead to a corrupt watchdog chain.
2015-06-13 15:51:21 +02:00
Sebastian Huber
0562060f07
sptests/sptasknopreempt01: New test
...
Update #2365 .
2015-06-12 13:59:47 +02:00
Sebastian Huber
2ccd150d28
sptests/sptimecounter03: New test
2015-06-09 14:56:02 +02:00
Sebastian Huber
b88d346fbd
sptests/spcontext01: Add second volatile clobber
...
Do a volatile clobber in the context switch extension to cover the path
through _Thread_Do_dispatch() invoked after interrupt processing.
2015-06-09 09:28:36 +02:00
Sebastian Huber
b276507552
sptests/spcontext01: Improve output
2015-06-03 10:07:23 +02:00
Sebastian Huber
43d7005829
smptests/smpscheduler02: Reduce required CPU count
2015-06-03 09:19:34 +02:00
Sebastian Huber
2c14e67342
smptests/smpmrsp01: Reduce required CPU count
2015-06-03 09:19:34 +02:00
Sebastian Huber
f48b73deb6
smptests/smpscheduler03: Use proper lock
2015-06-03 09:19:34 +02:00
Sebastian Huber
18d18e1c4b
tmtests/tm26: Fix context switch to FP task
...
It is wrong to restore the floating point context here. The
_Context_Switch() ends up in _Thread_Handler() which will call
_Thread_Restore_fp(). In _Thread_Do_dispatch() the FP restore is after
the context switch.
2015-05-29 21:20:31 +02:00
Sebastian Huber
b17fb17a56
Revert "tmtests/tm26: Avoid NULL pointer access"
...
There is no NULL pointer access. Please note that
_Thread_Get_executing() != executing variable in Low_task().
This reverts commit 5611839a7e .
2015-05-29 17:51:38 +02:00
Sebastian Huber
5611839a7e
tmtests/tm26: Avoid NULL pointer access
2015-05-29 15:06:53 +02:00
Sebastian Huber
9d0913d16c
libtests/i2c01: Avoid stack overflow
2015-05-27 12:48:53 +02:00
Sebastian Huber
ec84273de4
score: Replace _API_Mutex_Is_locked()
...
Replace _API_Mutex_Is_locked() with _API_Mutex_Is_owner().
2015-05-27 12:24:24 +02:00
Sebastian Huber
ee4e7f09b4
jffs2: Move into separate library
...
In case the zlib compression was used, then the librtemscpu.a depended
on libz.a. To avoid a GCC patch or complicated link flags move the
JFFS2 support into a separate library to use a simple "-ljffs2 -lz" to
link the executable.
2015-05-27 08:53:05 +02:00
Alexander Krutwig
cba07fcc7a
sptests/spcontext01: Test deferred FP context
2015-05-26 10:29:38 +02:00
Alexander Krutwig
7cd2484c4c
timecounter: Use in RTEMS
...
Replace timestamp implementation with FreeBSD bintime and timecounters.
New test sptests/sptimecounter02.
Update #2271 .
2015-05-20 08:40:33 +02:00
Alexander Krutwig
31be41653a
timecounter: Port to RTEMS
...
New test sptests/timecounter01.
Update #2271 .
2015-05-20 08:40:29 +02:00
Sebastian Huber
33e30f393e
smptests/smpscheduler03: Restructure
...
Restructure to avoid large maximum thread dispatch disabled times.
2015-05-19 15:14:34 +02:00
Sebastian Huber
20b423c6f2
psxualarm: Avoid endless signal handling
...
Increase the ualarm timer interval to avoid endless signal handling.
2015-05-19 15:14:33 +02:00
Sebastian Huber
d8752860e5
score: Add static initializers for thread queues
2015-05-19 12:00:48 +02:00