Xenomai API  2.6.5
hal.c File Reference

Adeos-based Real-Time Abstraction Layer for PowerPC. More...

Include dependency graph for hal.c:

Functions

int rthal_timer_request (void(*tick_handler)(void), void(*mode_emul)(enum clock_event_mode mode, struct clock_event_device *cdev), int(*tick_emul)(unsigned long delay, struct clock_event_device *cdev), int cpu)
 Grab the hardware timer. More...
 
void rthal_timer_release (int cpu)
 Release the hardware timer. More...
 
int rthal_irq_host_request (unsigned irq, rthal_irq_host_handler_t handler, char *name, void *dev_id)
 Install a shared Linux interrupt handler. More...
 
int rthal_irq_host_release (unsigned irq, void *dev_id)
 Uninstall a shared Linux interrupt handler. More...
 
int rthal_irq_enable (unsigned irq)
 Enable an interrupt source. More...
 
int rthal_irq_disable (unsigned irq)
 Disable an interrupt source. More...
 

Detailed Description

Adeos-based Real-Time Abstraction Layer for PowerPC.

Copyright (C) 2004-2006 Philippe Gerum.

64-bit PowerPC adoption copyright (C) 2005 Taneli Vähäkangas and Heikki Lindholm

Xenomai 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.

Xenomai 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.