home *** CD-ROM | disk | FTP | other *** search
- /*DDK*************************************************************************/
- /* */
- /* COPYRIGHT Copyright (C) 1995 IBM Corporation */
- /* */
- /* The following IBM OS/2 WARP source code is provided to you solely for */
- /* the purpose of assisting you in your development of OS/2 WARP device */
- /* drivers. You may use this code in accordance with the IBM License */
- /* Agreement provided in the IBM Device Driver Source Kit for OS/2. This */
- /* Copyright statement may not be removed. */
- /* */
- /*****************************************************************************/
- /**************************************************************************
- *
- * SOURCE FILE NAME = ATAPIEXT.H
- *
- * DESCRIPTION : Data External References
- *
- *
- *
- * VERSION = 1.0
- *
- * DATE
- *
- * DESCRIPTION :
- *
- * Purpose:
- *
- *
- */
-
- #include "rmbase.h"
-
- /*-------------------------------------------------------------------*/
- /* */
- /* Static Data */
- /* */
- /* */
- /*-------------------------------------------------------------------*/
-
-
- extern ACBPTRS ACBPtrs[MAX_ADAPTERS];
- extern USHORT InitComplete;
- extern PFN Device_Help;
- extern PFN RM_Help;
- extern PFN RM_Help0;
- extern PFN RM_Help3;
- extern USHORT ADDHandle;
- extern USHORT cAdapters;
- extern USHORT cUnits;
- extern USHORT InitActive;
- extern USHORT InitIOComplete;
- extern USHORT MachineID;
- extern USHORT Calibrate;
- extern ULONG WaitDRQCount;
- extern ULONG WaitBSYCount; /*V@93531*/
- extern ULONG CheckReadyCount;
- extern ULONG IODelayCount;
- extern ULONG ElapsedTimerHandle;
- extern PULONG pNestedIntCount;
- extern USHORT cInt;
- extern UCHAR AdapterName[17]; /* Adapter Name ASCIIZ string */
- extern UCHAR BeginInitData;
- extern LIN plDataSeg;
- extern LIN plSwapCode;
- extern USHORT SwapCodeLen;
- extern USHORT ADDLockCount;
- extern LIN plADDLockHandle;
- extern UCHAR ADDLockHandle[12];
- extern USHORT ComPort;
- extern UCHAR INTTIMEOUTMSG[];
- extern USHORT AddSenseDataMap[];
- extern USHORT MaxAddSenseDataEntry;
- extern USHORT DEBUGON;
- extern USHORT cResets;
-
- /*-------------------------------------------------------------------*/
- /* */
- /* Area to build Control Blocks */
- /* */
- /* */
- /*-------------------------------------------------------------------*/
-
- #ifdef DEBUG
- extern USHORT LogPtr;
- extern USHORT LogBuf[4*1024];
- #endif
-
- extern UCHAR TimerPool[];
-
- extern USHORT ACBPoolAvail;
- extern NPBYTE npACBPool;
- extern UCHAR ACBPool[];
-
-
- /*-------------------------------------------------------------------*/
- /* */
- /* Initialization Data */
- /* */
- /* */
- /*-------------------------------------------------------------------*/
-
-
- extern ATBL AdapterTable[];
- extern ULONG CalibrateTimerHandle;
- extern ULONG CallWorkerSync;
- extern ULONG CallWorker;
- extern BOOL Verbose;
- extern BOOL Installed;
- extern SCATGATENTRY SenseDataSGList;
- extern SCATGATENTRY IdentifySGList;
- extern PDDD_PARM_LIST pDDD_Parm_List;
- extern UCHAR TimersCalibrated;
- extern MSGTABLE InitMsg;
- extern NPSZ AdptMsgs[];
- extern NPSZ UnitMsgs[];
- extern NPSZ ProtocolTypeMsgs[];
- extern NPSZ DeviceTypeMsgs[];
- extern NPSZ CMDDRQTypeMsgs[];
- extern NPSZ MsgSMSOn;
- extern NPSZ MsgLBAOn;
- extern NPSZ MsgNull;
- extern UCHAR ParmErrMsg[];
- extern UCHAR UninstallMsg[];
- extern UCHAR VersionMsg[];
- extern UCHAR DevEqualsMsg[];
- extern UCHAR ScratchBuf[SCRATCH_BUF_SIZE];
- extern UCHAR ScratchBuf1[SCRATCH_BUF_SIZE];
- extern UCHAR SenseDataBuf[];
- extern ULONG ppSenseDataBuf;
- extern IORB_ADAPTER_PASSTHRU InitIORB;
-
- extern UCHAR IORBSTR[];
- extern UCHAR IORBATAPIPKT[];
- extern UCHAR StringBuffer[];
- extern UCHAR INTStringBuffer[];
-
- extern DiskDDHeader;
- extern HDRIVER hDriver;
- extern UCHAR SearchKeytxt[];
- extern DEVICESTRUCT DevStruct;
- extern DRIVERSTRUCT DriverStruct;
- extern UCHAR DrvrNameTxt[];
- extern USHORT DrvrNameSize;
-
-