21396 Commits

Author SHA1 Message Date
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
Stefan Hepp
3c5adfeb4c It should not be necessary to modify build.sh script 2013-09-19 13:41:42 +02:00
Stefan Hepp
38527d9752 Commit bootstrapped blackfin m4 file 2013-09-19 13:09:23 +02:00
afpr
38496ed3ab Updated readme. 2013-09-18 12:49:02 +01:00
afpr
f4d307fb5c Updated testsuite (replaced posix obsolete functions). 2013-09-13 12:13:07 +01:00
afpr
35d143696f Updated interrupt return registers. 2013-09-03 09:38:55 +01:00
afpr
a6ace744e6 Implemented clock ISR.
Fixed _CPU_Context_Initialize, _CPU_Context_Switch and _CPU_Context_Restore
(stack and shadow stack management).

Fixed linker missing symbols.
2013-08-28 18:04:01 +01:00
afpr
b9765e1de1 Fixed linker missing symbols.
Fixed _CPU_Context_Switch and _CPU_Context_Restore (set function input arguments).
2013-08-22 18:35:19 +01:00
afpr
2d44c18177 Fixed scripts to build the Patmos toolchain for RTEMS. 2013-08-20 17:49:26 +01:00
afpr
988217253a Fixed linkcmds.
Fixed linker missing symbols.

Fixed compilation flags.

Fixed hard_reset, bsp_get_work_area, CPU_Context_Switch and CPU_Context_Restore.

Fixed console functions.
2013-08-02 12:39:42 +01:00
afpr
f6962ce139 Adapted make-exe rules of testsuites to the patmos-clang compiler toolchain.
Improved startup code.
2013-07-05 13:54:09 +01:00
afpr
40d91e9d2d Added readme.txt to guide users through the RTEMS installation and usage processes.
Deleted benchmark timer code (timer.c).
2013-07-01 18:51:00 +01:00
afpr
f5ccbacae1 Defined RAM variables (start address, size) in linkcmds file for the Pasim BSP. 2013-07-01 17:50:24 +01:00
afpr
3f42b0f38d Ran bootstrap and bootstrap -p scripts.
Added definitions of STDOUT_FILENO and STDERR_FILENO in bsp.h.

Removed the tools subdirectory in c/src/lib/libbsp/patmos/pasim. The tools subdirectory provide additional tools that aid in using the target board, namely a script to automate running the RTEMS Test Suites on the BSP.

For functions boot_card and abort_trap, included the __attribute__ ((used)) attribute in the file headers, and removed the attribute in the actual function declaration.
2013-06-28 15:00:24 +01:00
afpr
a2990ea7b8 Added the linkcmds.base file to the commit.
Fixed some hard_reset code, mostly related to the assembly nomenclature.

In CPU_Context_Switch and CPU_Context_Restore routines, added instruction to reset r0, and spilled cache in CPU_Context_Restore.

Reviewed the CPU_Context_Initialize routine.

Removed the CPU_Minimum_Stack structure from the Patmos CPU, and reviewed all the Patmos context areas (general, floating point, interrupt). Removed structure CPU_Trap_table_entry, macro _CPU_Context_Initialization_at_thread_begin. Adapted the _CPU_Fatal_halt macro to Patmos.
2013-06-27 19:02:39 +01:00