Copyright © 2005 Philippe Gerum.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA 02139, USA; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Include dependency graph for generic.c:
Functions | |
int | rthal_irq_request (unsigned irq, void(*handler)(unsigned irq, void *cookie), int(*ackfn)(unsigned irq), void *cookie) |
Install a real-time interrupt handler. | |
int | rthal_irq_release (unsigned irq) |
Uninstall a real-time interrupt handler. | |
int | rthal_irq_enable (unsigned irq) |
Enable an interrupt source. | |
int | rthal_irq_disable (unsigned irq) |
Disable an interrupt source. | |
int | rthal_irq_host_request (unsigned irq, irqreturn_t(*handler)(int irq, void *dev_id, struct pt_regs *regs), char *name, void *dev_id) |
Install a shared Linux interrupt handler. | |
int | rthal_irq_host_release (unsigned irq, void *dev_id) |
Uninstall a shared Linux interrupt handler. | |
int | rthal_irq_host_pend (unsigned irq) |
Propagate an IRQ event to Linux. | |
int | rthal_irq_affinity (unsigned irq, cpumask_t cpumask, cpumask_t *oldmask) |
Set/Get processor affinity for external interrupt. | |
rthal_trap_handler_t | rthal_trap_catch (rthal_trap_handler_t handler) |
Installs a fault handler. | |
int | rthal_apc_alloc (const char *name, void(*handler)(void *cookie), void *cookie) |
Allocate an APC slot. | |
int | rthal_apc_free (int apc) |
Releases an APC slot. | |
int | rthal_apc_schedule (int apc) |
Schedule an APC invocation. |