Commit Graph

30067 Commits

Author SHA1 Message Date
Sebastian Huber
f7ba2945d3 monitor: Add support for BSD wakeup messages 2017-01-31 09:38:08 +01:00
Sebastian Huber
e366f774a7 score: Add _Thread_queue_Object_name
Add the special thread queue name _Thread_queue_Object_name to mark
thread queues embedded in an object with identifier.  Using the special
thread state STATES_THREAD_QUEUE_WITH_IDENTIFIER is not reliable for
this purpose since the thread wait information and thread state are
protected by different SMP locks in separate critical sections.  Remove
STATES_THREAD_QUEUE_WITH_IDENTIFIER.

Add and use _Thread_queue_Object_initialize().

Update #2858.
2017-01-31 09:38:07 +01:00
Sebastian Huber
70488f5655 score: Fix _Thread_Initialize() 2017-01-31 09:38:07 +01:00
Kuan-Hsun Chen
166a9f67cd sprmsched01/spedfsched04: Revise
Instead of using the target time and console driver, both tests now use
assertions and rtems_rate_monotonic_get_status() to verify the count of
postponed jobs.  The setting of spedfsched04 is slightly changed.

Close #2795.
2017-01-31 07:20:06 +01:00
Sebastian Huber
c5430e0618 score: Fix unused parameter warning
Close #2890.
2017-01-30 12:29:31 +01:00
Stavros Passas
575c2e21e2 Complete STACK_CHECKER_EXTENSION. Fixes #2889 2017-01-30 11:50:47 +01:00
Christian Mauderer
180107e971 bsps/arm: Fix Cortex-M DWT CPU counter.
It is necessary to enable the DWT using a special initialization
sequence before the CYCCNT can be enabled. See for example the
RESET_CYCLE_COUNTER in libbsp/arm/atsam/utils/utility.h.

Note that this problem only occurs if no debugger is connected. A
debugger most likely already enables the necessary module.
2017-01-30 11:35:31 +01:00
Kuan-Hsun Chen
0794197f72 rtems: Fix _Rate_monotonic_Renew_deadline()
Prepare a precondition to prevent the potential integer overflow.

Remove one redundant parameter in _Rate_monotonic_Renew_deadline().

sptests/sprmsched02: Create
A test case for checking the overflow condition of postponed_jobs
in rtems_rate_monotonic_period_status.

Update #2885.
2017-01-30 07:53:13 +01:00
Sebastian Huber
4ea92d1ed1 score: Clarify _Heap_Extend()
Update #1747.
2017-01-27 08:06:06 +01:00
Sebastian Huber
abc963db8f score: Fix typo 2017-01-27 07:42:29 +01:00
Sebastian Huber
6f6da82ca0 score: Fix user extensions order
Use forward and reverse order for initial and dynamic extensions.  This
is the behaviour documented in the C Users Guide.  Change thread
terminate order to backward to be in line with the thread delete order.
Change fatal error order to forward to ensure that initial extensions
are called first due the peculiar execution context of fatal error
extensions, see _Terminate() documentation.

Update #2692.
2017-01-26 11:20:45 +01:00
Sebastian Huber
d1505a19c7 sapi: Add rtems_task_terminate_extension 2017-01-26 11:05:00 +01:00
Kuan-Hsun Chen
d7feb8677d Remove rtems_rate_monotonic_postponed_job_count()
Add a variable named "count" in rtems_rate_monotonic_period_status
structure.  Revise rtems_rate_monotonic_get_status() for the postponed
job count.

sptests/sp69: Add in the verification of the postponed job count for
rtems_rate_monotonic_get_status().

Update #2795.
2017-01-26 10:00:33 +01:00
Sebastian Huber
27bfcd88f7 score: Delete _CPU_Context_Fp_start()
Since the FP area pointer is passed by reference in
_CPU_Context_Initialize_fp() the optional FP area adjustment via
_CPU_Context_Fp_start() is superfluous.  It is also wrong with respect
to memory management, e.g. pointer passed to _Workspace_Free() may be
not the one returned by _Workspace_Allocate().

Close #1400.
2017-01-26 07:31:09 +01:00
Sebastian Huber
7cb7454f93 psxtests: Relax shared memory tests
There is currently no proper mmap() implementation.

Update #2859.
2017-01-25 11:46:51 +01:00
Sebastian Huber
090bdc7e94 posix: Fix use of uninitialized variable
Update #2859.
2017-01-25 11:45:49 +01:00
Sebastian Huber
23a11b68cd sptests/spedfsched04: Merge and fix
Merge into one file and fix obvious problems (e.g. out of bounds array
access).

Update #2795.
2017-01-25 11:16:02 +01:00
Kevin Kirspel
b43c2e8952 Adding ARM VFP V2 support 2017-01-24 15:42:05 +01:00
Sebastian Huber
29e08d41f4 sptests/sprmsched01: Merge and fix
Merge into one file and fix obvious problems (e.g. out of bounds array
access).

Update #2795.
2017-01-24 15:37:04 +01:00
Sebastian Huber
b8d6eb719a rtems: rtems_rate_monotonic_postponed_job_count()
Use proper locking in SMP configurations.

