Commit Graph

25796 Commits

Author SHA1 Message Date
Joel Sherrill
a98d5fc291 tmoverhd/testtask.c: Fix output to be consistent 2013-12-07 19:45:11 -06:00
Joel Sherrill
dab34ec9e6 tmoverhd/empty.c: formatting 2013-12-07 19:44:20 -06:00
Joel Sherrill
bcc45a8142 tm19: Clean up output 2013-12-07 19:39:48 -06:00
Joel Sherrill
667b2db1d3 psxtmtests_plan.csv: Update messages 2013-12-07 19:10:35 -06:00
Joel Sherrill
2e50dcec70 timesys.h: Benchmark output now includes a dash for easier parsing 2013-12-07 19:10:35 -06:00
Joel Sherrill
50162e061b psxtmtests: Make output more uniform 2013-12-07 19:10:35 -06:00
Joel Sherrill
9410d01196 tmtests: Make output more uniform 2013-12-07 19:10:35 -06:00
Daniel Ramirez
ab1733b8e0 virtex4: Move start.S to virtex4/start/start.S 2013-12-06 20:30:27 -05:00
Daniel Ramirez
a4d673914f tqm8xx: Move start.S to tqm8xx/start/start.S 2013-12-06 20:07:19 -05:00
Daniel Ramirez
09c33edc40 virtex5: Move start.S to virtex5/start/start.S 2013-12-06 19:55:32 -05:00
Chirayu Desai
c6af45852e powerpc/ss555: move startup/start.S to start/start.S 2013-12-06 13:27:35 -05:00
Chirayu Desai
e626c60af4 libcpu/powerpc/mpc5xx: use THREAD_DISABLE_DISPATCH_LEVEL in asm 2013-12-06 13:26:58 -05:00
Gedare Bloom
03130cd068 sppagesize: fix copyright 2013-12-06 11:25:02 -05:00
Chirayu Desai
1203d387a6 powerpc: mbx8xx: move starup/start.S to start/start.S 2013-12-06 11:21:15 -05:00
Chirayu Desai
54da1243eb sptests: add a test for page size
Bug: https://www.rtems.org/bugzilla/show_bug.cgi?id=1216
2013-12-06 10:45:28 -05:00
Nickolay Semyonov-Kolchin
8ed1a54c57 Fix leap year calculation
Reference: http://en.wikipedia.org/wiki/Leap_year
Bug: https://www.rtems.org/bugzilla/show_bug.cgi?id=1422
2013-12-05 11:57:06 -05:00
Chirayu Desai
262e250756 sptest: sp2038: Add a test for leap year
Bug test case for PR 1422
2013-12-05 11:46:04 -05:00
Sahil Patnayakuni
98b9a3b5cb doc/posix_users: add notes and descriptions for pthread_key functions 2013-12-05 10:16:11 -05:00
Toma Radu
25026906c5 erc32: improve doxygen
Add doxygen to the bsp.h, tm27.h, erc32.h and irq.h files.
2013-12-04 16:23:19 -05:00
Gedare Bloom
5b3dc6824d leon3: fix doxygen description for bsp.h 2013-12-04 15:51:21 -05:00
Toma Radu
df217b0bcc leon3: improve doxygen
Add doxygen to the bsp.h, tm27.h, amba.h and leon.h files
2013-12-04 15:29:47 -05:00
Nick Withers
b5d2d4a61c Update to Mongoose 3.9 at the last point before the MIT -> GPL license change
[That is, 04fc209644. See https://groups.google.com/forum/#!topic/mongoose-users/aafbOnHonkI]

The RTEMS patches described in the following emails and made to the previous Mongoose base have been applied:
  - http://www.rtems.org/pipermail/rtems-devel/2012-July/001345.html
  - http://www.rtems.org/pipermail/rtems-devel/2012-July/001343.html
  - http://www.rtems.org/pipermail/rtems-devel/2012-July/001346.html (except to mongoose.1, see below)
...as well as a patch very similar to that discussed at http://forums.bannister.org/ubbthreads.php?ubb=showflat&topic=7600&gonew=1 to provide poll() (which might be able to go away soon, with incoming RTEMS poll() support)

mg_connect(), mg_url_encode() and mg_vprintf() were additionally marked "static" to silence warnings.

mongoose.1 appears to have been removed from the upstream distribution.

Note that the API's changed, for example:
  - A struct mg_callbacks must now be provided to mg_start(). Initialise members to NULL to disable various types of callbacks
  - Callback interfaces have changed significantly in general
  - The short form of options (e.g., "u" instead of "run_as_user") are no longer available (upstream)
  - The "max_request_size" options has been removed
2013-12-04 10:09:16 +01:00
Sebastian Huber
0adc8a74a8 libblock: Use LAST for the last partition block 2013-12-04 09:12:42 +01:00
Daniel Ramirez
3f8abd289b sparc: refactored shared/start.S to shared/start/start.S 2013-12-03 19:49:04 -05:00
Gedare Bloom
ebd0844919 leon2: fix typo in doxygen 2013-12-03 15:41:45 -05:00
Toma Radu
133f3cceef leon2: improve doxygen
Add doxygen to the cchip.c & leon_open_eth.c files.
2013-12-03 15:34:52 -05:00
Wendell P Silva
62ba20d759 PR2157: fdisk partition table dump improvement
Show the correct index of partition's last block (partition end).

The documentation of struct rtems_bdpart_partition (P) says that the member
'end' is the "Block index for partition end (this block is not a part of the
partition)". Then, the fdisk's partition table dump should print ((P)->end -
1).

