ksrc/arch/generic/hal.c File Reference


Detailed Description

Generic Real-Time HAL.

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 <linux/version.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/console.h>
#include <linux/kallsyms.h>
#include <asm/system.h>
#include <asm/hardirq.h>
#include <asm/irq.h>
#include <asm/uaccess.h>
#include <asm/unistd.h>
#include <asm/xenomai/hal.h>
#include <stdarg.h>

Functions

int rthal_irq_request (unsigned irq, rthal_irq_handler_t handler, rthal_irq_ackfn_t ackfn, void *cookie)
 Install a real-time interrupt handler.
int rthal_irq_release (unsigned irq)
 Uninstall a real-time 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.


Generated on Mon Dec 25 13:57:10 2006 for Xenomai API by  doxygen 1.4.6