summaryrefslogtreecommitdiffstats
path: root/c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* arm/gba: RemoveAun-Ali Zaidi2015-12-1226-4155/+0
| | | | updates #2449.
* arm/nds: RemoveAun-Ali Zaidi2015-12-11254-42975/+0
| | | | updates #2450.
* Use linker set for system initializationSebastian Huber2015-12-112-92/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make rtems_initialize_data_structures(), rtems_initialize_before_drivers() and rtems_initialize_device_drivers() static. Rename rtems_initialize_start_multitasking() to rtems_initialize_executive() and call the registered system initialization handlers in this function. Add system initialization API available via #include <rtems/sysinit.h>. Update the documentation accordingly. This is no functional change, only the method to call the existing initialization routines changes. Instead of direct function calls a table of function pointers contained in the new RTEMS system initialization linker set is used. This table looks like this (the actual addresses depend on the target). nm *.exe | grep _Linker | sort 0201a2d0 D _Linker_set__Sysinit_begin 0201a2d0 D _Linker_set__Sysinit_bsp_work_area_initialize 0201a2d4 D _Linker_set__Sysinit_bsp_start 0201a2d8 D _Linker_set__Sysinit_rtems_initialize_data_structures 0201a2dc D _Linker_set__Sysinit_bsp_libc_init 0201a2e0 D _Linker_set__Sysinit_rtems_initialize_before_drivers 0201a2e4 D _Linker_set__Sysinit_bsp_predriver_hook 0201a2e8 D _Linker_set__Sysinit_rtems_initialize_device_drivers 0201a2ec D _Linker_set__Sysinit_bsp_postdriver_hook 0201a2f0 D _Linker_set__Sysinit_end Add test sptests/spsysinit01. Update #2408.
* m32r/configure.ac: Looked for m32rsim to exist and now is goneJoel Sherrill2015-12-101-1/+1
|
* m32r/m32rsim: RemoveAun-Ali Zaidi2015-12-1016-745/+0
| | | | updates #2447.
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-1097-127/+53
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* bsps/powerpc: Use default bsp_pretasking_hook()Sebastian Huber2015-12-109-24/+24
| | | | Update #2408.
* bsps/bfin: Use default bsp_pretasking_hook()Sebastian Huber2015-12-106-9/+9
| | | | | | Rename BSP-specific bsp_pretasking_hook() to bsp_predriver_hook(). Update #2408.
* bsp/beatnik: Delete superfluous declarationSebastian Huber2015-12-101-6/+0
| | | | Update #2408.
* bsps/virtex*: Use default bsp_pretasking_hook()Sebastian Huber2015-12-106-36/+4
| | | | Update #2408.
* bsps: Call bsp_work_area_initialize() earlySebastian Huber2015-12-1018-102/+31
| | | | | | | | Call bsp_work_area_initialize() before bsp_start(). This allows bsp_start() to use malloc() etc. which is beneficial for systems with a plug-and-play hardware enumeration. Update #2408.
* bsps/sparc: Use default bsp_pretasking_hook()Sebastian Huber2015-12-107-29/+9
| | | | | | Move content to bsp_predriver_hook() functions of the BSPs. Update #2408.
* bsp/tqm8xx: Fix linker set descriptionSebastian Huber2015-12-101-1/+2
| | | | | Fix broken RTEMS linker set description introduced by b618d8cfc54f84d4ed03dc7b7fa510c872e6128a.
* bsps/sh: Disable fileio test due to lack of memorySebastian Huber2015-12-092-0/+2
|
* bsps/sh: Disable fileio test due to lack of memorySebastian Huber2015-12-092-0/+2
|
* bsps: Fix some linker set descriptionsSebastian Huber2015-12-097-7/+10
| | | | | Fix broken RTEMS linker set descriptions introduced by b618d8cfc54f84d4ed03dc7b7fa510c872e6128a.
* powerpc/ep1a: RemoveAun-Ali Zaidi2015-12-0927-6115/+0
| | | | updates #2457.
* powerpc/score603e: Remove (obselete).Ralph Holmes2015-12-0833-4920/+0
| | | | Updates #2458.
* m68k/mvme136: RemoveAun-Ali Zaidi2015-12-0822-1533/+0
| | | | closes #2444.
* Add RTEMS linker setsSebastian Huber2015-12-0869-20/+138
| | | | Update #2408.
* m68k/sim68000: RemoveAun-Ali Zaidi2015-12-0817-1061/+0
| | | | closes #2445.
* bsp/generic_or1k: Delete unused extern declarationSebastian Huber2015-12-071-1/+0
|
* Remove <rtems/debug.h>Sebastian Huber2015-12-072-15/+0
| | | | Close #2477.
* bsp/tms570: ensure that linker symbol comparison to NULL is not optimized out.Pavel Pisa2015-12-011-2/+12
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* bsp/t32mppc: Add primitive NULL pointer protectionSebastian Huber2015-11-301-2/+7
|
* bsp/t32mppc: Use -Og optimization levelSebastian Huber2015-11-271-1/+1
|
* bsp/t32mppc: Convert to Termios deviceSebastian Huber2015-11-273-155/+141
|
* Delete empty libc_init()Sebastian Huber2015-11-272-7/+0
|
* bsp/altera-cyclone-v: Add fatal extension handlerSebastian Huber2015-11-243-18/+45
|
* bsp/tms570: unite code duplication in pinmux and clean SCI close per review ↵Premysl Houdek2015-11-183-18/+21
| | | | | | remarks. Signed-off-by: Premysl Houdek <kom541000@gmail.com>
* bsp/tms570: use common tms570ls3137.inc file for all board ling variants.Pavel Pisa2015-11-185-64/+24
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* bsp/tms570: separate Flash variants to one which boots directly and one for ↵Premysl Houdek2015-11-184-0/+57
| | | | | | | | | | | | boot loader. The default tms570ls3137_hdk variant is for building RTEMS application image starting directly from start of Flash. Variant tms570ls3137_hdk_with_loader skips 256kB at start of Flash to allow use with application loader. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* bsp/tms570: use POM only when application image does not start at address 0.Pavel Pisa2015-11-187-14/+159
| | | | | | | | | | | | | | | | | | | | | Parameters overlay module is initialized and cleared first. It is used later to replace exception target vectors only if that is required. The application loader code with CPU and SDRAM setup code has to provide well defined pattern of instructions at addresses 0x00000000 and 0x0000001f, because only data read accesses can be processed reliably by POM. The expected instruction pattern can be seen in the next example https://github.com/hornmich/tms570ls3137-hdk-sdram/blob/master/SDRAM_SCI_configuration/source/sys_intvecs.asm Comments with detailed description of code, background and reasons for selected approach have been included in TMS570 bsp startup code. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz> Signed-off-by: Premysl Houdek <kom541000@gmail.com>
* bsp/tms570: updated reserved space for vector overlay in internal RAMPremysl Houdek2015-11-183-4/+6
|
* bsp/tms570: fixed sci driver freeze when closing terminal bugPremysl Houdek2015-11-181-3/+5
| | | | | | tms570_sci_interrupt_last_close: do not wait for old data transmit. Signed-off-by: Premysl Houdek <kom541000@gmail.com>
* bsp/tms570: Pinmux support and EMAC pin definition addedPremysl Houdek2015-11-184-1/+216
| | | | Signed-off-by: Premysl Houdek <kom541000@gmail.com>
* bsp/tms570: EMAC control header file corrected and EMAC interrupt vector addedPremysl Houdek2015-11-186-236/+295
| | | | | Signed-off-by: Premysl Houdek <kom541000@gmail.com> Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* sparc: Fix context switch on SMPDaniel Cederman2015-11-161-17/+14
| | | | | | | | | | | | | | | | We must not load registers (e.g. PSR) from the heir context area before the heir stopped execution. With this patch the write to PSR is divided into two steps. We first update the current window pointer and then we restore the status registers and enable traps. This allows us to move the first write to PSR to be before the write to WIM, as there is now no risk that we get an interrupt where the CWP and WIM would be inconsistent. We only need to make sure that we do not use any of the non-global registers or instructions that affects CWP for three instructions after the write. In the earlier code the non-global %o1 register was used right after the write to PSR, which required the use of three nop:s.
* irq-server: Fix race condition on SMP systemsSebastian Huber2015-11-121-4/+5
|
* Fix interrupt epilogue for ARMv7-AR and PowerPCSebastian Huber2015-11-121-13/+38
|
* Introduce general purpose system server eventSebastian Huber2015-11-121-5/+3
| | | | | Use this event for the interrupt server to avoid conflicts with application events used by interrupt handlers.
* gpio: free memory in error pathGedare Bloom2015-11-091-11/+8
| | | | Updates #2462.
* LPC1768: Fix compilation errorMartin Galvan2015-11-054-8/+8
| | | | | | | | | | The LPC1768 variants have a gpio.h file whose name clashes with the gpio.h from the new GPIO API. This results on the BSPs failing to compile. This patch renames the LPC1768 gpio.* files to lpc-gpio.*, as it's done on other BSPs (e.g. Beaglebone). Closes #2441.
* bsp/irq-server: Use proper chain APISebastian Huber2015-11-051-5/+9
|
* Add STM32F7 HAL FilesIsaac Gutekunst2015-11-03164-0/+173200
| | | | | These files originated as: + STC32CubeF7 V1.1.0 from http://www.st.com/web/en/catalog/tools/PF261909
* Add STM32F4 HAL FilesIsaac Gutekunst2015-11-03180-0/+285081
| | | | | The origin of this code is: + STM32CubeF4 V1.8.0 from http://www.st.com/web/en/catalog/tools/PF259243
* Leftover gpio function renameBen Gras2015-11-032-4/+4
| | | | | | Rename rtems_bsp_select_specific_io to rtems_gpio_bsp_select_specific_io. Should've gone with 5c337d7. Fixes #2456.
* bsp/qoriq: Fix interrupt support for T seriesSebastian Huber2015-10-283-127/+77
|
* bsp/qoriq: Add BMan, QMan and FMan to memory mapSebastian Huber2015-10-281-1/+20
|
* bsp/qoriq: Flush and invalidate L2 cacheSebastian Huber2015-10-282-0/+27
|