Currently, one can think that the last block of a partition P is superposing
the beginning of the partition (P + 1). Example:

----------------------------------------
       PARTITION TABLE
------------+------------+--------------
 BEGIN      | END        | TYPE
------------+------------+--------------
       2048 |     133120 |       FAT 32
     133120 |   15628032 |       FAT 32
------------+------------+--------------

With be proposed patch, it would be:
----------------------------------------
       PARTITION TABLE
------------+------------+--------------
 BEGIN      | END        | TYPE
------------+------------+--------------
       2048 |     133119 |       FAT 32
     133120 |   15628031 |       FAT 32
------------+------------+--------------
2013-12-03 14:55:34 -05:00
Gedare Bloom
09a8188452 PR2056: libqos conversion from uint32_t to time_t
AquosA defines qres_params_t using qres_time_t so we should also.
This fixes an invalid conversion from uint32_t into time_t as well.
2013-12-03 10:58:26 -05:00
Daniel Ramirez
9f3057fc0d m68k: refactored shared/start.S to shared/start/start.S 2013-12-03 09:25:23 -05:00
Daniel Ramirez
b9287a15aa libbsp: refactored sparc/shared/bspgetworkarea.c to sparc/shared/startup/bspgetworkarea.c
* refactored sparc/shared/bspgetworkarea.c to sparc/shared/startup/bspgetworkarea.c
2013-12-03 09:12:31 -05:00
Sebastian Huber
b4e83061e3 arm: Clear reservations
Recent GCC versions use atomic operations based on load/store exclusive
in the C++ library.
2013-12-03 12:58:47 +01:00
Sebastian Huber
057c294afd bsps/powerpc: Unconditionally clear reservations 2013-12-03 12:58:47 +01:00
Sebastian Huber
f339afb47f bsp/qoriq: Use System V small-data area 2013-12-03 12:58:47 +01:00
Chirayu Desai
4b43051763 powerpc: motorola: Move bspreset.c to startup/
* Move shared/console/bspreset.c to motorola_powerpc/startup/bspreset.c
2013-12-02 22:48:33 -05:00
Daniel Ramirez
064820c874 psxtmtests: added new psxtmthread04 test 2013-12-02 22:43:09 -05:00
Radu
8d830fae23 leon2_doxygen_1 2013-12-02 22:38:09 -05:00
Sebastian Huber
aaaedba981 score: Minor _Thread_Dispatch() optimization
It is not necessary to load the executing thread control again after
the context switch since it is an invariant of the executing thread.
2013-12-02 09:43:29 +01:00
Sebastian Huber
927a0a1f99 posix: Use cleanup contexts on the stack
Provide support for latest Newlib <pthread.h> change.  The cleanup
contexts are stored on the thread stack.  This is conformant with the
POSIX requirements for the pthread_cleanup_push() and
pthread_cleanup_pop() statement pair.

Passing an invalid pointer as the routine to pthread_cleanup_push() is
now a usage error and the behaviour is undefined.
2013-12-02 09:24:51 +01:00
Daniel Ramirez
8abf00624c pstmtests_plan.csv: Update to reflect psxtmcond 09 and 10 exit 2013-12-01 20:44:19 -06:00
Radu Toma
d230d8eaae sparc/leon3: Add doxygen. 2013-12-01 19:29:12 -05:00
Daniel Ramirez
972579d32b psxtmtests: added psxtmcond06 test 2013-12-01 06:50:25 -06:00
Daniel Ramirez
72ff7569b0 psxtmtests: added new psxtmcond04 test, fixed psxtmcond03 2013-11-30 21:31:30 -05:00
Annelies Odermann
95d7ac7735 psx07.doc: New file 2013-11-30 18:41:11 -06:00
Joel Sherrill
086494d50e psxtmbarrier04/init.c: Fix warnings 2013-11-30 16:06:23 -06:00
Joel Sherrill
adc2301723 psxtmthread02/init.c: Fix warnings 2013-11-30 16:06:07 -06:00
Daniel Ramirez
115e059131 fixed psxtmthread02 test, updated .csv to be in sync and added test .docs 2013-11-30 15:50:25 -06:00
Joel Sherrill
135e957616 psxtmtests_plan.csv: Replace comma with colon
This makes it easier for scripts to parse correctly.
2013-11-30 09:53:47 -06:00
Daniel Hellstrom
2d3eb23349 sparc/shared/irq_asm.S: Get pointer to self per-CPU control
_CPU_Context_switch_to_first_task_smp() branches to
done_flushing which requires o3 to be initalized with
"self per-CPU control", this adds initialization of
o3. This problem only affects SMP, see commit
f8ad6c6f7f were usage of o3 was intruduced.
2013-11-30 09:28:28 -06:00
Daniel Ramirez
7de5ef5f83 psxtmtests: Added in new psxtmbarrier04 test, release, preempt 2013-11-30 08:58:55 -06:00
Daniel Ramirez
2d6543d4c8 doxygen: refactored doxygen in libbsp/arm/lpc32xx
This patch refactors a lot of the existing doxygen within libbsp/arm/lpc32xx.
Much of this refactoring was just renaming of existing groups to conform to a
more consistent naming structure. With the addition of a doxygen header for
tm27.h, all files within lpc32xx belong to doxygen group now. lpc32xx should
be used a reference for adding doxygen to other bsps.
2013-11-29 22:48:59 -05:00