Commit Graph

21360 Commits

Author SHA1 Message Date
Stefan Hepp
5198433f6b Restore the stack spill pointer to top before filling 2014-04-03 14:09:54 +02:00
Wolfgang Puffitsch
27b92131fe Add option to select BSP for running tests. 2014-04-01 10:49:21 +02:00
afpr
0a25dff801 Add BSP for the Patmos hardware 2014-03-31 14:33:31 +01:00
Wolfgang Puffitsch
06f76d9170 Recognize patex as alternative "simulator" for Patmos. 2014-03-28 17:40:11 +01:00
afpr
3e3cdca15f Implemented ISR management routines 2014-03-27 16:01:33 +00:00
afpr
92e9ed137a Use the interrupt level in patmos enable and disable interrupts routines 2014-03-27 16:00:53 +00:00
afpr
b36bd54edb Added exceptions status register to a thread's context structure 2014-03-27 16:00:16 +00:00
Wolfgang Puffitsch
96375e3bf4 Avoid using destination of load in load delay slot. 2014-03-19 23:01:48 +01:00
Wolfgang Puffitsch
7f710750e6 Initialize return offset. 2014-03-19 20:14:31 +01:00
afpr
1c6536f33c Implemented exceptions and timer management functions to remove dependencies from newlib 2014-03-19 14:11:19 +00:00
afpr
d88f47c3bf Build tool-chain with llvm release version 2014-03-19 14:10:37 +00:00
Stefan Hepp
e4358226c4 Fixed merge conflict 2014-03-18 15:10:05 +01:00
Stefan Hepp
1c1b68be2f Use new timer API and use usec timer instead of cycles timer 2014-03-18 14:11:36 +01:00
afpr
4626a8b696 Added routines to enable/disable interrupts for Patmos 2014-03-18 12:21:40 +00:00
afpr
5d4ed4e3ce Merge branch 'master' of https://github.com/t-crest/rtems
Conflicts:
	c/src/lib/libcpu/patmos/cache/cache.c
2014-03-18 12:18:06 +00:00
Stefan Hepp
0524f11f21 Removed -disable-internalize when linking executables, otherwise library symbols are defined multiple times 2014-03-18 12:33:53 +01:00
Stefan Hepp
cc1ea883df Added _fstat_r and _isatty_r to llvm.used as they are defined by RTEMS and used by newlib which is linked after RTEMS. 2014-03-18 12:32:16 +01:00
afpr
ed154b769d Updated to clang-3.4 2014-03-17 17:48:20 +00:00
Stefan Hepp
dba97a5ecb Removed invalid flush asm instruction 2014-03-17 13:03:28 +01:00
afpr
06a41ad20c Make target-change more verbose 2014-03-17 11:30:33 +00:00
afpr
fa20653052 Removed flush instruction from inline asm 2014-03-17 10:52:05 +00:00
afpr
837077d876 Adapted to ISA revision m23 2014-03-12 13:19:13 +00:00
Stefan Hepp
7f610f76ef Adapted asm code to new ISA 2014-03-12 04:26:24 +01:00
afpr
9704500ee3 Merge branch 'master' of https://github.com/t-crest/rtems 2014-03-10 14:34:41 +00:00
afpr
fcba387b7d Fixed target change condition 2014-03-05 14:52:30 +00:00
Stefan Hepp
ba699f9d04 Use new _shadow_stack_base and _stack_cache_base macros in start.S 2014-03-03 21:00:09 +01:00
afpr
691be570d8 Removed implementation of bsp_clock_nanoseconds_since_last_tick for pasim due to avoid miscalculations of TOD.
This was being raised by interrupt nesting problems.
2014-02-25 19:16:34 +00:00
afpr
d626d3cccd Updated t-crest dir and testsuite dir 2014-02-20 16:48:00 +00:00
Stefan Hepp
333cb00af8 Revert "Disable the anti-dependency breaker as it has a bug related to call delay slots"
Anti-dep breaking is now disabled by default in the compiler itself.

This reverts commit c891ffd5e7.
2014-02-19 19:45:15 +01:00
Stefan Hepp
c891ffd5e7 Disable the anti-dependency breaker as it has a bug related to call delay slots 2014-02-19 19:33:33 +01:00
Stefan Hepp
bd7f8f5eff Use optimized register allocator for debug builds to avoid issues with naked functions 2014-02-18 21:15:34 +01:00
Stefan Hepp
bf09071664 Avoid any register copies in context switching code at -O0 2014-02-17 17:41:13 +01:00
Stefan Hepp
884c85f8df Use -O0 for debug builds 2014-02-17 16:25:08 +01:00
Stefan Hepp
d2922d7dcd Clobber temp registers and force base pointers to specific registers to avoid issues with -O0 2014-02-17 16:24:03 +01:00
afpr
4083eaf795 Updated build-rtems.sh script and readme file 2014-02-03 18:34:23 +00:00
afpr
e9938a778d Updated build-rtems.sh script to install the patmos toolchain and rtems 2014-01-15 19:49:58 +00:00
Stefan Hepp
a6b48ce90b Added missing .fstart for __exit function 2014-01-09 20:05:34 +01:00
afpr
15fbaa56d9 Fixed bsp_clock_nanoseconds_since_last_tick. 2013-10-25 14:26:17 +01:00
Stefan Hepp
ea0cf2a971 Fixed LOW and UP addresses of cycles and usec readout 2013-10-25 10:44:26 +02:00
afpr
58c3ec0b50 Fixed. 2013-10-24 17:58:57 +01:00
afpr
7807c8e1ca Implemented the bsp_clock_nanoseconds_since_last_tick routine for pasim. 2013-10-24 16:32:42 +01:00
afpr
f417cc8f99 Added get_cpu_freq function to read out the CPU frequency. 2013-10-04 09:43:49 +01:00
afpr
08a7e55887 Regenerated all the test result files (.scn) with SPARC results. 2013-10-03 19:36:43 +01:00
afpr
a655f4dc7c Defined a linker symbol for the CPU frequency. 2013-10-01 11:33:30 +01:00
afpr
8e93e1cc19 Updated. 2013-09-30 11:31:34 +01:00
Stefan Hepp
f5a672ac6e Keep the full output of failed tests for debugging purposes 2013-09-27 17:16:33 +02:00
Stefan Hepp
0184bbdde8 Ignore windows lineends in test outputs, set default simulator frequency to 5Mhz 2013-09-27 16:19:43 +02:00
Stefan Hepp
1290895b7d Added path options for integration with build.sh, check for pasim return code and store pasim stats. 2013-09-25 17:42:00 +02:00
afpr
4282565682 Added run-testsuite.sh. 2013-09-25 15:32:48 +01:00
afpr
02d3da8f00 Implemented benchmark timer (for the testsuite). 2013-09-24 15:27:56 +01:00