arch/ppc/hal/hal.c File Reference


Detailed Description

Adeos-based Real-Time Abstraction Layer for PPC.

Original RTAI/x86 layer implementation:
Copyright © 2000 Paolo Mantegazza,
Copyright © 2000 Steve Papacharalambous,
Copyright © 2000 Stuart Hughes,
and others.

RTAI/x86 rewrite over Adeos:
Copyright &copy 2002 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 hal.c:

Include dependency graph

Functions

int rthal_enable_irq (unsigned irq)
 Enable an IRQ source.
int rthal_disable_irq (unsigned irq)
 Disable an IRQ source.
int rthal_request_linux_irq (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_release_linux_irq (unsigned irq, void *dev_id)
 Uninstall shared Linux interrupt handler.
int rthal_pend_linux_irq (unsigned irq)
 Pend an IRQ to Linux.
int rthal_request_srq (unsigned label, void(*handler)(void))
 Install a system request handler.
int rthal_release_srq (unsigned srq)
 Uninstall a system request handler.
int rthal_pend_linux_srq (unsigned srq)
 Append a Linux IRQ.

Generated on Mon Aug 30 13:58:39 2004 for RTAI API by doxygen 1.3.8