Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

128 lines
4.5 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1998
  6. //
  7. // File: scsiport.src
  8. //
  9. //--------------------------------------------------------------------------
  10. NAME SCSIPORT.SYS
  11. EXPORTS
  12. ScsiDebugPrint
  13. ScsiPortCompleteRequest
  14. ScsiPortConvertUlongToPhysicalAddress
  15. ScsiPortConvertPhysicalAddressToUlong
  16. ScsiPortFlushDma
  17. ScsiPortFreeDeviceBase
  18. ScsiPortGetBusData
  19. ScsiPortGetDeviceBase
  20. ScsiPortGetLogicalUnit
  21. ScsiPortGetPhysicalAddress
  22. ScsiPortGetSrb
  23. ScsiPortGetUncachedExtension
  24. ScsiPortGetVirtualAddress
  25. ScsiPortInitialize
  26. ScsiPortIoMapTransfer
  27. ScsiPortLogError
  28. ScsiPortMoveMemory
  29. ScsiPortNotification
  30. ScsiPortSetBusDataByOffset
  31. ScsiPortStallExecution
  32. ScsiPortValidateRange
  33. #if defined(_ALPHA_) || defined(i386)
  34. #if defined(_ALPHA_)
  35. //
  36. // These routines are implemented in the Alpha HAL and simply
  37. // forwarded.
  38. //
  39. ScsiPortReadRegisterUchar=HAL.READ_REGISTER_UCHAR
  40. ScsiPortReadRegisterUshort=HAL.READ_REGISTER_USHORT
  41. ScsiPortReadRegisterUlong=HAL.READ_REGISTER_ULONG
  42. ScsiPortReadRegisterBufferUchar=HAL.READ_REGISTER_BUFFER_UCHAR
  43. ScsiPortReadRegisterBufferUshort=HAL.READ_REGISTER_BUFFER_USHORT
  44. ScsiPortReadRegisterBufferUlong=HAL.READ_REGISTER_BUFFER_ULONG
  45. ScsiPortWriteRegisterUchar=HAL.WRITE_REGISTER_UCHAR
  46. ScsiPortWriteRegisterUshort=HAL.WRITE_REGISTER_USHORT
  47. ScsiPortWriteRegisterUlong=HAL.WRITE_REGISTER_ULONG
  48. ScsiPortWriteRegisterBufferUchar=HAL.WRITE_REGISTER_BUFFER_UCHAR
  49. ScsiPortWriteRegisterBufferUshort=HAL.WRITE_REGISTER_BUFFER_USHORT
  50. ScsiPortWriteRegisterBufferUlong=HAL.WRITE_REGISTER_BUFFER_ULONG
  51. #else
  52. //
  53. // These routines are implemented in the Intel NTOSKRNL and
  54. // simply forwarded.
  55. //
  56. ScsiPortReadRegisterUchar=NTOSKRNL.READ_REGISTER_UCHAR
  57. ScsiPortReadRegisterUshort=NTOSKRNL.READ_REGISTER_USHORT
  58. ScsiPortReadRegisterUlong=NTOSKRNL.READ_REGISTER_ULONG
  59. ScsiPortReadRegisterBufferUchar=NTOSKRNL.READ_REGISTER_BUFFER_UCHAR
  60. ScsiPortReadRegisterBufferUshort=NTOSKRNL.READ_REGISTER_BUFFER_USHORT
  61. ScsiPortReadRegisterBufferUlong=NTOSKRNL.READ_REGISTER_BUFFER_ULONG
  62. ScsiPortWriteRegisterUchar=NTOSKRNL.WRITE_REGISTER_UCHAR
  63. ScsiPortWriteRegisterUshort=NTOSKRNL.WRITE_REGISTER_USHORT
  64. ScsiPortWriteRegisterUlong=NTOSKRNL.WRITE_REGISTER_ULONG
  65. ScsiPortWriteRegisterBufferUchar=NTOSKRNL.WRITE_REGISTER_BUFFER_UCHAR
  66. ScsiPortWriteRegisterBufferUshort=NTOSKRNL.WRITE_REGISTER_BUFFER_USHORT
  67. ScsiPortWriteRegisterBufferUlong=NTOSKRNL.WRITE_REGISTER_BUFFER_ULONG
  68. #endif
  69. //
  70. // These routines are implemented in both the Intel and Alpha
  71. // HAL and simply forwarded
  72. //
  73. ScsiPortReadPortUchar=HAL.READ_PORT_UCHAR
  74. ScsiPortReadPortUshort=HAL.READ_PORT_USHORT
  75. ScsiPortReadPortUlong=HAL.READ_PORT_ULONG
  76. ScsiPortReadPortBufferUchar=HAL.READ_PORT_BUFFER_UCHAR
  77. ScsiPortReadPortBufferUshort=HAL.READ_PORT_BUFFER_USHORT
  78. ScsiPortReadPortBufferUlong=HAL.READ_PORT_BUFFER_ULONG
  79. ScsiPortWritePortUchar=HAL.WRITE_PORT_UCHAR
  80. ScsiPortWritePortUshort=HAL.WRITE_PORT_USHORT
  81. ScsiPortWritePortUlong=HAL.WRITE_PORT_ULONG
  82. ScsiPortWritePortBufferUchar=HAL.WRITE_PORT_BUFFER_UCHAR
  83. ScsiPortWritePortBufferUshort=HAL.WRITE_PORT_BUFFER_USHORT
  84. ScsiPortWritePortBufferUlong=HAL.WRITE_PORT_BUFFER_ULONG
  85. #else
  86. //
  87. // These routines are implemented in SCSIPORT
  88. //
  89. ScsiPortReadPortUchar
  90. ScsiPortReadPortUshort
  91. ScsiPortReadPortUlong
  92. ScsiPortReadPortBufferUchar
  93. ScsiPortReadPortBufferUshort
  94. ScsiPortReadPortBufferUlong
  95. ScsiPortReadRegisterUchar
  96. ScsiPortReadRegisterUshort
  97. ScsiPortReadRegisterUlong
  98. ScsiPortReadRegisterBufferUchar
  99. ScsiPortReadRegisterBufferUshort
  100. ScsiPortReadRegisterBufferUlong
  101. ScsiPortWritePortUchar
  102. ScsiPortWritePortUshort
  103. ScsiPortWritePortUlong
  104. ScsiPortWritePortBufferUchar
  105. ScsiPortWritePortBufferUshort
  106. ScsiPortWritePortBufferUlong
  107. ScsiPortWriteRegisterUchar
  108. ScsiPortWriteRegisterUshort
  109. ScsiPortWriteRegisterUlong
  110. ScsiPortWriteRegisterBufferUchar
  111. ScsiPortWriteRegisterBufferUshort
  112. ScsiPortWriteRegisterBufferUlong
  113. #endif
  114. DllInitialize PRIVATE
  115. #if defined(_AMD64_)
  116. ScsiPortQuerySystemTime
  117. #else
  118. ScsiPortQuerySystemTime=NTOSKRNL.KeQuerySystemTime
  119. #endif