home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / DEV / DASD / CDROM / ATAPI / ATAPIEXT.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-14  |  5.7 KB  |  145 lines

  1. /*DDK*************************************************************************/
  2. /*                                                                           */
  3. /* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
  4. /*                                                                           */
  5. /*    The following IBM OS/2 WARP source code is provided to you solely for  */
  6. /*    the purpose of assisting you in your development of OS/2 WARP device   */
  7. /*    drivers. You may use this code in accordance with the IBM License      */
  8. /*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
  9. /*    Copyright statement may not be removed.                                */
  10. /*                                                                           */
  11. /*****************************************************************************/
  12. /**************************************************************************
  13.  *
  14.  * SOURCE FILE NAME = ATAPIEXT.H
  15.  *
  16.  * DESCRIPTION : Data External References
  17.  *
  18.  *
  19.  *
  20.  * VERSION = 1.0
  21.  *
  22.  * DATE
  23.  *
  24.  * DESCRIPTION :
  25.  *
  26.  * Purpose:
  27.  *
  28.  *
  29. */
  30.  
  31.  #include "rmbase.h"
  32.  
  33. /*-------------------------------------------------------------------*/
  34. /*                                                                   */
  35. /*      Static Data                                                  */
  36. /*                                                                   */
  37. /*                                                                   */
  38. /*-------------------------------------------------------------------*/
  39.  
  40.  
  41.  extern ACBPTRS      ACBPtrs[MAX_ADAPTERS];
  42.  extern USHORT       InitComplete;
  43.  extern PFN          Device_Help;
  44.  extern PFN          RM_Help;
  45.  extern PFN          RM_Help0;
  46.  extern PFN          RM_Help3;
  47.  extern USHORT       ADDHandle;
  48.  extern USHORT       cAdapters;
  49.  extern USHORT       cUnits;
  50.  extern USHORT       InitActive;
  51.  extern USHORT       InitIOComplete;
  52.  extern USHORT       MachineID;
  53.  extern USHORT       Calibrate;
  54.  extern ULONG        WaitDRQCount;
  55.  extern ULONG        WaitBSYCount;                                   /*V@93531*/
  56.  extern ULONG        CheckReadyCount;
  57.  extern ULONG        IODelayCount;
  58.  extern ULONG        ElapsedTimerHandle;
  59.  extern PULONG       pNestedIntCount;
  60.  extern USHORT       cInt;
  61.  extern UCHAR        AdapterName[17];  /* Adapter Name ASCIIZ string */
  62.  extern UCHAR        BeginInitData;
  63.  extern LIN          plDataSeg;
  64.  extern LIN          plSwapCode;
  65.  extern USHORT       SwapCodeLen;
  66.  extern USHORT       ADDLockCount;
  67.  extern LIN          plADDLockHandle;
  68.  extern UCHAR        ADDLockHandle[12];
  69.  extern USHORT       ComPort;
  70.  extern UCHAR        INTTIMEOUTMSG[];
  71.  extern USHORT       AddSenseDataMap[];
  72.  extern USHORT       MaxAddSenseDataEntry;
  73.  extern USHORT       DEBUGON;
  74.  extern USHORT       cResets;
  75.  
  76. /*-------------------------------------------------------------------*/
  77. /*                                                                   */
  78. /*      Area to build Control Blocks                                 */
  79. /*                                                                   */
  80. /*                                                                   */
  81. /*-------------------------------------------------------------------*/
  82.  
  83. #ifdef DEBUG
  84.  extern USHORT  LogPtr;
  85.  extern USHORT  LogBuf[4*1024];
  86. #endif
  87.  
  88.  extern UCHAR TimerPool[];
  89.  
  90.  extern USHORT       ACBPoolAvail;
  91.  extern NPBYTE       npACBPool;
  92.  extern UCHAR        ACBPool[];
  93.  
  94.  
  95. /*-------------------------------------------------------------------*/
  96. /*                                                                   */
  97. /*      Initialization Data                                          */
  98. /*                                                                   */
  99. /*                                                                   */
  100. /*-------------------------------------------------------------------*/
  101.  
  102.  
  103.  extern ATBL                   AdapterTable[];
  104.  extern ULONG                  CalibrateTimerHandle;
  105.  extern ULONG                  CallWorkerSync;
  106.  extern ULONG                  CallWorker;
  107.  extern BOOL                   Verbose;
  108.  extern BOOL                   Installed;
  109.  extern SCATGATENTRY           SenseDataSGList;
  110.  extern SCATGATENTRY           IdentifySGList;
  111.  extern PDDD_PARM_LIST         pDDD_Parm_List;
  112.  extern UCHAR                  TimersCalibrated;
  113.  extern MSGTABLE               InitMsg;
  114.  extern NPSZ                   AdptMsgs[];
  115.  extern NPSZ                   UnitMsgs[];
  116.  extern NPSZ                   ProtocolTypeMsgs[];
  117.  extern NPSZ                   DeviceTypeMsgs[];
  118.  extern NPSZ                   CMDDRQTypeMsgs[];
  119.  extern NPSZ                   MsgSMSOn;
  120.  extern NPSZ                   MsgLBAOn;
  121.  extern NPSZ                   MsgNull;
  122.  extern UCHAR                  ParmErrMsg[];
  123.  extern UCHAR                  UninstallMsg[];
  124.  extern UCHAR                  VersionMsg[];
  125.  extern UCHAR                  DevEqualsMsg[];
  126.  extern UCHAR                  ScratchBuf[SCRATCH_BUF_SIZE];
  127.  extern UCHAR                  ScratchBuf1[SCRATCH_BUF_SIZE];
  128.  extern UCHAR                  SenseDataBuf[];
  129.  extern ULONG                  ppSenseDataBuf;
  130.  extern IORB_ADAPTER_PASSTHRU  InitIORB;
  131.  
  132.  extern UCHAR                  IORBSTR[];
  133.  extern UCHAR                  IORBATAPIPKT[];
  134.  extern UCHAR                  StringBuffer[];
  135.  extern UCHAR                  INTStringBuffer[];
  136.  
  137.  extern                        DiskDDHeader;
  138.  extern HDRIVER                hDriver;
  139.  extern UCHAR                  SearchKeytxt[];
  140.  extern DEVICESTRUCT           DevStruct;
  141.  extern DRIVERSTRUCT           DriverStruct;
  142.  extern UCHAR                  DrvrNameTxt[];
  143.  extern USHORT                 DrvrNameSize;
  144.  
  145.