Xenomai API  2.6.5
hal.c File Reference

Generic Real-Time HAL. More...

Include dependency graph for hal.c:

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. More...
 
int rthal_irq_release (unsigned irq)
 Uninstall a real-time interrupt handler. More...
 
rthal_trap_handler_t rthal_trap_catch (rthal_trap_handler_t handler)
 Installs a fault handler. More...
 
int rthal_apc_alloc (const char *name, void(*handler)(void *cookie), void *cookie)
 Allocate an APC slot. More...
 
void rthal_apc_free (int apc)
 Releases an APC slot. More...
 

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.