Commit Graph
30101 Commits
Author SHA1 Message Date
Nick Withers df184ebea1 Remove old CVS keywords
Update #2388.
2017-02-15 14:52:15 +01:00
Sebastian Huber 7318e7db91 bsp/lpc24xx: Remove debug output 2017-02-15 13:41:02 +01:00
Sebastian Huber 6afeedaa71 bsps/powerpc: Fix warnings 2017-02-15 13:39:02 +01:00
Sebastian Huber f6f764c131 bsps/powerpc: Fix warnings 2017-02-15 13:28:02 +01:00
Sebastian Huber c847451b56 sapi: Fix warnings 2017-02-15 13:22:56 +01:00
Sebastian Huber 32292d5d7c bsps/powerpc: Fix warning 2017-02-15 13:14:40 +01:00
Sebastian Huber 661be20777 shell: Fix warnings 2017-02-15 13:05:27 +01:00
Sebastian Huber bc74461882 bsps/sparc: Fix warnings 2017-02-15 12:57:56 +01:00
Sebastian Huber f5cf2fe293 libdl: Fix warning 2017-02-15 11:19:50 +01:00
Sebastian Huber 444cb5cd23 bsps/arm: Fix prototype 2017-02-15 11:12:57 +01:00
Sebastian Huber 73f8d93847 bsps/powerpc: Fix warnings 2017-02-15 11:09:50 +01:00
Sebastian Huber 7a462cc60d score: Fix warning 2017-02-15 11:09:32 +01:00
Sebastian Huber 611f926212 psxtests: Fix warnings 2017-02-15 10:35:07 +01:00
Sebastian Huber 468e9a4d99 monitor: Print short and long task names
Print wait object identifier only if it exists.

Update #2858.
2017-02-14 11:12:00 +01:00
Sebastian Huber 71ac0a60ca spqreslib: Remove invalid test cases 2017-02-14 10:05:24 +01:00
Sebastian Huber ad25f10d5b spcbssched02: Remove invalid test cases 2017-02-14 10:03:42 +01:00
Sebastian Huber ecf53c8dd5 psxsem01: Fix warning 2017-02-14 09:57:22 +01:00
Sebastian Huber 54835ae9b3 Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS
Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS
since the SMP part is superfluous.

Update #2894.
2017-02-14 09:52:05 +01:00
Sebastian Huber c341463c97 tmacros.h: Fix print defines 2017-02-14 08:59:23 +01:00
Sebastian Huber 9333de2fa8 sppagesize: Include missing header file 2017-02-14 08:54:51 +01:00
Sebastian Huber 5eee7184ad shell: Fix warnings 2017-02-14 08:46:22 +01:00
Sebastian Huber 6dbbafc6b0 score: Fix warning in _Thread_Set_name() 2017-02-14 08:42:48 +01:00
Sebastian Huber d9c6542970 dosfs: Fix msdos_find_file_in_directory()
For a filename match the entry must match without anything remaining.

Close #2908.
2017-02-14 08:07:22 +01:00
Sebastian Huber 239dd35fce smptests: Fix warnings 2017-02-03 11:25:04 +01:00
Sebastian Huber 07d71279b4 Prefix confdefs.h internal def with an underscore
Close #2895.
2017-02-03 11:14:58 +01:00
Sebastian Huber 85ed95ec48 termios: Fix static device initalization
This enables early printk() support.

Update #2838.
2017-02-03 10:49:13 +01:00
Sebastian Huber bbfbfc847e score: Move _Thread_Scheduler_ask_for_help()
Move _Thread_Scheduler_ask_for_help(), rename it to
_Thread_Ask_for_help() and make it static.
2017-02-03 10:17:39 +01:00
Sebastian Huber ca1e546e77 score: Improve scheduler helping protocol
Only register ask for help requests in the scheduler unblock and yield
operations.  The actual ask for help operation is carried out during
_Thread_Do_dispatch() on a processor related to the thread.  This yields
a better separation of scheduler instances.  A thread of one scheduler
instance should not be forced to carry out too much work for threads on
other scheduler instances.

Update #2556.
2017-02-03 10:17:38 +01:00
Sebastian Huber e2b1c47d8c sparc: Fix volatile clobber
Do not adjust the stack pointer, since this is already done by the
restor instruction.

Update #2270.
2017-02-03 10:17:38 +01:00
Sebastian Huber d4ff66e423 confdefs.h: Simplify 2017-02-03 08:44:27 +01:00
Kevin Kirspel f9db6fd63d confdefs.h: Only define _CONFIGURE_SMP_APPLICATION if RTEMS_SMP defined 2017-02-02 16:44:31 -06:00
Sebastian Huber 6dd96afce9 rtems: Fix RTEMS_NO_TIMEOUT define
Cast the internal WATCHDOG_NO_TIMEOUT to the right type for a Classic
API interval to avoid implict type conversion warnings.
2017-02-02 09:16:53 +01:00
Sebastian Huber f95fa38764 Remove CONFIGURE_SMP_APPLICATION
Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1.

Update #2893.
2017-02-02 09:07:08 +01:00
Sebastian Huber 70f559d835 rtems: Fix RTEMS_MAXIMUM_PRIORITY define
Cast the internal PRIORITY_MAXIMUM to the right type for a Classic API
task priority to avoid integer conversion warnings.
2017-02-01 14:03:12 +01:00
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