Commit Graph

12561 Commits

Author SHA1 Message Date
Hesham ALMatary
c080c3434b or1k: New cache manager.
Implement new cache functions for or1k and create new bspstart function
for or1ksim to initialize instruction and data caches. Also, sim.cfg
is modified to enable/confiure cache units.
2014-09-16 12:46:42 -05:00
Hesham ALMatary
bbecf04172 or1ksim: Update README
Modify README to provide instruction on how to run or1ksim BSP on
latest or1ksim emulator built from github repo and add commands
to run or1ksim BSP on QEMU.
2014-09-16 09:53:28 -05:00
Hesham ALMatary
d2c7616057 or1ksim: Implement cpu counter functions. 2014-09-16 09:53:05 -05:00
Hesham ALMatary
5f56d2679a or1ksim: work-around to make or1ksim tick timer accurate.
This patch avoids unexpected behavior when initializing tick timer registers.
Initializing these registers fires unexpected exceptions and interrupts even
though RTEMS has not enabled interrupts yet. So, a little long interval added
to allow RTEMS to finish the remaining initialization work before running the
application. The tick timer interval is adjusted to reflect an accurate
timing for RTEMS applications.
2014-09-16 09:52:58 -05:00
Hesham ALMatary
eb14fc2b2e OpenRISC: Account for red-zone (fixup printf bug).
This patch allocate a space in the stack to account for red-zone
that gcc may utilize for the use of leaf functions. Care must be
taken to handle this red-zone from many places:
1- Upon creation of a new thread stack.
2- Once an interrupt entred.

Also moving the enable-thread-dispach() and increment ISR level before
checking if dispatch needed was required.

The previous modifications solved the printf bug which disabled ticker
to output strings after context switches that arise from Thread_Delay_ended.
2014-09-16 09:52:56 -05:00
Sebastian Huber
74493f053e bsps/arm: Delete obsolete compiler flags
These flags are obsolete with the EABI based ARM tool chain.
2014-09-11 15:05:32 +02:00
Sebastian Huber
c48cf0bd0c score: Rename _BSP_Exception_frame_print()
Rename _BSP_Exception_frame_print() to _CPU_Exception_frame_print() to
be in line with other CPU port functions.
2014-09-11 09:10:16 +02:00
Sebastian Huber
ecf64a5eb9 bsps/arm: Add a9mpcore_clock_initialize_early()
This is necessary to use the CPU counter converter even in case no clock
driver is present, e.g. in tmcontext01.
2014-09-10 16:17:02 +02:00
Sebastian Huber
12ab8d67e4 bsps/arm: Fix get cache size 2014-09-10 11:29:54 +02:00
Sebastian Huber
4768ae0feb bsps/arm: Fix invalidate instruction cache
Do not invalidate the entire L2 cache since it is a uniform cache in
_CPU_cache_invalidate_entire_instruction().  For consitency do not touch
the L2 cache even for the range function
_CPU_cache_invalidate_instruction_range().
2014-09-10 11:29:54 +02:00
Sebastian Huber
0cd13bce67 bsp/altera-cyclone-v: Add BSP_USE_UART_INTERRUPTS 2014-09-10 10:43:48 +02:00
Sebastian Huber
90f44cd2dd bsps/arm: Fix GIC tm27 support 2014-09-10 10:43:41 +02:00
Federico Casares
f59e64f268 arm/lpc176x: Adding "eth" linker script section. 2014-09-10 07:12:55 +02:00
Sebastian Huber
5674767fd8 bsp/qoriq: Fix tm27 support 2014-09-10 07:12:55 +02:00
Sebastian Huber
6821a629c3 Add -std=gnu++11 to CXXFLAGS if SMP is enabled
This is necessary to use the <atomic> header file used for the atomic
operations.
2014-09-08 11:13:53 +02:00
Sebastian Huber
d11e6efec5 clockdrv_shell.h: Fix warning 2014-09-08 09:50:35 +02:00
Sebastian Huber
b8662cf632 bsps/arm: Do not build unused file 2014-09-08 07:53:03 +02:00
Sebastian Huber
b802353c33 bsp/leon3: Include missing header file 2014-09-08 07:53:03 +02:00
Sebastian Huber
ddf8d1297f libchip/dwmac: Use RTEMS_DEVOLATILE() 2014-09-08 07:53:02 +02:00
Joel Sherrill
4d69276a63 nios2_iss/Makefile.am: Add cache 2014-09-04 09:08:05 -05:00
Joel Sherrill
ce134f7489 score603e/start/start.S: Add start symbol to eliminate warning 2014-09-04 09:08:05 -05:00
Joel Sherrill
ae03ad2606 mcf5235/.../linkcmds: Use dram region consistently like other variants
"ram" and "dram" regions were used inconsistently. Most variants
used the "dram" memory region so this was changed to be consistent.
2014-09-04 09:08:04 -05:00
Joel Sherrill
78364c7db3 tms570/Makefile.am: Remove bad networking build info 2014-09-04 09:08:04 -05:00
Joel Sherrill
4761761cfb lpc23xx_tli800-testsuite.tcfg: Add tests which do not link with debug enabled 2014-09-04 09:08:04 -05:00
Joel Sherrill
f58f6a7a96 lpc2362-testsuite.tcfg: Add tests which do not link with debug enabled 2014-09-04 09:08:04 -05:00
Joel Sherrill
4058aa0f41 lm3s3749-testsuite.tcfg: Add tests which do not link with debug enabled 2014-09-04 09:08:04 -05:00
Joel Sherrill
9f144dda00 rtl22xx/.../bspreset.c: Eliminate warning for set not used variable 2014-09-04 09:07:57 -05:00
Joel Sherrill
88d9f1cb1d lpc24xx/.../bspreset.c: Eliminate warning for set not used variable 2014-09-04 09:07:56 -05:00
Joel Sherrill
3e0638f153 lpc176x/.../bspreset.c: Eliminate warning for set not used variable 2014-09-04 09:07:56 -05:00
Joel Sherrill
6fc2ea3757 lm3s69xx/.../bspreset.c: Eliminate warning for set not used variable 2014-09-04 09:07:56 -05:00
Joel Sherrill
08bcf01c3b smdk2410/.../bspreset.c: Eliminate warning for set not used variable 2014-09-04 09:07:56 -05:00
Joel Sherrill
59cb7e9f0c stm32f4/.../bspreset.c: Eliminate warning for set not used variable 2014-09-04 09:07:56 -05:00
Joel Sherrill
2f8c267615 gp32/.../bspreset.c: Eliminate warning for set not used variable 2014-09-04 09:07:56 -05:00
Joel Sherrill
3d05302955 csb337/.../bspreset.c: Eliminate warning for set not used variable 2014-09-04 09:07:56 -05:00
Joel Sherrill
be4992b193 raspberrypi: Use shared bspreset.c 2014-09-04 09:07:56 -05:00
Joel Sherrill
2617cd3e04 or1ksim/Makefile.am: Install shared tm27.h and regenerate preinstall.am 2014-09-02 10:57:18 -05:00
Daniel Cederman
fecaeca18b score: Define _CPU_Start_multitasking only for LEON SPARC, not SPARC in general
Rename _BSP_Start_multitasking to _LEON3_Start_multitasking to show that
it is LEON specific
2014-09-01 08:11:11 +02:00
Sebastian Huber
aacb7e6aff bsp/ngmp: Use -mcpu=leon3 GCC option
There is support for the LEON3 processor available in Binutils 2.24 and
the GCC 4.8 branch and GCC mainline.

