| Commit message (Collapse) | Author | Files | Lines |
|
Add TM27_USE_VECTOR_HANDLER to select the interrupt handler type used by
the <tm27.h> implementation.
Close #4820.
|
|
Updates #3053.
|
|
The use of CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER does not define
anything, so remove the <rtems/btimer.h> include.
Update #3875.
|
|
Update #3533.
|
|
The TEST_EXTERN is a used only by the system.h style tests and they use
CONFIGURE_INIT appropriately.
Update #3170.
Update #3199.
|
|
- Remove the printf support leaving the direct printk support configured
with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf
call to printk.
- Control the test's single init for functions and global data with
TEST_INIT and not CONFIGURE_INIT. They are now separate.
Updates #3170.
|
|
|
|
Replace Thread_Scheduler_control::control and
Thread_Scheduler_control::own_control with new
Thread_Scheduler_control::home.
Update #2556.
|
|
Rename _ISR_Disable_without_giant() into _ISR_Local_disable(). Rename
_ISR_Enable_without_giant() into _ISR_Local_enable().
This is a preparation to remove the Giant lock.
Update #2555.
|
|
Replace _Thread_Disable_dispatch() with _Thread_Dispatch_disable().
Replace _Thread_Enable_dispatch() with _Thread_Dispatch_enable().
This is a preparation to remove the Giant lock.
Update #2555.
|
|
In addition protect scheduler of thread by thread state lock. Enables
use of scheduler per-instance locks.
Update #2555.
|
|
|
|
Do not allocate the scheduler control structures from the workspace.
This is a preparation step for configuration of clustered/partitioned
schedulers on SMP.
|
|
Scheduler operations must be free of a global scheduler context to
enable partitioned/clustered scheduling.
|
|
Delete global variables _Priority_Major_bit_map and _Priority_Bit_map.
This makes it possible to use multiple priority scheduler instances for
example with clustered/partitioned scheduling on SMP.
|
|
|
|
|
|
This function was only used in some tests and can be replaced with other
functions.
|
|
|
|
Add and use _ISR_Disable_without_giant() and
_ISR_Enable_without_giant() if RTEMS_SMP is defined.
On single processor systems the ISR disable/enable was the big hammer
which ensured system-wide mutual exclusion. On SMP configurations this
no longer works since other processors do not care about disabled
interrupts on this processor and continue to execute freely.
On SMP in addition to ISR disable/enable an SMP lock must be used.
Currently we have only the Giant lock so we can check easily that ISR
disable/enable is used only in the right context.
|
|
|
|
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
PR 1777/cpukit
* support/include/tmacros.h, tmtests/tm26/task1.c,
tmtests/tm27/task1.c: Consolidated access to
_Thread_Dispatch_disable_level.
|
|
PR 1743/cpu
* tm26/task1.c, tm27/task1.c: Add Simple Priority Scheduler as
complement to existing Deterministic Priority Scheduler. Modify these
tests to verify the scheduler they are designed to work with is the
default scheduler.
|
|
|
|
* tm26/task1.c, tm27/task1.c: Adjust for name changes.
|
|
* tm26/task1.c, tm27/task1.c: Update for API changes.
|
|
PR 1647/cpukit
* tm26/task1.c, tm27/task1.c: Update documentation to reflect
refactoring of SuperCore to add Scheduler Handler.
|
|
* tm26/task1.c, tm27/task1.c: Do not violate chain API.
|
|
PR 1599/cpukit
* tm26/task1.c, tm27/task1.c: Rename _Context_Switch_necessary to
_Thread_Dispatch_necessary to more properly reflect the intent.
|
|
|
|
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c,
tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c,
tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm16/task1.c,
tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c, tm21/task1.c,
tm23/task1.c, tm24/task1.c, tm25/task1.c, tm26/task1.c, tm27/task1.c,
tm28/task1.c, tm29/task1.c, tmoverhd/testtask.c: Run all tests
successfully with maxixum number of priorities as 16 instead of 256.
This was done by temporarily modifying the score priority.h maximum.
This allowed testing of all API code to ensure that it worked
properly with a reduced number of priorities. Most modifications were
to switch from hard-coded maximum to using the API provided methods
to determine maximum number of priority levels.
|
|
* tm01/Makefile.am, tm01/task1.c, tm02/Makefile.am, tm02/task1.c,
tm03/Makefile.am, tm03/task1.c, tm04/Makefile.am, tm04/task1.c,
tm05/Makefile.am, tm05/task1.c, tm06/Makefile.am, tm06/task1.c,
tm07/Makefile.am, tm07/task1.c, tm08/Makefile.am, tm08/task1.c,
tm09/Makefile.am, tm09/task1.c, tm10/Makefile.am, tm10/task1.c,
tm11/Makefile.am, tm11/task1.c, tm12/Makefile.am, tm12/task1.c,
tm13/Makefile.am, tm13/task1.c, tm14/Makefile.am, tm14/task1.c,
tm15/Makefile.am, tm15/task1.c, tm16/Makefile.am, tm16/task1.c,
tm17/Makefile.am, tm17/task1.c, tm18/Makefile.am, tm18/task1.c,
tm19/Makefile.am, tm19/task1.c, tm20/Makefile.am, tm20/task1.c,
tm21/Makefile.am, tm21/task1.c, tm22/Makefile.am, tm22/task1.c,
tm23/Makefile.am, tm23/task1.c, tm24/Makefile.am, tm24/task1.c,
tm25/Makefile.am, tm25/task1.c, tm26/Makefile.am, tm26/task1.c,
tm27/Makefile.am, tm27/task1.c, tm28/Makefile.am, tm28/task1.c,
tm29/Makefile.am, tm29/task1.c, tmck/Makefile.am, tmck/task1.c,
tmoverhd/Makefile.am, tmoverhd/testtask.c: Eliminate empty function
from every benchmark timer driver. Fix spelling.
|
|
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c,
tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c,
tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm15/task1.c,
tm16/task1.c, tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c,
tm21/task1.c, tm22/task1.c, tm23/task1.c, tm24/task1.c, tm25/task1.c,
tm26/task1.c, tm27/task1.c, tm28/task1.c, tm29/task1.c, tmck/task1.c,
tmoverhd/testtask.c: Rename timer driver methods to follow RTEMS
programming conventions.
|
|
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c,
tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c,
tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm15/task1.c,
tm16/task1.c, tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c,
tm21/task1.c, tm22/task1.c, tm23/task1.c, tm24/task1.c, tm25/task1.c,
tm26/task1.c, tm27/task1.c, tm28/task1.c, tm29/task1.c, tmck/task1.c,
tmoverhd/testtask.c: Change TEST_INIT to CONFIGURE_INIT. Make
tmacros.h available to all POSIX tests. Add a clock_settime case for
< 1988.
|
|
PR 610/bsps
* tm27/task1.c: Use _RTEMS_RMTEST27 instead of RTEMS_TM27.
Unconditionally include <tm27.h>.
|
|
PR 611/bsps
* tm27/task1.c: Follow conventions for tm27 and do not add another
macro definition.
|
|
|
|
PR 597/tests
* tm02/system.h, tm03/system.h, tm04/system.h, tm05/system.h,
tm06/system.h, tm07/system.h, tm08/system.h, tm10/system.h,
tm11/system.h, tm12/system.h, tm13/system.h, tm14/system.h,
tm15/system.h, tm16/system.h, tm17/system.h, tm18/system.h,
tm19/system.h, tm21/system.h, tm22/system.h, tm23/system.h,
tm24/system.h, tm25/system.h, tm26/system.h, tm27/system.h,
tm27/task1.c, tm29/system.h: The actual workspace needed by the
tmtests depends on OPERATION_COUNT, but the definitions of
CONFIGURE_MAXIMIM_xxx in the their system.h files do not reflect
this. This results in unnecessary memory exhaustion on small-memory
systems such as the SS555.
|
|
* include/timesys.h, tm01/task1.c, tm02/task1.c, tm03/task1.c,
tm04/task1.c, tm05/task1.c, tm06/task1.c, tm07/task1.c,
tm08/task1.c, tm09/task1.c, tm10/task1.c, tm11/task1.c,
tm12/task1.c, tm13/task1.c, tm14/task1.c, tm15/task1.c,
tm16/task1.c, tm17/task1.c, tm18/task1.c, tm20/task1.c,
tm21/task1.c, tm22/task1.c, tm23/task1.c, tm24/task1.c,
tm25/task1.c, tm26/task1.c, tm27/task1.c, tm28/task1.c,
tm29/task1.c, tmck/task1.c, tmoverhd/testtask.c: Convert to using
c99 fixed size types.
|
|
PR 583/tests
* tm26/task1.c, tm27/task1.c: Correctly reset
_Thread_Dispatch_disable_level so printing is safe.
|
|
* include/timesys.h, tm01/system.h, tm01/task1.c, tm01/tm01.doc,
tm02/system.h, tm02/task1.c, tm02/tm02.doc, tm03/system.h,
tm03/task1.c, tm03/tm03.doc, tm04/system.h, tm04/task1.c,
tm04/tm04.doc, tm05/system.h, tm05/task1.c, tm05/tm05.doc,
tm06/system.h, tm06/task1.c, tm06/tm06.doc, tm07/system.h,
tm07/task1.c, tm07/tm07.doc, tm08/system.h, tm08/task1.c,
tm08/tm08.doc, tm09/system.h, tm09/task1.c, tm09/tm09.doc,
tm10/system.h, tm10/task1.c, tm10/tm10.doc, tm11/system.h,
tm11/task1.c, tm11/tm11.doc, tm12/system.h, tm12/task1.c,
tm12/tm12.doc, tm13/system.h, tm13/task1.c, tm13/tm13.doc,
tm14/system.h, tm14/task1.c, tm14/tm14.doc, tm15/system.h,
tm15/task1.c, tm15/tm15.doc, tm16/system.h, tm16/task1.c,
tm16/tm16.doc, tm17/system.h, tm17/task1.c, tm17/tm17.doc,
tm18/system.h, tm18/task1.c, tm18/tm18.doc, tm19/system.h,
tm19/task1.c, tm19/tm19.doc, tm20/system.h, tm20/task1.c,
tm20/tm20.doc, tm21/system.h, tm21/task1.c, tm21/tm21.doc,
tm22/system.h, tm22/task1.c, tm22/tm22.doc, tm23/system.h,
tm23/task1.c, tm23/tm23.doc, tm24/system.h, tm24/task1.c,
tm24/tm24.doc, tm25/system.h, tm25/task1.c, tm25/tm25.doc,
tm26/fptest.h, tm26/system.h, tm26/task1.c, tm26/tm26.doc,
tm27/system.h, tm27/task1.c, tm27/tm27.doc, tm28/system.h,
tm28/task1.c, tm28/tm28.doc, tm29/system.h, tm29/task1.c,
tm29/tm29.doc, tmck/system.h, tmck/task1.c, tmck/tmck.doc,
tmoverhd/dumrtems.h, tmoverhd/empty.c, tmoverhd/system.h,
tmoverhd/testtask.c, tmoverhd/tmoverhd.doc: URL for license changed.
|
|
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* include/timesys.h, tm01/task1.c, tm02/task1.c, tm03/task1.c,
tm04/task1.c, tm05/task1.c, tm06/task1.c, tm07/task1.c, tm08/task1.c,
tm09/task1.c, tm10/task1.c, tm11/task1.c, tm12/task1.c, tm13/task1.c,
tm14/task1.c, tm15/task1.c, tm16/task1.c, tm17/task1.c, tm18/task1.c,
tm19/task1.c, tm20/task1.c, tm21/task1.c, tm22/task1.c, tm23/task1.c,
tm24/task1.c, tm25/task1.c, tm26/task1.c, tm27/task1.c, tm28/task1.c,
tm29/task1.c, tmck/task1.c, tmoverhd/testtask.c: Modified.
|
|
This fix is response to test results reported by Jerry Needell
<jerry.needell@unh.edu> for the SPARC/ERC32 and tracked as PR80.
* tm27/task1.c: Account for overhead in starting and stopping
the timer.
|
|
RTEMS_TM27 is defined before the bsp.h is included.
|
|
|
|
|
|
|
|
|
|
of switching to the modified GNU GPL.
|