GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> IPBS / V0-0-2 > pbs / i845e


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.1.1.1 2006/02/10 21:45:37 saxton 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   ) 

Locks interrupts.

Return values:
A key to be passed to the INT__unlock routine

Referenced by LSU_atomicCalc(), LSU_atomicScale(), RW__lock(), RW__lock2(), RW__tmr_lock(), RW__tmr_wait(), and RW__wait().

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(), and RW__wait().


Generated on Wed Nov 21 21:23:52 2012 by  doxygen 1.5.8