summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/psim (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* bsps: Include bsp.am in all BSP Makefile.amSebastian Huber2018-01-021-0/+1
| | | | Update #3254.
* gen5200, gen83xx, gen83x, mpc55xxevb, psim, qoriq, t32mppc, tqm8xx, virtex: ↵Joel Sherrill2017-12-202-6/+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.
* psim/bsp_specs: Reorder and improve consistencyJoel Sherrill2017-11-291-3/+3
| | | | Updates #3520.
* REVERT */*/bsp_specs: Increase similarity to ease futureJoel Sherrill2017-11-271-3/+3
| | | | | | Patch was not intended to be pushed yet. Updates #3520.
* */*/bsp_specs: Increase similarity to ease future analysisJoel Sherrill2017-11-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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-222-1/+2
| | | | | | | | | 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-6/+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.
* powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber2017-11-222-8/+2
| | | | | | | | Due to a new rtems_panic() implementation, it is possible to replace the PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic() implementations. Close #3245.
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-171-0/+1
| | | | Update #3239.
* bsp/psim: Fix for RTEMS_DEBUGSebastian Huber2017-09-201-2/+2
|
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-201-4/+4
| | | | | | 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/psim: Include missing <sys/param.h>Sebastian Huber2017-06-091-0/+1
|
* bsps/powerpc: Fix warningsSebastian Huber2017-02-151-5/+5
|
* bsps/powerpc: Fix AltiVec enableSebastian Huber2016-07-121-0/+1
| | | | | There must be an isync after the mtmsr to ensure that the AltiVec is enabled for subsequent instructions.
* powerpc/psim/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill2016-03-301-1/+0
|
* powerpc/psim: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill2016-03-291-1/+0
|
* powerpc/psim/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/+1
| | | | Update #2408.
* powerpc/psim: Add per-section compilation and linking supportJoel Sherrill2016-01-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: 169644 2260 16605288 16777192 ffffe8 ticker.exe 125480 1984 16649712 16777176 ffffd8 minimum.exe 1009716 146443 15621024 16777183 ffffdf cxx_iostream.exe 691892 6218 16079064 16777174 ffffd6 fileio.exe 256048 2748 16518404 16777200 fffff0 capture.exe 195878 2348 16578964 16777190 ffffe6 nsecs.exe 205540 2620 16569020 16777180 ffffdc paranoia.exe 270988 9700 16496492 16777180 ffffdc cdtest.exe 166348 2252 16608584 16777184 ffffe0 base_sp.exe 168860 2252 16606076 16777188 ffffe4 unlimited.exe 152336 2108 16622740 16777184 ffffe0 hello.exe The size of the sample executables with this option enabled were: 127352 2216 16647628 16777196 ffffec ticker.exe 55584 1588 16720024 16777196 ffffec minimum.exe 647256 51050 16078868 16777174 ffffd6 cxx_iostream.exe 660264 6186 16110724 16777174 ffffd6 fileio.exe 233796 2680 16540712 16777188 ffffe4 capture.exe 154018 2304 16620856 16777178 ffffda nsecs.exe 185492 2592 16589108 16777192 ffffe8 paranoia.exe 240628 8396 16528176 16777200 fffff0 cdtest.exe 124088 2208 16650892 16777188 ffffe4 base_sp.exe 125404 2204 16649568 16777176 ffffd8 unlimited.exe 130696 2076 16644408 16777180 ffffdc hello.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-8/+8
| | | | Some includes may use C++ and this conflicts if surrounded extern "C".
* powerpc/psim: Fix warningsJoel Sherrill2014-10-191-8/+13
|
* powerpc/psim/include/bsp.h: Add prototypes to fix warningsJoel Sherrill2014-10-131-2/+10
|
* Add console-polled.h and update all BSPs that should use it.Joel Sherrill2014-10-103-1/+7
| | | | | | | | | | | The file console-polled.h provides the prototypes for the three required methods when implementing a single port polled console driver. This paradigm is common on simulators and simple hardware. + Updated the BSPs Makefile.am to make console-polled.h available. + Regenerated the BSPs preinstall.sm. + Updated console support files to include <bsp/console-polled.h>. + Updated console support files to make printk() support method static.
* 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-6/+6
| | | | | Apparently, at some point automake output changed and these were not updated.
* psim/console/console-io.c: Comment clean upJoel Sherrill2014-04-031-1/+3
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2113-13/+13
|
* 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/+2
| | | | | | | | | 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
|
* libbsp tm27.h: Add Doxygen file header to all tm27.hCynthia Rempel2014-01-091-2/+6
|
* bsp/psim: Use EABI and System V small-data areaRalf Kirchner2013-07-051-1/+1
|
* bsp/psim: Fix declarationRalf Kirchner2013-07-051-2/+2
| | | | It declares a symbol defined in the linker command file.
* bsp/psim: Use plain symbol for PSIMSebastian Huber2013-06-283-27/+2
| | | | This avoids a linker assertion failure in the GCC test suite.
* bsps/powerpc: Delete bsp_exceptions_in_RAMSebastian Huber2013-06-211-7/+3
| | | | | Delete ppc_exc_vector_base. Add and use ppc_exc_initialize_with_vector_base().
* bsp/psim: Use shared linkcmds.baseSebastian Huber2013-03-196-285/+62
| | | | | Several GCC tests faild due to the outdated previous linker command file.
* bsps: Support DWARF extensionSebastian Huber2013-03-181-0/+5
|
* RTEMS: Delete ChangeLog files.Gedare Bloom2013-03-081-1022/+0
| | | | | | | | | This commit deletes all RTEMS ChangeLog files. These files have been abandoned since converting to git version control. The historical data may be recovered by checking out any commit before this one. Most of the contents of these ChangeLog files can also be found in the git log. Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
* score: Add CPU_Exception_frameSebastian Huber2012-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | Add CPU port type CPU_Exception_frame and function _CPU_Exception_frame_print(). The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh, sparc64, and v850 use an empty default implementation of _CPU_Exception_frame_print(). Add rtems_exception_frame and rtems_exception_frame_print(). Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions. Use rtems_fatal() with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc, and sparc for unexpected exceptions. Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the BSP_PRINT_EXCEPTION_CONTEXT define used in the default bsp_fatal_extension(). Add test sptests/spfatal26.
* bsps: Use RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2012-11-252-3/+1
|
* bsps/powerpc: Exception initialization error is fatalSebastian Huber2012-11-151-5/+1
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-0/+3
| | | | | | | Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
* libnetworking: Use system eventsSebastian Huber2012-11-021-1/+1
| | | | | | | Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP. Add and use rtems_bsdnet_event_send().
* Revert "Add bspopts.h.in."Gedare Bloom2012-08-061-53/+0
| | | | | | | | | | | | This reverts commit daffa606cc4a45d93c1f0f4fe365fde0fda6acbb. Conflicts: c/src/lib/libbsp/arm/lpc24xx/include/bspopts.h.in c/src/lib/libbsp/powerpc/mpc55xxevb/include/bspopts.h.in c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in Manually deleted conflicting files.
* Require automake-1.12.2.Ralf Corsépius2012-07-191-1/+1
|