mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 19:02:32 +00:00
[SCSIPORT]
- undefine macros that are defined by DDK headers, before implementing the functions - add missing definitions for amd64 svn path=/trunk/; revision=47838
This commit is contained in:
parent
22576dee05
commit
5e4ab4ede7
|
@ -45,6 +45,8 @@
|
||||||
|
|
||||||
ULONG InternalDebugLevel = 0x00;
|
ULONG InternalDebugLevel = 0x00;
|
||||||
|
|
||||||
|
#undef ScsiPortMoveMemory
|
||||||
|
|
||||||
/* TYPES *********************************************************************/
|
/* TYPES *********************************************************************/
|
||||||
|
|
||||||
/* GLOBALS *******************************************************************/
|
/* GLOBALS *******************************************************************/
|
||||||
|
@ -216,7 +218,9 @@ SpiHandleAttachRelease(PSCSI_PORT_DEVICE_EXTENSION DeviceExtension,
|
||||||
static NTSTATUS
|
static NTSTATUS
|
||||||
SpiAllocateCommonBuffer(PSCSI_PORT_DEVICE_EXTENSION DeviceExtension, ULONG NonCachedSize);
|
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 *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,31 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
#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
|
SCSI_PHYSICAL_ADDRESS
|
||||||
NTAPI
|
NTAPI
|
||||||
ScsiPortConvertUlongToPhysicalAddress(
|
ScsiPortConvertUlongToPhysicalAddress(
|
||||||
|
|
Loading…
Reference in a new issue