GCC 4.8 branch:

http://gcc.gnu.org/viewcvs/gcc/branches/?view=log&pathrev=205331

GCC mainline:

http://gcc.gnu.org/viewcvs/gcc/trunk/?view=log&pathrev=202664

It is mandatory to use this option for SMP on LEON3 since it enables
usage of C11 atomic operations.  It makes it also possible to use an
inline function for _CPU_SMP_Get_current_processor() which avoids the
function call overhead in critical sections.
2014-09-01 08:00:35 +02:00
Chris Johns
59990cc975 Regenerate all preinstall.am files.
With this patch the preinstall.am files are in a set order and not
dependent on now perl implements a hash.
2014-08-29 12:48:01 +10:00
Joel Sherrill
b597c0d60c Regenerate all preinstall.am files.
Apparently, at some point automake output changed and these were
not updated.
2014-08-28 08:44:52 -05:00
Chris Johns
d04cb1242d arm: Add tests which fail to build with C++ enabled. 2014-08-28 14:34:10 +10:00
Chris Johns
5826a1b284 preinstall: Regenerated files differ from the repo. 2014-08-28 10:08:28 +10:00
Joel Sherrill
bfa2b8c39e virtex5/.../bsp.h: Add BSP_Convert_decrementer() macro required by MPC6xx timer driver 2014-08-27 12:50:36 -05:00
Joel Sherrill
6e60140daf nds/Makefile.am: Rework to avoid creating ltos of .rel files
This was necessary to enable all tests to link.
2014-08-27 11:00:12 -05:00
Joel Sherrill
7d3a345630 lpc40xx_ea_rom_int-testsuite.tcfg: New file 2014-08-27 10:20:12 -05:00
Chris Johns
614a0889b6 arm/lm3s3749: Add tests that do not fit.
You need --enable-c++ for the c++ tests.
2014-08-27 20:04:26 +10:00
Hesham ALMatary
2cd68a8bf6 Add or1ksim (sim.cfg) configuration file and edit README.
OpenRISC/or1ksim BSP: The new sim.cfg file configures or1ksim emulator with HW
capabilities that the current RTEMS/or1ksim BSP supports.

README: HOWTO run the or1ksim simulator.
2014-08-26 15:32:44 -05:00
Sebastian Huber
76386c1047 bsp/altera-cyclone-v: Add DMA support hwlib files 2014-08-26 17:10:18 +02:00
Sebastian Huber
9907ddeb5a bsp/altera-cyclone-v: Update to hwlib 13.1
This version is distributed with SoC EDS 14.0.0.200.
2014-08-26 17:10:18 +02:00
Joel Sherrill
8f1bdcb9ad or1k/Makefile.am: libbsp_a_CPPFLAGS was defined twice 2014-08-25 17:07:12 -05:00