Commit Graph

26350 Commits

Author SHA1 Message Date
Sebastian Huber
5b85ccaebc bsps/arm: Use handlers for PL111 set up/tear down 2014-01-10 21:44:24 +01:00
Chris Johns
e83be2871f testsuite/rtems++: Output format change.
Alter the output to avoid sending out what is the MI protocol. The SIS
simulator is currently broken and outputs directly to GDB's stdout and
so this output gets parsed as MI output.
2014-01-10 10:57:08 +11:00
Cynthia Rempel
e327e692c3 libbsp tm27.h: Add Doxygen file header to all tm27.h 2014-01-09 16:05:54 -06:00
Joel Sherrill
8d7c3cae95 tasksetpriority.c: Remove obsolete comment 2014-01-09 15:59:21 -06:00
HailinGuo
05b3db65f9 spsize/size.c: Fix typo.
From pull request at fc07a4c501
2014-01-09 09:50:18 -06:00
Cynthia Rempel
46123cf24f libtests: Add contents to rbheap and stackchk documentation files 2014-01-09 09:42:01 -06:00
Cynthia Rempel
4e108d7919 tmtests: Add contents to multiple documentation files 2014-01-09 09:42:01 -06:00
Till Strauman
a19a7077ee posix: fix race condition between pthread_create and capture engine
Reproducable crashes occur when using pthreads and the capture engine
at the same time. 'pthread_create()' is the culprit. It creates a SCORE thread
and then calls Thread_Start( ) without disabling thread-dispatching.
2014-01-09 10:24:12 -05:00
Daniel Ramirez
3096f5c967 libtests/termios01: Add tests for cfsetspeed() and cfmakeraw() 2014-01-09 09:21:49 -06:00
Toma Radu
1d325e7b4d sparc BSP shared: Improve Doxygen
Add doxygen to the header files in sparc/shared/include directory.
2014-01-09 09:21:49 -06:00
Daniel Ramirez
8950204093 libtests/uid01: Fix Copyright information 2014-01-09 10:18:45 -05:00
Daniel Ramirez
7cf81ba4aa libtests: added test to confirm patch fixes bug 2014-01-09 10:07:49 -05:00
Allan Hessenflow
66bf2cc909 mw_uid: corrects uid_read_message short timeouts 2014-01-09 10:07:48 -05:00
Jim Panetta
2b03a62441 NTP: Sync time correctly when receiving broadcast updates
1) The value of rtems_bsdnet_ntpserver_count is equal to 0 when no
   server is set, so the check for (rtems_bsdnet_ntpserver_count < 0)
   in rtems_bsdnet_get_ntp() is wrong.  The check should be "<= 0".

2) Binding the listening socket port to 0 does not work.  Packets
   appear on the interface, but the recvfrom in tryServer() never
   returns.  Changing this to the well known NTP socket 123 allows
   the packets to be seen.

3) In tryServer(), an explicit check for NTP version 3 packets is made.
   If the NTP server is version 4, this check fails even though the
   packets seem to be the right shape.
2014-01-09 09:56:03 -05:00
Gerardo Puga
78c84df00c PR 1548: ERC32 console stops working when UART error flags are set
Problem:

The console works fine when only transmitting data from the ERC32, but stops
working after a while when receiving data.

"Stops working" means, bytes are neither sent nor received from the UART, but
the rest of the system keeps functioning (task are executing, the operative
system is responsive, etc).

Context:

- When an RX error occurs, the ERC32 UARTS stop generating RX/TX interrupts
until the corresponding error flag in the UART_STATUS are cleared.

- The console.c code currently cleans the error flags from the console_isr_x
subroutines, but those are NOT called when an RX error occurs. Thus the error
flag is never cleaned and then the UARTs stop generating interrupts
indefinitely.

- The ERC32 UARTs generate a different interrupt when an RX error occurs.

Fixed by:

- Adding a third interrupt service routine console_isr_error to handle the
UART_ERROR trap. This isr cleans the error flags of the channels.

