Commit Graph

26166 Commits

Author SHA1 Message Date
Bjorn Larsson
abc833bd56 spport_err01: New test split from sp09
This test verifies rtems_port_XXX error tests from sp09 screen 9.
2014-03-28 12:32:38 -05:00
Bjorn Larsson
34244b7a74 spsignal_err01: New test split from sp09.
This test moves rtems_signal_send error testing from sp09
screen 9 into its own test.
2014-03-28 12:32:29 -05:00
Bjorn Larsson
0cf41e54dc spintr_err01: New test split from sp09.
This test contains the interrupt catch error tests from sp09
screen 9.
2014-03-28 12:32:19 -05:00
Bjorn Larsson
9c88bc6e80 spratemon_err01: New test split from sp09. 2014-03-28 12:32:10 -05:00
Sebastian Huber
0cd2b777eb samples/base_mp: Include missing header file 2014-03-27 14:52:36 +01:00
Christian Mauderer
5c0c0cf2a6 privateenv: Use POSIX keys instead of task variables. 2014-03-27 14:50:36 +01:00
Christian Mauderer
7d5c27e308 privateenv: Remove sharing of user environment between threads. 2014-03-27 14:50:36 +01:00
James Fitzsimons
89aa1ec87d m68k/mrm332: changes required to get the mrm332 bsp working again.
Changed console driver to use interrupts instead of polling.
Change to avoid overwriting CPU32Bug interrupt vector when setting up the Sci interrupt handler.
Fixed type for boolean flag in bsp.h.
Changed mrm332.h to use 25Mhz clock.
Fixes to mrm332.cfg to use correct mcpu32 value for RTEMS_CPU_MODEL instead of m68332 which is no longer supported.
Added -mcpu=cpu32 to compiler options.
Removed broken ROM linker script and replaced broken RAM linker script with working ROM linker script.
Removed no longer required file except_vect_332_ROM.S.
Enabled 0xbeefbeef magic string in start.S to allow MRM version of CPU32Bug to auto run RTEMS.
Removed old code from start.S
Changed compiler optimization flag to optimize for size.
2014-03-26 11:32:52 -04:00
Sebastian Huber
8c26e79867 tests: Produce proper begin/end messages 2014-03-25 16:46:37 +01:00
Sebastian Huber
a75242eb65 tmtests/tmcontext01: Use <rtems/test.h> 2014-03-25 16:46:37 +01:00
Sebastian Huber
1fac361fb9 score: PR2174: Add workaround
Add _Scheduler_FIXME_thread_priority_queues_are_broken to prevent thread
priority queues in case an EDF scheduler is used.
2014-03-25 13:19:26 +01:00
Sebastian Huber
9b44339c14 score: Delete _Watchdog_Report()
Delete _Watchdog_Report_chain().  These two functions use printk() with
thread dispatching and interrupts disabled.  So they are pretty useless
in real applications.  They are not part of the application APIs.  They
are only used in one test and do nothing useful in this test.
2014-03-25 13:19:22 +01:00
Sebastian Huber
e72bc923df sapi: Add profiling report for tests 2014-03-25 13:19:15 +01:00
Sebastian Huber
65612ccb85 sptests/spprintk: Use <rtems/test.h> 2014-03-25 09:47:19 +01:00
Sebastian Huber
5f104eefb1 score: Fix heap protection
Partially revert commit 2a713e3b94.
2014-03-25 08:53:33 +01:00
bjorn larsson
fd46711c54 psxtmtests: Add test.h support 2014-03-25 08:06:37 +01:00
bjorn larsson
2ead50ac4e tmtests: convert to test.h 2014-03-25 08:06:37 +01:00
Sebastian Huber
6c0301daad tests/sptests: Use <rtems/test.h> 2014-03-25 08:06:21 +01:00
Sebastian Huber
698c2e504a tests/psxtests: Use <rtems/test.h> 2014-03-25 08:06:16 +01:00
Sebastian Huber
2272905333 tests: Use rtems_status_text() 2014-03-25 08:06:06 +01:00
Daniel Cederman
67a4842b59 bsps/sparc: Make local functions for amba plug&play static. 2014-03-24 11:45:44 -05:00
Daniel Cederman
52f6502876 bsps/sparc: Add common gnat handler function prototype.
Moved prototype for __gnat_install_handler and __gnat_install_handler_common to common header file. Placed header file in bsp namespace.
2014-03-24 11:45:44 -05:00
Sebastian Huber
2a713e3b94 score: _Heap_Protection_set_delayed_free_fraction
Add and use _Heap_Protection_set_delayed_free_fraction().  This makes it
possible to avoid a dependency on _Thread_Dispatch_is_enabled().
2014-03-24 16:00:26 +01:00
Christian Mauderer
5ef9f23fb4 libcsupport: Use POSIX keys for GXX key functions
With this patch C++ applications now eventually need additional POSIX-keys and
POSIX-key-value-pairs configured.
2014-03-24 08:31:49 +01:00
Christian Mauderer
9d9df8b44e libcsupport: Remove unused gxx-wrapper function.
The rtems_gxx_key_dtor function is not longer used by gcc.
2014-03-24 08:31:49 +01:00
Christian Mauderer
01f2337432 posix: Prevent pthread_setspecific from returning EAGAIN.
The man-page for pthread_setspecific does not define the EAGAIN return value.
Further without this patch it was not possible to set keys that have been
already set a new value.

