/***************************************************************************
 *
 *  Oxford Semiconductor Proprietary and Confidential Information
 *
 *  Copyright:      Oxford Semiconductor Ltd, 2006
 *
 *  Description:    OS dependant interrupt definitions.
 *
 ***************************************************************************/

#ifndef INC_OsInterrupt_h
#define INC_OsInterrupt_h


#include "Os.h"



/**
 *  Interrupt object..
 */
typedef struct _OsInterruptStruct
{
    unsigned int    irq ;
    unsigned long   flags ;
    spinlock_t *    hLock ;
    
    struct tasklet_struct   tasklet;
} OsInterruptStruct;


/**
 *  Interrupt handle.
 */
typedef OsInterruptStruct *                OsInterruptHandle;



#endif // INC_OsInterrupt_h
