summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-219-9/+9
|
* rtems: Add RTEMS_INTERRUPT_REPLACESebastian Huber2014-03-061-27/+54
| | | | | | | | | | | | | | | | | | | | | A new option RTEMS_INTERRUPT_REPLACE is introduced that permits updating the first interrupt handler for the registered interrupt vector and matching argument. If no match is found, the install function fails with RTEMS_UNSATISFIED. The Interrupt Manager Extension offers interrupt handlers with an argument pointer. It is impossible to update two words (handler and argument) atomically on most architectures. In order to avoid an SMP lock in bsp_interrupt_handler_dispatch() which would degrade the interrupt response time an alternative must be provided that makes it possible to tear-down interrupt sources without an SMP lock. Add RTEMS_INTERRUPT_REPLACE option to Interrupt Manager Extension. This enables a clean tear-down of interrupt sources on SMP configurations. Instead of an interrupt handler removal a replacement handler can be installed to silence an interrupt source. This can be used in contexts that allow no sophisticated synchronization (e.g. in atexit() or fatal handlers).
* bsps: SMP support for generic interrupt supportSebastian Huber2014-03-061-14/+33
|
* bsps: Fix empty interrupt handler entrySebastian Huber2014-02-281-4/+5
| | | | | The vector number of spurious interrupts was wrong after the interrupt handler removal on SMP configurations.
* score: Add RTEMS_FATAL_SOURCE_BSPSebastian Huber2014-02-191-2/+2
| | | | | | Merge RTEMS_FATAL_SOURCE_BSP_GENERIC and RTEMS_FATAL_SOURCE_BSP_SPECIFIC into new fatal source RTEMS_FATAL_SOURCE_BSP. This makes it easier to figure out the code position given a fatal source and code.
* bsps: Include missing <rtems/score/heapimpl.h>Sebastian Huber2013-07-261-1/+2
|
* score: Merge sysstate API into one fileSebastian Huber2013-07-241-0/+1
|
* bsps: Move bsp_generic_fatal_code to new fileSebastian Huber2013-06-211-5/+2
| | | | Add bsp_generic_fatal().
* bsps: Fix rtems_interrupt_server_handler_remove()Sebastian Huber2013-01-071-2/+2
|
* bsps: Interrupt initialization error is fatalSebastian Huber2012-11-151-20/+13
|
* bsps: Use allocator mutex for generic IRQ supportSebastian Huber2012-11-061-89/+16
| | | | | | Since the allocator mutex allows nesting now we can use it for the generic IRQ support (recursive obtain in a potential malloc()). This simplifies the code and reduces memory usage.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* bsps/stackalloc: Add initialization hookSebastian Huber2012-04-261-16/+12
|
* bsps/stackalloc: Use stack section symbolsSebastian Huber2012-04-241-15/+12
|
* bsps: Add shared default IRQ handlerSebastian Huber2012-03-241-0/+22
|
* 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-07-211-12/+23
| | | | | * include/uart-output-char.h, src/uart-output-char.c: Support for getchark().
* 2010-12-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-12-301-0/+31
| | | | | | * shared/bspgetworkarea.c: Include <bsp/u-boot.h> if necessary. * shared/include/u-boot.h, shared/src/bsp-uboot-board-info.c: New files.
* 2010-08-15 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-08-151-1/+2
| | | | * src/uart-output-char.c: Add BSP_poll_char.
* 2010-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-05-201-0/+44
| | | | * include/uart-output-char.h, src/uart-output-char.c: New files.
* 2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-04-302-68/+53
| | | | | | | | | | * include/irq-config.h: Removed file. * include/irq.h: New file (renamed from 'include/irq-config.h'). * include/irq-generic.h, src/irq-info.c: Include <bsp/irq.h> instead of <bsp/irq-config.h>. * src/irq-server.c: Use events instead of semaphore. Added error counter for multiple chain appends. Added error counter to detect erroneous interrupt events.
* fix warningThomas Doerfler2010-03-251-1/+1
|
* Whitespace removal.Ralf Corsepius2009-11-301-1/+1
|
* add missing changeThomas Doerfler2009-10-211-2/+14
|
* interrupt handler type changeThomas Doerfler2009-10-212-89/+14
|
* 2009-09-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2009-09-086-518/+849
| | | | | | | | | * include/irq-config.h, include/irq-generic.h, include/irq-info.h, src/irq-generic.c, src/irq-info.c, src/irq-legacy.c, src/irq-shell.c: Format, cleanup and documentation. * src/irq-server.c: New file. * include/bootcard.h, include/stackalloc.h, src/stackalloc.c, bsplibc.c: Update for heap API changes. Documentation.
* 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-121-115/+122
| | | | | * src/irq-legacy.c: Spacing, tabs, and proper format for license notice.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-221-1/+1
| | | | | * src/irq-generic.c: Priority inheritance on simple binary semaphores makes no sense and has recently been added as an error condition.
* adding lpc24xx BSP partsThomas Doerfler2009-07-171-0/+71
|
* 2009-05-15 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2009-05-151-8/+0
| | | | * include/irq-generic.h, src/irq-generic.c: Documentation.
* #include <stdlib.h>.Ralf Corsepius2009-01-051-0/+2
|
* 2008-12-19 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-12-193-7/+144
| | | | | | * include/irq-info.h, src/irq-info.c, src/irq-shell.c: New files. * include/irq-generic.h, src/irq-generic.c: Improved interrupt handler dispatch function.
* 2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-08-201-2/+2
| | | | * src/irq-generic.c: Fixed integer conversion warnings.
* 2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-08-191-3/+3
| | | | | | | * include/bootcard.h, bootcard.c, bsplibc.c: Changed parameter types of bsp_libc_init() to match RTEMS_Malloc_Initialize(). * bsppost.c, bsppredriverhook.c: Include bootcard.h. * src/irq-generic.c: Fixed warnings.
* src/irq-legacy.c: Free allocated memory in hander removeThomas Doerfler2008-07-291-0/+3
| | | | bootcard.c: Check if the heap fits into the work area
* Support for new rtems_interrupt_handler_iterate() function.Thomas Doerfler2008-07-242-74/+74
|
* Extension of the RTEMS Interrupt ManagerThomas Doerfler2008-07-102-0/+745
(shared handler and handler with a handle).