Update #2795.
2017-01-24 15:05:22 +01:00
Sebastian Huber
625bd6aca4 rtems: Fix _Rate_monotonic_Release_postponed_job()
Use proper locking in SMP configurations.

Update #2795.
2017-01-24 15:04:11 +01:00
Sebastian Huber
1240aade5a rtems: Fix _Rate_monotonic_Renew_deadline()
Make _Rate_monotonic_Renew_deadline() static and use proper locking in SMP
configurations.

Update #2795.
2017-01-24 14:44:37 +01:00
Sebastian Huber
6af2221aac fsscandir01: Check MAXNAMLEN and NAME_MAX
Update #1394.
2017-01-24 10:08:33 +01:00
Sebastian Huber
436a4b384b smptests/smpsignal01: Check signal ISR level
Close #2751.
2017-01-24 09:44:02 +01:00
Sebastian Huber
3d20f5fbb7 sparc: Relax CPU_STACK_ALIGNMENT
Close #2352.
2017-01-24 08:39:22 +01:00
Sebastian Huber
4aa23c9641 Remove CPU_BIG_ENDIAN and CPU_LITTLE_ENDIAN
Use de-facto standard BYTE_ORDER instead.

Close #2803.
2017-01-24 08:39:22 +01:00
Sebastian Huber
2711914f82 Use <sys/endian.h>
Update #2803.
2017-01-24 08:39:22 +01:00
Sebastian Huber
dc9b704450 Provide <endian.h> for glibc compatibility
Update #2803.
2017-01-24 08:39:21 +01:00
Kevin Kirspel
2f8f951b42 bsp/lpc32xx: Fix interrupt controller suppport
Enable/Disable vector routines now check for a valid vector. Without
these guards, the Enable/Disable vector routines will not work with the
interrupt server.
2017-01-24 07:09:55 +01:00
Sebastian Huber
c0151e6c64 nfsclient: Fix suspicious condition
Close #2700.
2017-01-23 14:38:35 +01:00
Sebastian Huber
1157cb598f sys/endian.h: Document FreeBSD origin 2017-01-23 07:57:07 +01:00
Sebastian Huber
7fbd72cb00 libchip: Really fix high capacity detection
Update #2239.
2017-01-20 15:29:00 +01:00
Sebastian Huber
e8606d5b90 bsp/beatnik: Remove superfluous check
Close #2874.
2017-01-20 14:23:12 +01:00
Gedare Bloom
2126789736 raspberrypi: fix math inside of sizeof
Move the subtraction of 1 for terminator outside of
sizeof operator.

Closes #2731.
2017-01-19 15:37:13 -05:00
Gedare Bloom
70e8abf391 raspberrypi: use signed int for return variable
Closes #2873.
2017-01-19 15:34:18 -05:00
Gedare Bloom
3f09d63548 smdk2410: delete unused variables
Closes #2868.
2017-01-19 12:58:44 -05:00
Sebastian Huber
66bd19eaf1 JFFS2: Fix typo 2017-01-19 14:10:42 +01:00
Joel Sherrill
e397122cf4 m68k/mcf5225x/*/mc525x5-testsuite.tcfg: Add cdtest 2017-01-17 17:59:07 -06:00
Joel Sherrill
900f9857eb m68k/mcf52235/*/mc52235-testsuite.tcfg: Add cdtest 2017-01-17 17:59:05 -06:00
Joel Sherrill
96ba863df0 arm/lpc32xx/*/lpc32xx_mzx_stage_1-testsuite.tcfg: Add dl05 2017-01-17 17:59:03 -06:00
Joel Sherrill
79ec730e09 powerpc/mpc55xxevb/*.tcfg: Add fsjffs2gc01 to excluded tests 2017-01-17 17:59:02 -06:00
Joel Sherrill
09f6666b21 m68k/mcf5225x/*.tcfg: Add fsjffs2gc01 to excluded tests 2017-01-17 17:59:02 -06:00
Joel Sherrill
dd14b45045 m68k/mrm332/*.tcfg: Add fsjffs2gc01 to excluded tests 2017-01-17 17:59:02 -06:00
Joel Sherrill
ba61311eb7 m68k/mcf52235/*.tcfg: Add fsjffs2gc01 to excluded tests 2017-01-17 17:59:02 -06:00
Joel Sherrill
ddb2812791 arm/stm32f4/*.tcfg: Add fsjffs2gc01 to excluded tests 2017-01-17 17:59:02 -06:00
Joel Sherrill
9c834d1142 arm/lpc24xx/*.tcfg: Add fsjffs2gc01 to excluded tests 2017-01-17 17:59:00 -06:00
Joel Sherrill
ed1dcd28d6 arm/lpc32xx/*.tcfg: Add fsjffs2gc01 to excluded tests 2017-01-17 17:58:58 -06:00
Joel Sherrill
2414497fcb arm/lpc176x/*.tcfg: Add fsjffs2gc01 to excluded tests 2017-01-17 17:58:55 -06:00
Joel Sherrill
6c420403c8 arm/lm3s69xx/*.tcfg: Add fsjffs2gc01 to excluded tests 2017-01-17 17:58:52 -06:00
Stavros Passas
ac01d2468a rtems-test-check: Fix to properly process excludes
Closes #2867.
2017-01-17 17:58:37 -06:00