summaryrefslogtreecommitdiffstats
path: root/c/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Fix build errorSebastian Huber2014-09-1847-121/+2
| | | | Fix build error introduced in f535fe5311978af53635c2da8e5cb10ef9d78802.
* tod.h -> libcsupport like other driver and helper prototype filesJoel Sherrill2014-09-164-73/+3
| | | | | This rippled into the handful of files that should have been using <rtems/tod.h>.
* pc386/.../bsp.h: Do not include crt.hJoel Sherrill2014-09-161-6/+0
| | | | | | | crt.h defines such lovely constants as "RED" and "GREEN" which have a nasty habit of conflicting with non-BSP code. There is no reason to include this private .h from bsp.h and pollute the namespace for applications.
* Use correct prototype of benchmark_timer_read()Joel Sherrill2014-09-1656-276/+257
| | | | | | | | | | | | | | This change starts with removing the effectively empty file timerdrv.h. The prototypes for benchmark_timer_XXX() were in btimer.h which was not universally used. Thus every use of timerdrv.h had to be changed to btimer.h. Then the prototypes for benchmark_timer_read() had to be adjusted to return benchmark_timer_t rather than int or uint32_t. I took this opportunity to also correct the file headers to separate the copyright from the file description comments which is needed to ensure the copyright isn't propagated into Doxygen output.
* or1k: New cache manager.Hesham ALMatary2014-09-169-17/+333
| | | | | | 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.
* or1ksim: Update READMEHesham ALMatary2014-09-161-18/+20
| | | | | | 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.
* or1ksim: Implement cpu counter functions.Hesham ALMatary2014-09-161-0/+24
|
* or1ksim: work-around to make or1ksim tick timer accurate.Hesham ALMatary2014-09-161-7/+28
| | | | | | | | | 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.
* OpenRISC: Account for red-zone (fixup printf bug).Hesham ALMatary2014-09-161-1/+1
| | | | | | | | | | | | | | 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.
* bsps/arm: Delete obsolete compiler flagsSebastian Huber2014-09-1112-16/+11
| | | | These flags are obsolete with the EABI based ARM tool chain.
* score: Rename _BSP_Exception_frame_print()Sebastian Huber2014-09-115-5/+5
| | | | | Rename _BSP_Exception_frame_print() to _CPU_Exception_frame_print() to be in line with other CPU port functions.
* bsps/arm: Add a9mpcore_clock_initialize_early()Sebastian Huber2014-09-105-5/+16
| | | | | This is necessary to use the CPU counter converter even in case no clock driver is present, e.g. in tmcontext01.
* bsps/arm: Fix get cache sizeSebastian Huber2014-09-101-4/+6
|
* bsps/arm: Fix invalidate instruction cacheSebastian Huber2014-09-101-33/+2
| | | | | | | 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().
* bsp/altera-cyclone-v: Add BSP_USE_UART_INTERRUPTSSebastian Huber2014-09-102-3/+12
|
* bsps/arm: Fix GIC tm27 supportSebastian Huber2014-09-101-15/+29
|
* arm/lpc176x: Adding "eth" linker script section.Federico Casares2014-09-105-15/+69
|
* bsp/qoriq: Fix tm27 supportSebastian Huber2014-09-101-21/+52
|
* Add -std=gnu++11 to CXXFLAGS if SMP is enabledSebastian Huber2014-09-081-2/+9
| | | | | This is necessary to use the <atomic> header file used for the atomic operations.
* clockdrv_shell.h: Fix warningSebastian Huber2014-09-081-1/+1
|
* bsps/arm: Do not build unused fileSebastian Huber2014-09-084-4/+0
|
* bsp/leon3: Include missing header fileSebastian Huber2014-09-081-0/+1
|
* libchip/dwmac: Use RTEMS_DEVOLATILE()Sebastian Huber2014-09-081-4/+11
|
* nios2_iss/Makefile.am: Add cacheJoel Sherrill2014-09-041-5/+17
|
* score603e/start/start.S: Add start symbol to eliminate warningJoel Sherrill2014-09-041-0/+3
|
* mcf5235/.../linkcmds: Use dram region consistently like other variantsJoel Sherrill2014-09-041-4/+4
| | | | | "ram" and "dram" regions were used inconsistently. Most variants used the "dram" memory region so this was changed to be consistent.
* tms570/Makefile.am: Remove bad networking build infoJoel Sherrill2014-09-041-14/+0
|
* lpc23xx_tli800-testsuite.tcfg: Add tests which do not link with debug enabledJoel Sherrill2014-09-041-0/+4
|
* lpc2362-testsuite.tcfg: Add tests which do not link with debug enabledJoel Sherrill2014-09-041-0/+3
|
* lm3s3749-testsuite.tcfg: Add tests which do not link with debug enabledJoel Sherrill2014-09-041-0/+3
|
* rtl22xx/.../bspreset.c: Eliminate warning for set not used variableJoel Sherrill2014-09-041-2/+3
|
* lpc24xx/.../bspreset.c: Eliminate warning for set not used variableJoel Sherrill2014-09-041-0/+1
|
* lpc176x/.../bspreset.c: Eliminate warning for set not used variableJoel Sherrill2014-09-041-0/+1
|
* lm3s69xx/.../bspreset.c: Eliminate warning for set not used variableJoel Sherrill2014-09-041-0/+1
|
* smdk2410/.../bspreset.c: Eliminate warning for set not used variableJoel Sherrill2014-09-041-0/+2
|
* stm32f4/.../bspreset.c: Eliminate warning for set not used variableJoel Sherrill2014-09-041-0/+1
|
* gp32/.../bspreset.c: Eliminate warning for set not used variableJoel Sherrill2014-09-041-0/+2
|
* csb337/.../bspreset.c: Eliminate warning for set not used variableJoel Sherrill2014-09-041-1/+0
|
* raspberrypi: Use shared bspreset.cJoel Sherrill2014-09-043-36/+2
|
* or1ksim/Makefile.am: Install shared tm27.h and regenerate preinstall.amJoel Sherrill2014-09-022-5/+5
|
* score: Define _CPU_Start_multitasking only for LEON SPARC, not SPARC in generalDaniel Cederman2014-09-011-1/+1
| | | | | Rename _BSP_Start_multitasking to _LEON3_Start_multitasking to show that it is LEON specific
* bsp/ngmp: Use -mcpu=leon3 GCC optionSebastian Huber2014-09-011-0/+2
| | | | | | | | | | | | | | | | | | 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.
* Regenerate all preinstall.am files.Chris Johns2014-08-2986-391/+391
| | | | | With this patch the preinstall.am files are in a set order and not dependent on now perl implements a hash.
* Regenerate all preinstall.am files.Joel Sherrill2014-08-2881-416/+416
| | | | | Apparently, at some point automake output changed and these were not updated.
* arm: Add tests which fail to build with C++ enabled.Chris Johns2014-08-289-0/+24
|
* preinstall: Regenerated files differ from the repo.Chris Johns2014-08-284-15/+18
|
* virtex5/.../bsp.h: Add BSP_Convert_decrementer() macro required by MPC6xx ↵Joel Sherrill2014-08-271-3/+24
| | | | timer driver
* nds/Makefile.am: Rework to avoid creating ltos of .rel filesJoel Sherrill2014-08-271-71/+35
| | | | This was necessary to enable all tests to link.
* lpc40xx_ea_rom_int-testsuite.tcfg: New fileJoel Sherrill2014-08-271-0/+7
|
* arm/lm3s3749: Add tests that do not fit.Chris Johns2014-08-271-0/+3
| | | | You need --enable-c++ for the c++ tests.