summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill2015-07-167-14/+14
| | | | | | | | | | | | | | | | | 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
* bsps: Convert clock drivers to use a timecounterAlexander Krutwig2015-05-206-8/+11
| | | | Update #2271.
* jmr3904-testsuite.tcfg: New fileJoel Sherrill2015-04-011-0/+9
|
* Temporarily disable libdl tests on some MIPS BSPSsJoel Sherrill2015-03-063-0/+15
| | | | | | | These BSPs are little endian while most are big endian. The dl tool does not support the -EL option yet. updates 2279.
* mips BSPs: Remove .global for unprovided symbolJoel Sherrill2015-03-034-4/+0
| | | | closes 2253
* Update bug report URLSebastian Huber2014-12-059-9/+9
|
* bsps: Move extern "C" to not cover includesSebastian Huber2014-10-237-28/+28
| | | | Some includes may use C++ and this conflicts if surrounded extern "C".
* libbsp/mips/shared: Fix warningsJoel Sherrill2014-10-192-12/+5
|
* mips/rbtx4938: Fix warningsJoel Sherrill2014-10-194-85/+29
|
* mips/rbtx4925: Fix warningsJoel Sherrill2014-10-194-82/+29
|
* mips/malta: Fix warningsJoel Sherrill2014-10-194-8/+21
|
* mips/hurricane: Fix warningsJoel Sherrill2014-10-194-66/+27
|
* csb350/console/console-io.c: Fix warningsJoel Sherrill2014-10-191-4/+1
|
* mips/shared/gdbstub/mips-stub.c: Add prototype to stay self containedJoel Sherrill2014-10-161-0/+6
|
* mips/rbtx4938/start/start.S: Fix nested commentJoel Sherrill2014-10-131-1/+1
|
* mips/rbtx4925/start/start.S: Fix nested commentJoel Sherrill2014-10-131-1/+1
|
* mips/gdbstub: Fix warningsJoel Sherrill2014-10-131-2/+5
|
* mips/genmongoosev: Fix warningsJoel Sherrill2014-10-135-49/+27
|
* mips/malta/startup/bspreset.c: Include <bsp/bootcard.h>Joel Sherrill2014-10-131-2/+1
|
* mips/csb350/startup/bspreset.c: Include <bsp/bootcard.h>Joel Sherrill2014-10-131-0/+2
|
* Add console-polled.h and update all BSPs that should use it.Joel Sherrill2014-10-106-6/+20
| | | | | | | | | | | 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.
* Move Mongoose-V specific devices into BSP.Joel Sherrill2014-10-1013-8/+1563
| | | | | Putting the duart in libcpu was very optimistic and presumptuous. It has never been used again on another SoC and is BSP specific.
* Use correct prototype of benchmark_timer_read()Joel Sherrill2014-09-163-3/+3
| | | | | | | | | | | | | | 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.
* score: Rename _BSP_Exception_frame_print()Sebastian Huber2014-09-111-1/+1
| | | | | Rename _BSP_Exception_frame_print() to _CPU_Exception_frame_print() to be in line with other CPU port functions.
* Regenerate all preinstall.am files.Chris Johns2014-08-296-27/+27
| | | | | 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-284-24/+24
| | | | | Apparently, at some point automake output changed and these were not updated.
* score: Statically initialize _ISR_Vector_tableSebastian Huber2014-04-291-1/+0
|
* bsps/mips: Delete unused filesSebastian Huber2014-04-299-51/+0
| | | | The MIPS port defines CPU_SIMPLE_VECTORED_INTERRUPTS to FALSE.
* bsps: Fix TLS support in linker command filesSebastian Huber2014-04-227-7/+21
| | | | | The TLS section symbols had wrong values in case of an empty TLS data section and a nonempty TLS BSS section.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2173-73/+73
|
* bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber2014-02-047-0/+124
|
* libbsp mips: Add Doxygen file header to coverhd.hCynthia Rempel2014-01-141-1/+7
|
* mips/shared: added new doxygenDaniel Ramirez2013-12-236-100/+304
|
* bsps: Simplify FreeBSD linker setsSebastian Huber2013-12-162-26/+13
|
* mips/shared/.../clockdrv.c: Change get nanoseconds handler to staticJoel Sherrill2013-09-301-4/+3
|
* bsps: Fix clock driver definesSebastian Huber2013-08-143-3/+3
|
* score: Per-CPU thread dispatch disable levelSebastian Huber2013-08-091-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a per-CPU thread dispatch disable level. So instead of one global thread dispatch disable level we have now one instance per processor. This is a major performance improvement for SMP. On non-SMP configurations this may simplifiy the interrupt entry/exit code. The giant lock is still present, but it is now decoupled from the thread dispatching in _Thread_Dispatch(), _Thread_Handler(), _Thread_Restart_self() and the interrupt entry/exit. Access to the giant lock is now available via _Giant_Acquire() and _Giant_Release(). The giant lock is still implicitly acquired via _Thread_Dispatch_decrement_disable_level(). The giant lock is only acquired for high-level operations in interrupt handlers (e.g. release of a semaphore, sending of an event). As a side-effect this change fixes the lost thread dispatch necessary indication bug in _Thread_Dispatch(). A per-CPU thread dispatch disable level greatly simplifies the SMP support for the interrupt entry/exit code since no spin locks have to be acquired in this area. It is only necessary to get the current processor index and use this to calculate the address of the own per-CPU control. This reduces the interrupt latency considerably. All elements for the interrupt entry/exit code are now part of the Per_CPU_Control structure: thread dispatch disable level, ISR nest level and thread dispatch necessary. Nothing else is required (except CPU port specific stuff like on SPARC).
* RTEMS: Delete ChangeLog files.Gedare Bloom2013-03-0810-3274/+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-4/+2
| | | | | | | | | | | | | | | | | | | | | 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-2/+1
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-157-0/+8
| | | | | | | 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().
* bsp/jmr3904: Define bsp_reset()Sebastian Huber2012-11-152-1/+2
| | | | | This is declared in <bsp/bootcard.h> and is the usual function to reset a board.
* libnetworking: Use system eventsSebastian Huber2012-11-021-3/+3
| | | | | | | 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-067-226/+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.
* Remove CVS-Ids.Ralf Corsépius2012-07-1915-26/+10
|
* Remove CVS-Ids.Ralf Corsépius2012-07-193-6/+0
|
* Require automake-1.12.2.Ralf Corsépius2012-07-199-9/+9
|
* Require autoconf-2.69.Ralf Corsépius2012-07-199-9/+9
|
* mips/malta: Add sections for new FreeBSD TCP/IP stackJoel Sherrill2012-07-171-10/+25
|
* mips/jmr3904: Add sections for new FreeBSD TCP/IP stackJoel Sherrill2012-07-171-10/+25
|