summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/virtex (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* gen5200, gen83xx, gen83x, mpc55xxevb, psim, qoriq, t32mppc, tqm8xx, virtex: ↵Joel Sherrill2017-12-202-5/+3
| | | | | | | | | | Simplify bsp_specs These BSPs all use shared/startup/linkcmds.base and thus needed to be modified at the same time. Variations in the arguments were reflected into the BSP specific portions of the linkcmds. Updates #3520.
* virtex/bsp_specs: Reorder and improve consistencyJoel Sherrill2017-11-291-2/+1
| | | | Updates #3520.
* REVERT */*/bsp_specs: Increase similarity to ease futureJoel Sherrill2017-11-271-1/+2
| | | | | | Patch was not intended to be pushed yet. Updates #3520.
* */*/bsp_specs: Increase similarity to ease future analysisJoel Sherrill2017-11-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done: arm bfin epiphany i386 lm32 m32c mips moxie nios2 or1k powerpc riscv sh sparc sparc64 v850 To do: m68k Differences noted: + endfile was sometimes before startfile + endfile sometimes was hard-coded and did not have -qrtems version + Should -e XXX (e.g. entry point) be in linkcmds? + Should -u XXX (e.g. undefined symbols) be in linkcmds? + Typos: Odd spacing, "old_endfiles" typo, and *(old_endfiles) (not %) + nios2: Referenced crtnn.o not crtn.o (error) Need to revisit: + m32c, moxie, sparc64 includes !nostdlib which is not used elsewhere + sh has -EL/-EB mapping. Why needed? + sparc64 didn't include crti.o/crtn.o but it is part of toolset + v850 uses something like this for link and end_file: "%{qrtems: %(old_link)}" This means that these are unnecessary. Try this on all. + mips uses old_link all the time also. + arm/tms750 adds -EB. + powerpc: Why do we have rtems_crt* and not use something from GCC? Updates #3520.
* libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIRJoel Sherrill2017-11-271-1/+1
| | | | Updates #3250.
* bsps: Provide <tm27.h> in each BSPSebastian Huber2017-11-273-2/+3
| | | | | | | | | Since the <tm27.h> is highly BSP-dependent and used only by the tm27 test program we must provide this header file for each BSP. Without the preinstall build target each header file must have a unique source header file. Update #3254.
* Remove coverhd.hSebastian Huber2017-11-243-142/+0
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2017-11-221-1/+1
| | | | | | | | | Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify the BSP configuration and documentation. Change defaults to: BSP_PRESS_KEY_FOR_RESET=0 BSP_RESET_BOARD_AT_EXIT=1 BSP_PRINT_EXCEPTION_CONTEXT=1
* powerpc: Remove _BSP_Fatal_error()Sebastian Huber2017-11-221-12/+0
| | | | | | | BSPs can use the bsp_fatal_extension() to provide BSP-specific fatal error handling. There is no need for a _BSP_Fatal_error(). Close #3246.
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-171-0/+1
| | | | Update #3239.
* Simplify and unify BSP_output_charSebastian Huber2017-09-121-3/+0
| | | | | | | | The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-201-22/+10
| | | | | | Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable() to not return a status code. Add bsp_interrupt_assert() and use it to validate the vector number in the vector enable/disable implementations.
* bsp: Fixes due to header file changesSebastian Huber2017-06-132-16/+18
| | | | Update #2833.
* powerpc/virtex/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill2016-03-301-1/+0
|
* powerpc/virtex: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill2016-03-291-2/+0
| | | | warnings
* powerpc/virtex/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* Use linker set for libio initializationSebastian Huber2016-02-031-2/+2
| | | | Update #2408.
* powerpc/virtex: Add per-section compilation and linking support.Ralph Holmes2016-01-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: text data bss dec hex filename 136928 2284 134078500 134217712 7fffff0 base_sp.exe 152124 2168 134063412 134217704 7ffffe8 hello.exe 96317 1892 134119500 134217709 7ffffed minimum.exe 658001 6274 133553428 134217703 7ffffe7 fileio.exe 161562 2380 134053772 134217714 7fffff2 nsecs.exe 229008 2668 133986040 134217716 7fffff4 paranoia.exe 140224 2292 134075204 134217720 7fffff8 ticker.exe 139564 2308 134075836 134217708 7ffffec unlimited.exe 951004 147150 133119544 134217698 7ffffe2 cxx_iostream.exe 256264 9352 133952104 134217720 7fffff8 cdtest.exe 254760 2788 133960156 134217704 7ffffe8 capture.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 123180 2268 134092272 134217720 7fffff8 base_sp.exe 136152 2112 134079448 134217712 7fffff0 hello.exe 53640 1560 134162508 134217708 7ffffec minimum.exe 632433 6238 133579016 134217687 7ffffd7 fileio.exe 148538 2364 134066808 134217710 7ffffee nsecs.exe 214540 2644 134000536 134217720 7fffff8 paranoia.exe 126732 2276 134088688 134217696 7ffffe0 ticker.exe 124292 2268 134091136 134217696 7ffffe0 unlimited.exe 608992 50546 133558180 134217718 7fffff6 cxx_iostream.exe 243452 8036 133966228 134217716 7fffff4 cdtest.exe 238360 2740 133976616 134217716 7fffff4 capture.exe
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-101-1/+1
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill2015-07-161-2/+2
| | | | | | | | | | | | | | | | | This was done by the following script run from libbsp: find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b do echo $b cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' ` bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' ` g="LIBBSP_${cpu}_${bsp}_BSP_H" # echo $g sed -e "s/ifndef _BSP_H/ifndef ${g}/" \ -e "s/define _BSP_H/define ${g}/" \ -i $b done
* Update bug report URLSebastian Huber2014-12-051-1/+1
|
* bsps: Move extern "C" to not cover includesSebastian Huber2014-10-231-6/+6
| | | | Some includes may use C++ and this conflicts if surrounded extern "C".
* powerpc/virtex: Fix unused variable warningsJoel Sherrill2014-10-161-1/+1
|
* Regenerate all preinstall.am files.Chris Johns2014-08-291-3/+3
| | | | | 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-281-7/+7
| | | | | Apparently, at some point automake output changed and these were not updated.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-219-10/+10
|
* bsps/powerpc: Use System V small-data areaSebastian Huber2014-02-241-1/+1
| | | | | | The 32-bit ABIs for thread-local storage (TLS) and EABI read-only small-data area have a conflicting register (r2) usage. Use the System V small-data instead (here r2 is system reserved).
* powerpc: Change interrupt disable implemetationSebastian Huber2014-02-191-1/+0
| | | | | | | | | | | | Instead of SPRG0 (= special purpose register 272) use the new global symbol _PPC_INTERRUPT_DISABLE_MASK to store the interrupt disable mask. The benefit is that it is now possible to disable interrupts without further run-time initialization in boot_card(). At least on Freescale e500 cores this leads also to a faster execution since the mfmsr and mfspr instruction require four cycles to complete. The instructions to load the mask value can execute while the mfmsr is in progress.
* score: Add CPU counter supportSebastian Huber2014-02-141-0/+4
| | | | | | | | | Add a CPU counter interface to allow access to a free-running counter. It is useful to measure short time intervals. This can be used for example to enable profiling of critical low-level functions. Add two busy wait functions rtems_counter_delay_ticks() and rtems_counter_delay_nanoseconds() implemented via the CPU counter.
* libbsp powerpc: Add Doxygen file header to coverhd.hCynthia Rempel2014-01-141-1/+7
|
* Use $(EXEEXT) [defaults to "exe"] to generate binariesNick Withers2013-08-091-1/+1
|
* bsp/virtex: Use #if instead of #ifdefSebastian Huber2013-07-101-9/+9
| | | | | This allows VIRTEX_CONSOLE_USE_INTERRUPTS=0 on the configure command line to disable the interrupt mode.
* bsp/virtex: Add VIRTEX_CONSOLE_USE_INTERRUPTSSebastian Huber2013-07-092-37/+107
| | | | Add interrupt support for console driver.
* bsp/virtex: Use ppc_count_leading_zeros()Sebastian Huber2013-07-091-11/+10
| | | | Use ppc_count_leading_zeros() to optimize interrupt processing.
* bsp/virtex: Fix interrupt handlingSebastian Huber2013-07-091-9/+5
| | | | | | Some modules like the XPS UART Lite use event triggered interrupts. If we acknowledge the interrupts after the interrupt service we may loose these events.
* bsp/virtex: Use shared clock driverSebastian Huber2013-06-243-12/+5
|
* bsp/virtex: Add console devices only if presentSebastian Huber2013-06-241-10/+11
|
* bsp/virtex: Fix warningsSebastian Huber2013-06-241-11/+11
|
* bsp/virtex: Use XPAR_INTC_SINGLE_BASEADDRSebastian Huber2013-06-241-1/+1
| | | | This define is also present in newer "xparameters.h".
* bsp/virtex: Remove unused configure macrosSebastian Huber2013-06-241-17/+0
|
* bsp/virtex: Delete BSP_ask_for_reset and BSP_panicSebastian Huber2013-06-241-13/+7
|
* bsp/virtex: Use generic interrupt supportSebastian Huber2013-06-248-427/+135
|
* bsp/virtex: Fix header includesSebastian Huber2013-06-241-6/+3
|
* bsp/virtex: Move timer config to new fileSebastian Huber2013-06-243-9/+68
|
* bsp/virtex: Do not use PPC403 TTY driverSebastian Huber2013-06-242-12/+1
|
* bsp/virtex: Fix warningsSebastian Huber2013-06-241-2/+2
|
* bsp/virtex: Delete bsp_XAssertHandler()Sebastian Huber2013-06-241-12/+0
|
* bsp/virtex: Delete unused variablesSebastian Huber2013-06-241-4/+0
|
* bsp/virtex: Replace low-level BSP start codeSebastian Huber2013-06-2410-472/+211
| | | | Use linkcmds.base. Use EABI with small-data area.
* bsp/virtex: Rename file dlentry.S in start.SSebastian Huber2013-06-244-11/+12
| | | | Use default bsp_specs file.