Add test for setting a new value to a already set key.
2014-03-24 08:31:49 +01:00
Christian Mauderer
8e133b2500 librpc: Use POSIX key instead of task variables 2014-03-24 08:31:48 +01:00
Sebastian Huber
383b2d383d score: Start thread dispatch profiling later
We are not interested in the sequential boot time.
2014-03-24 08:31:48 +01:00
Sebastian Huber
72d8db9c4a score: Delete _Thread_Internal_free() 2014-03-24 08:31:47 +01:00
Sebastian Huber
b0efca5b51 score: _Debug_Is_thread_dispatching_allowed()
Do not check ISR level in _Debug_Is_thread_dispatching_allowed().
2014-03-24 08:31:01 +01:00
Sebastian Huber
b3b960002a score: Delete unused STATES_ALL_SET 2014-03-24 08:31:01 +01:00
Sebastian Huber
3b5e7dcf14 score: Set name before object is made public 2014-03-24 08:31:01 +01:00
Daniel Cederman
e4b5085344 greth: Make local functions static, remove overflow and correct printf call. 2014-03-21 09:57:27 -05:00
Daniel Cederman
324032549e bsps/sparc: Change asm to __asm__ to compile with -pedantic. 2014-03-21 09:57:25 -05:00
Daniel Cederman
f23bd591c2 bsps/sparc: Make spurious trap handler function static. 2014-03-21 09:57:23 -05:00
Daniel Cederman
a46e02c7ea bsps/sparc: Make local functions static.
The PCI and RASTA versions of the uart, spacewire and 1553 drivers directly includes the c-file of the standard versions
of the drivers, but uses a macro to change the name of the driver register function. When the standard version is
used this function should be global, when it is included as part of the PCI and RASTA versions it should be local and
static.
2014-03-21 09:57:20 -05:00
Daniel Cederman
5130248e12 smc91111: Move driver attach prototype to header file.
Also signal to compiler that the start variable in lan91cxx_recv is only used when debugging.
2014-03-21 09:57:18 -05:00
Joel Sherrill
82e507e3e8 no_bsp/shmsupp/lock.c: Remove rtems_bsp_delay() 2014-03-21 08:55:10 -05:00
Joel Sherrill
8d6879147b no_bsp/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:10 -05:00
Joel Sherrill
bd7dd3b0e6 nios2_iss/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:09 -05:00
Joel Sherrill
b51e44ad14 moxiesim/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:09 -05:00
Joel Sherrill
43e5a3ca4b sim68000/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:09 -05:00
Joel Sherrill
2e9efbfe86 ods68302/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:08 -05:00
Joel Sherrill
a4ee9f5792 mvme136/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:08 -05:00
Joel Sherrill
3420b6b76f mrm332/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:08 -05:00
Joel Sherrill
65e0fece64 gen68360/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:07 -05:00
Joel Sherrill
99a1a2c5e9 gen68340/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:07 -05:00
Joel Sherrill
3139c1d0f0 gen68302/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:07 -05:00
Joel Sherrill
130f01bb8a m32rsim/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:07 -05:00
Joel Sherrill
0758923da6 m32cbsp/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:06 -05:00