diff --git a/reactos/drivers/storage/scsiport/scsiport.c b/reactos/drivers/storage/scsiport/scsiport.c index 3e3fb5488e8..c1fe5f63384 100644 --- a/reactos/drivers/storage/scsiport/scsiport.c +++ b/reactos/drivers/storage/scsiport/scsiport.c @@ -45,6 +45,8 @@ ULONG InternalDebugLevel = 0x00; +#undef ScsiPortMoveMemory + /* TYPES *********************************************************************/ /* GLOBALS *******************************************************************/ @@ -216,7 +218,9 @@ SpiHandleAttachRelease(PSCSI_PORT_DEVICE_EXTENSION DeviceExtension, static NTSTATUS SpiAllocateCommonBuffer(PSCSI_PORT_DEVICE_EXTENSION DeviceExtension, ULONG NonCachedSize); - +NTHALAPI ULONG NTAPI HalGetBusData(BUS_DATA_TYPE, ULONG, ULONG, PVOID, ULONG); +NTHALAPI ULONG NTAPI HalGetInterruptVector(INTERFACE_TYPE, ULONG, ULONG, ULONG, PKIRQL, PKAFFINITY); +NTHALAPI NTSTATUS NTAPI HalAssignSlotResources(PUNICODE_STRING, PUNICODE_STRING, PDRIVER_OBJECT, PDEVICE_OBJECT, INTERFACE_TYPE, ULONG, ULONG, PCM_RESOURCE_LIST *); /* FUNCTIONS *****************************************************************/ diff --git a/reactos/drivers/storage/scsiport/stubs.c b/reactos/drivers/storage/scsiport/stubs.c index 478c35b4d08..b4bc2f5ed25 100644 --- a/reactos/drivers/storage/scsiport/stubs.c +++ b/reactos/drivers/storage/scsiport/stubs.c @@ -14,6 +14,31 @@ #define NDEBUG #include +#undef ScsiPortReadPortBufferUchar +#undef ScsiPortReadPortBufferUshort +#undef ScsiPortReadPortBufferUlong +#undef ScsiPortReadPortUchar +#undef ScsiPortReadPortUshort +#undef ScsiPortReadPortUlong +#undef ScsiPortReadRegisterBufferUchar +#undef ScsiPortReadRegisterBufferUshort +#undef ScsiPortReadRegisterBufferUlong +#undef ScsiPortReadRegisterUchar +#undef ScsiPortReadRegisterUshort +#undef ScsiPortReadRegisterUlong +#undef ScsiPortWritePortBufferUchar +#undef ScsiPortWritePortBufferUshort +#undef ScsiPortWritePortBufferUlong +#undef ScsiPortWritePortUchar +#undef ScsiPortWritePortUshort +#undef ScsiPortWritePortUlong +#undef ScsiPortWriteRegisterBufferUchar +#undef ScsiPortWriteRegisterBufferUshort +#undef ScsiPortWriteRegisterBufferUlong +#undef ScsiPortWriteRegisterUchar +#undef ScsiPortWriteRegisterUshort +#undef ScsiPortWriteRegisterUlong + SCSI_PHYSICAL_ADDRESS NTAPI ScsiPortConvertUlongToPhysicalAddress(