- Cleaning the error flags manually just after having initialized the interrupt
vectors. This is because if the error flag was already set by the time the
interrupt vectors are configured, the interrupts might never be called.
2014-01-09 09:44:14 -05:00
Daniel Ramirez
35b8f48a4b libcsupport: Refactor rtems_deviceio_errno
Renames rtems_deviceio_errno to rtems_status_code_to_errno and
integrates it into the Classic API Status Handler. This function
can now be called by including status.h
2014-01-08 15:24:09 -06:00
Szkocsovszki Zsolt
a77c3719f8 powerpc/mvme3100: Improve Doxygen 2014-01-08 15:24:09 -06:00
Szkocsovszki Zsolt
d48ac18144 m68k/gen68360: Improve Doxygen 2014-01-08 15:24:09 -06:00
Toma Radu
540b771a07 sp16, sp17, and sp20: Documentation Fixes
Fix the documentation for the sp16, sp17 and sp20 tests.
2014-01-08 15:24:09 -06:00
Szkocsovszki Zsolt
e87b300635 shared vmeUniverse: Improve Doxygen 2014-01-08 15:23:53 -06:00
Toma Radu
d496095366 genmcf548x: Improve Doxygen
Add doxygen to the header files in the genmcf548x/include directory.
2014-01-08 15:23:53 -06:00
Toma Radu
73885572e3 av5282: Improve Doxygen
Add doxygen to the header files in the av5282/include directory.
2014-01-08 15:23:53 -06:00
Cynthia Rempel
73a7713d8c fstests and libtests: Add contents to multiple documentation files 2014-01-08 12:48:37 -06:00
Joel Sherrill
893aac166a rhealstone: Add start end and messages 2014-01-07 18:31:32 -06:00
Joel Sherrill
bc55e4fa52 psximfs02: Clean up output 2014-01-07 18:02:46 -06:00
Joel Sherrill
f3f3049824 spfifo02: Clean up output 2014-01-07 18:01:55 -06:00
Cynthia Rempel
23d53e8aaa fsdosfsformat01.doc: Add contents 2014-01-07 15:08:48 -06:00
Cynthia Rempel
d8cd49cb8b fsbdpart01.doc: Add contents 2014-01-07 13:33:36 -06:00
Daniel Ramirez
564ce0f42d libcsupport: implemented termios functions cfsetspeed and cfmakeraw 2014-01-07 10:34:31 -06:00
Joel Sherrill
b6c1578bb9 rhealstone: Add rh prefix to all test names
This makes them easier to spot as a group in wildcard searches.
2014-01-05 11:17:08 -06:00
Joel Sherrill
e8c7dbe736 rhealstone/*.c: Add Print_Warning() call to indicate debug enabled 2014-01-05 10:39:34 -06:00
Joel Sherrill
acc636e1b5 rhealstone/README: Formatting 2014-01-05 10:38:57 -06:00
Daniel Ramirez
19e9bf8800 Added Rhealstone benchmark to testsuites
The Rhealstone benchmarks six operations that are critical components
of a real-time system. It allows for an objective analysis to be
performed, and allows for comparisons between systems.
See rhealstone/README for more information.
2014-01-05 09:58:39 -06:00
Joel Sherrill
4470ae9bb9 sp09: Remove partition specific parts 2014-01-04 11:08:10 -06:00
Joel Sherrill
f17a9269d3 spregion_err01: Clean up comments 2014-01-04 11:06:20 -06:00
Joel Sherrill
7132d3d498 sppartition_err01: Remove dead parts, reduce, and clean up.
Also fix naming issues.
2014-01-04 11:04:51 -06:00
Shaily Sangwan
524e78570a psxtime: Added doc file. 2014-01-03 13:12:43 -06:00
Mandar Juvekar
12f81c09ec pskey09, sp17: documentation cleanup. 2014-01-03 08:25:14 -06:00
Szkocsovszki Zsolt
6b1ee0258e idp: Add doxygen headers. 2014-01-03 08:14:49 -06:00
Mandar Juvekar
255178ec35 sptests: Refactor sp09 into sppartition_err01 and sp09. 2014-01-02 13:22:36 -06:00
Toma Radu
56ac38ec85 gen68340: Add doxygen header files. 2014-01-02 09:40:06 -06:00
Toma Radu
3bba3f58e0 gen68302: Add doxygen headers. 2013-12-30 14:24:12 -06:00
Szkocsovszki Zsolt
bbe0542806 m32rsim: Add doxygen headers. 2013-12-30 14:07:13 -06:00
Toma Radu
7c70c1d7ce m68k_csb360: doxygen improvement
Add doxygen to the header files in the m68k/cdb360 directory.
2013-12-30 13:03:09 -06:00
Joel Sherrill
85f2486b5f libbsp misc: Fix comment formatting 2013-12-30 12:56:19 -06:00
Szkocsovszki Zsolt
41aebd8a76 m32cbsp: Add doxygen headers. 2013-12-30 11:40:26 -06:00
Toma Radu
fa01e0d058 i386/pc386: Add doxygen file headers. 2013-12-30 10:48:57 -06:00
Joel Sherrill
1953027120 sp09: Remove region test references 2013-12-30 09:53:31 -06:00
Joel Sherrill
8211b9f3b0 spregion_err01: Remove unneeded fluff copied from sp09
The goal is to shrink the individual tests to have no unneeded
resources and to follow the structure of a normal test.
2013-12-30 09:53:31 -06:00
Mandar Juvekar
dfcb3ace79 spregion_err01: New test refactored from sp09 2013-12-30 09:18:51 -06:00