Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:44

0001 /* 
0002 ** errorBlock.C
0003 ** 
0004 ** Author: $Author: purschke $  
0005 **   Date: $Date: 2000/07/21 01:51:12 $ 
0006 ** 
0007 ** $Log: errorBlock.C,v $
0008 ** Revision 1.1.1.1  2000/07/21 01:51:12  purschke
0009 ** mlp -- adding the new automakified "basic" module to CVS.
0010 **
0011 **
0012 ** Revision 1.3  1998/12/11 22:02:01  markacs
0013 ** (stephen markacs) adding log into cvs tags
0014 ** 
0015 */
0016 #include "errorBlock.h"
0017 
0018 VALUE_ret calcNumErrorsV1 (UINT numErrorDwords)
0019 {   
0020   if (numErrorDwords % errorEntryV1Length ) {
0021     return valueFailure;
0022   }
0023   else return numErrorDwords/errorEntryV1Length;
0024 }
0025 
0026 void endianSwapErrorV1 (ERRORENTRYV1_ptr outError, ERRORENTRYV1_ptr inError)
0027 {
0028   /*
0029   **  For now do nothing
0030   */
0031   *outError = *inError;
0032 }