GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-5

Constituent: pbs     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

INT.ih File Reference

Defines the inline interrupt locking routines. More...

#include "PBI/Inline.h"
#include "PBS/impl/INT.ih.xx-xxx-xxx"

Include dependency graph for INT.ih:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Defines

#define INT__EXP_PROTO   static inline
 Export Prototype spec.

#define INT__LCL_PROTO   INLINE_USR_LCL_PROTO
 Internal Prototype spec.

#define INT__EXP_FNC   INLINE_USR_EXP_FNC
 Export Function declaration.

#define INT__LCL_FNC   INLINE_USR_LCL_FNC
 Internal Function declaration.


Functions

INT__EXP_PROTO int INT__context (void)
 Return non-zero if a interrupt level.

INT__EXP_PROTO int INT__lock (void)
 Locks interrupts.

INT__EXP_PROTO void INT__unlock (int key)
 Unlocks the interrrupts.


Detailed Description

Defines the inline interrupt locking routines.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: INT.ih,v 1.4 2005/05/02 15:39:38 russell Exp $

These routines are just the inline versions of the VxWorks intLock and intUnlock routines. These services can really only be provided on PPC. The implementation is dependent on the GNU compiler.


Function Documentation

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 INT__lock void   ) 
 

Locks interrupts.

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

void INT__unlock int  key  ) 
 

Unlocks the interrrupts.

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


Generated on Tue Sep 13 21:37:28 2005 by doxygen 1.3.3