/* riscos/usb/sys/veneer-irq.h
 *
 * (c) 2002 Simtec Electronics
 *
 * Ben Dooks
 *
 * Header file for nice irq veneers in C...
 *
 * $Id: veneer-irq.h,v 1.4 2003/08/07 22:16:25 ben Exp $
 *
 * This Library file is part of the Simtec Electronics USB stack development
 *   suite.
 * Specific licence is granted to use this file by third parties for the
 *   development of USB device drivers.
 *
 */

#ifndef __USB_SYS_IRQVENEER_H
#define __USB_SYS_IRQVENEER_H "$Id: veneer-irq.h,v 1.4 2003/08/07 22:16:25 ben Exp $"
struct irq_veneer_params {
  void    *arg;         /* passed to the routine */
  void    *pw;          /* used by the veneer    */
};

extern void irq_veneer_entry(void);

#ifndef USB_IRQVENEER_NODEF
extern void service_irq(void *param, _kernel_swi_regs *regs);
#endif /* USB_IRQVENEER_NODEF */

#endif /* __USB_SYS_IRQVENEER_H */
