summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/src/irq-generic.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move generic IRQ support to bspsSebastian Huber2018-04-091-627/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Fix integer to/from pointerSebastian Huber2017-08-221-2/+2
| | | | Update #3082.
* bsps: Include missing header fileSebastian Huber2017-07-121-0/+1
| | | | Update #3071.
* Add interrupt vector set/get affinitySebastian Huber2017-07-121-1/+52
| | | | Close #3071.
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-201-14/+2
| | | | | | 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.
* interrupt vector indexing is assuming BSP_INTERRUPT_VECTOR_MIN = 0Phong Pham2017-05-131-1/+1
| | | | Closes #3014.
* bsp/shared: Add bsp_interrupt_handler_is_empty.Chris Johns2016-05-111-0/+19
|
* bsp/irq-server: Support shared interruptsSebastian Huber2016-01-201-2/+2
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* 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.
* 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: 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.
* fix warningThomas Doerfler2010-03-251-1/+1
|
* Whitespace removal.Ralf Corsepius2009-11-301-1/+1
|
* interrupt handler type changeThomas Doerfler2009-10-211-1/+4
|
* 2009-09-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2009-09-081-435/+486
| | | | | | | | | * 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-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.
* 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-191-7/+11
| | | | | | * 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.
* Support for new rtems_interrupt_handler_iterate() function.Thomas Doerfler2008-07-241-46/+32
|
* Extension of the RTEMS Interrupt ManagerThomas Doerfler2008-07-101-0/+565
(shared handler and handler with a handle).