GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / dev > pbs / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

INT.ih.vx-xxx-xxx File Reference

Implements the PPC/GCC version of the inline INT (interrupt) routines. More...

#include <intLib.h>

Functions

INT__EXP_FNC int INT__context (void)
 Return non-zero if a interrupt level.
INT__EXP_FNC int INT__lock (void)
 Locks interrupts.
INT__EXP_FNC void INT__unlock (int key)
 Unlocks the interrrupts.


Detailed Description

Implements the PPC/GCC version of the inline INT (interrupt) routines.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: INT.ih.vx-xxx-xxx,v 1.3 2004/12/07 16:13:06 russell Exp $

Function Documentation

INT__EXP_FNC int INT__context ( void   ) 

Return non-zero if a interrupt level.

Return values:
!= 0, if at interrupt level
== 0, if not at interrupt level (i.e. at task level)

INT__EXP_FNC int INT__lock ( void   ) 

INT__EXP_FNC void INT__unlock ( int  key  ) 

Unlocks the interrrupts.

Parameters:
key The key to unlock the interrupt. This is the return value of INT_lock().

Referenced by LSU_atomicCalc(), LSU_atomicScale(), RW__tmr_unlock(), RW__unlock(), RW__unlock2(), RW__wait(), unlock_que(), WCT__aticks_to_pticks(), WCT__diff_aticksL(), wct__get(), WCT__pticks_to_aticks(), and WUT_sys_handler().


Generated on Fri Aug 5 18:37:51 2011 by  doxygen 1.5.8