home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR24 / EDMI5.ZIP / IFSR0.ZIP / R0STRUCT.H < prev    next >
Text File  |  1993-10-04  |  945b  |  36 lines

  1. /******************************************************************************
  2. *******************************************************************************
  3. **
  4. ** EXR0R3 - A ring 0/ring 3 IFS skeleton
  5. ** Copyright (C) 1993 by Andre Asselin
  6. **
  7. ** R0STRUCT.H - Ring 0 side structures
  8. **
  9. ** History:
  10. ** 6/22/93 - created
  11. **
  12. *******************************************************************************
  13. ******************************************************************************/
  14.  
  15. typedef unsigned long SEM;
  16.  
  17. typedef struct cpdata {
  18.    // Ring 0 is messing with the buffers
  19.    SEM BufLock;
  20.  
  21.    // A command is in the buffers
  22.    SEM CmdReady;
  23.  
  24.    // The results of a command are in the buffers
  25.    SEM CmdComplete;
  26.  
  27.    // Pointer to the shared operation buffer
  28.    OPDATA *OpData;
  29.  
  30.    // Pointer to the shared data buffer
  31.    void *Buf;
  32. } CPDATA;
  33.  
  34. #define MAXCPRDYWAIT (10*1000)
  35. #define MAXCPRESWAIT (10*1000)
  36.