Source code of Windows XP (NT5)
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.

180 lines
6.1 KiB

  1. NAME VIDEOPRT.SYS
  2. EXPORTS
  3. VideoPortCompareMemory = NTOSKRNL.RtlCompareMemory
  4. VideoPortDDCMonitorHelper
  5. VideoPortDebugPrint
  6. VideoPortDisableInterrupt
  7. VideoPortDoDma
  8. VideoPortEnableInterrupt
  9. VideoPortFreeCommonBuffer
  10. VideoPortFreeDeviceBase
  11. VideoPortGetAccessRanges
  12. VideoPortGetBusData
  13. VideoPortGetCommonBuffer
  14. VideoPortGetCurrentIrql
  15. VideoPortGetDeviceBase
  16. VideoPortGetDeviceData
  17. VideoPortGetMdl
  18. VideoPortGetRegistryParameters
  19. VideoPortInitialize
  20. VideoPortInt10
  21. VideoPortInterlockedDecrement
  22. VideoPortInterlockedExchange
  23. VideoPortInterlockedIncrement
  24. VideoPortLockPages
  25. VideoPortLogError
  26. VideoPortMapBankedMemory
  27. VideoPortMapMemory
  28. VideoPortAllocateBuffer
  29. VideoPortReleaseBuffer
  30. VideoPortMoveMemory = NTOSKRNL.RtlMoveMemory
  31. VideoPortScanRom
  32. VideoPortSetBusData
  33. VideoPortSignalDmaComplete
  34. VideoPortSetTrappedEmulatorPorts
  35. VideoPortSetRegistryParameters
  36. VideoPortStallExecution = HAL.KeStallExecutionProcessor
  37. VideoPortStartTimer
  38. VideoPortStopTimer
  39. VideoPortSynchronizeExecution
  40. VideoPortUnlockPages
  41. VideoPortUnmapMemory
  42. VideoPortVerifyAccessRanges
  43. VideoPortZeroMemory = NTOSKRNL.RtlZeroMemory
  44. VideoPortAssociateEventsWithDmaHandle
  45. VideoPortGetBytesUsed
  46. VideoPortSetBytesUsed
  47. VideoPortGetDmaContext
  48. VideoPortSetDmaContext
  49. VideoPortMapDmaMemory
  50. VideoPortUnmapDmaMemory
  51. VideoPortGetAgpServices
  52. VideoPortAllocateContiguousMemory
  53. VideoPortGetRomImage
  54. VideoPortGetAssociatedDeviceExtension
  55. VideoPortGetAssociatedDeviceID
  56. VideoPortAcquireDeviceLock
  57. VideoPortReleaseDeviceLock
  58. VideoPortGetVgaStatus
  59. VideoPortQueueDpc
  60. VideoPortEnumerateChildren
  61. VideoPortQueryPerformanceCounter
  62. VideoPortQueryServices
  63. VideoPortCreateSecondaryDisplay
  64. VideoPortGetDmaAdapter
  65. VideoPortPutDmaAdapter
  66. VideoPortAllocateCommonBuffer
  67. VideoPortReleaseCommonBuffer
  68. VideoPortLockBuffer
  69. VideoPortUnlockBuffer
  70. VideoPortStartDma
  71. VideoPortCompleteDma
  72. VideoPortCreateEvent
  73. VideoPortDeleteEvent
  74. VideoPortSetEvent
  75. VideoPortClearEvent
  76. VideoPortReadStateEvent
  77. VideoPortWaitForSingleObject
  78. VideoPortAllocatePool
  79. VideoPortFreePool
  80. VideoPortCreateSpinLock
  81. VideoPortDeleteSpinLock
  82. VideoPortAcquireSpinLock
  83. VideoPortAcquireSpinLockAtDpcLevel
  84. VideoPortReleaseSpinLock
  85. VideoPortReleaseSpinLockFromDpcLevel
  86. VideoPortQuerySystemTime = NTOSKRNL.KeQuerySystemTime
  87. VideoPortCheckForDeviceExistence
  88. VideoPortCheckForDeviceExistance = VIDEOPRT.VideoPortCheckForDeviceExistence
  89. VideoPortFlushRegistry
  90. VideoPortGetVersion
  91. VideoPortRegisterBugcheckCallback
  92. VpNotifyEaData
  93. #if DBG || !defined(_X86_)
  94. VideoPortReadPortUchar
  95. VideoPortReadPortUshort
  96. VideoPortReadPortUlong
  97. VideoPortReadPortBufferUchar
  98. VideoPortReadPortBufferUshort
  99. VideoPortReadPortBufferUlong
  100. VideoPortReadRegisterUchar
  101. VideoPortReadRegisterUshort
  102. VideoPortReadRegisterUlong
  103. VideoPortReadRegisterBufferUchar
  104. VideoPortReadRegisterBufferUshort
  105. VideoPortReadRegisterBufferUlong
  106. VideoPortWritePortUchar
  107. VideoPortWritePortUshort
  108. VideoPortWritePortUlong
  109. VideoPortWritePortBufferUchar
  110. VideoPortWritePortBufferUshort
  111. VideoPortWritePortBufferUlong
  112. VideoPortWriteRegisterUchar
  113. VideoPortWriteRegisterUshort
  114. VideoPortWriteRegisterUlong
  115. VideoPortWriteRegisterBufferUchar
  116. VideoPortWriteRegisterBufferUshort
  117. VideoPortWriteRegisterBufferUlong
  118. #else
  119. //
  120. // On x86 fre forward use forwarders
  121. //
  122. VideoPortReadRegisterUchar = NTOSKRNL.READ_REGISTER_UCHAR
  123. VideoPortReadRegisterUshort = NTOSKRNL.READ_REGISTER_USHORT
  124. VideoPortReadRegisterUlong = NTOSKRNL.READ_REGISTER_ULONG
  125. VideoPortReadRegisterBufferUchar = NTOSKRNL.READ_REGISTER_BUFFER_UCHAR
  126. VideoPortReadRegisterBufferUshort = NTOSKRNL.READ_REGISTER_BUFFER_USHORT
  127. VideoPortReadRegisterBufferUlong = NTOSKRNL.READ_REGISTER_BUFFER_ULONG
  128. VideoPortWriteRegisterUchar = NTOSKRNL.WRITE_REGISTER_UCHAR
  129. VideoPortWriteRegisterUshort = NTOSKRNL.WRITE_REGISTER_USHORT
  130. VideoPortWriteRegisterUlong = NTOSKRNL.WRITE_REGISTER_ULONG
  131. VideoPortWriteRegisterBufferUchar = NTOSKRNL.WRITE_REGISTER_BUFFER_UCHAR
  132. VideoPortWriteRegisterBufferUshort = NTOSKRNL.WRITE_REGISTER_BUFFER_USHORT
  133. VideoPortWriteRegisterBufferUlong = NTOSKRNL.WRITE_REGISTER_BUFFER_ULONG
  134. VideoPortReadPortUchar = HAL.READ_PORT_UCHAR
  135. VideoPortReadPortUshort = HAL.READ_PORT_USHORT
  136. VideoPortReadPortUlong = HAL.READ_PORT_ULONG
  137. VideoPortReadPortBufferUchar = HAL.READ_PORT_BUFFER_UCHAR
  138. VideoPortReadPortBufferUshort = HAL.READ_PORT_BUFFER_USHORT
  139. VideoPortReadPortBufferUlong = HAL.READ_PORT_BUFFER_ULONG
  140. VideoPortWritePortUchar = HAL.WRITE_PORT_UCHAR
  141. VideoPortWritePortUshort = HAL.WRITE_PORT_USHORT
  142. VideoPortWritePortUlong = HAL.WRITE_PORT_ULONG
  143. VideoPortWritePortBufferUchar = HAL.WRITE_PORT_BUFFER_UCHAR
  144. VideoPortWritePortBufferUshort = HAL.WRITE_PORT_BUFFER_USHORT
  145. VideoPortWritePortBufferUlong = HAL.WRITE_PORT_BUFFER_ULONG
  146. #endif
  147. #if defined(_X86_)
  148. VideoPortZeroDeviceMemory = NTOSKRNL.RtlZeroMemory
  149. #else
  150. VideoPortZeroDeviceMemory
  151. #endif
  152. #if defined(_ALPHA_)
  153. _OtsDivide32 = NTOSKRNL._OtsDivide32
  154. _OtsDivide32Unsigned = NTOSKRNL._OtsDivide32Unsigned
  155. _OtsDivide64 = NTOSKRNL._OtsDivide64
  156. _OtsDivide64Unsigned = NTOSKRNL._OtsDivide64Unsigned
  157. _OtsMove = NTOSKRNL._OtsMove
  158. _OtsRemainder32 = NTOSKRNL._OtsRemainder32
  159. _OtsRemainder32Unsigned = NTOSKRNL._OtsRemainder32Unsigned
  160. _OtsRemainder64 = NTOSKRNL._OtsRemainder64
  161. _OtsRemainder64Unsigned = NTOSKRNL._OtsRemainder64Unsigned
  162. #endif
  163. #if defined(_IA64_)
  164. memcpy = NTOSKRNL.memcpy
  165. memset = NTOSKRNL.memset
  166. abs = NTOSKRNL.abs
  167. #endif