mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[USBPORT] Fix 64 bit issues
This commit is contained in:
parent
ff7cc6f37e
commit
c1944118ca
7 changed files with 10 additions and 10 deletions
|
@ -479,7 +479,7 @@ USBPORT_InitInterfaceInfo(IN PUSBD_INTERFACE_INFORMATION InterfaceInfo,
|
|||
{
|
||||
PUSB_INTERFACE_DESCRIPTOR Descriptor;
|
||||
PUSBD_PIPE_INFORMATION Pipe;
|
||||
USHORT Length;
|
||||
SIZE_T Length;
|
||||
ULONG PipeFlags;
|
||||
ULONG NumberOfPipes;
|
||||
USBD_STATUS USBDStatus = USBD_STATUS_SUCCESS;
|
||||
|
@ -971,8 +971,8 @@ USBPORT_CreateDevice(IN OUT PUSB_DEVICE_HANDLE *pUsbdDeviceHandle,
|
|||
BOOL IsOpenedPipe;
|
||||
PVOID DeviceDescriptor;
|
||||
USB_DEFAULT_PIPE_SETUP_PACKET SetupPacket;
|
||||
SIZE_T TransferedLen;
|
||||
SIZE_T DescriptorMinSize;
|
||||
ULONG TransferedLen;
|
||||
ULONG DescriptorMinSize;
|
||||
UCHAR MaxPacketSize;
|
||||
PUSBPORT_DEVICE_EXTENSION FdoExtension;
|
||||
PUSBPORT_REGISTRATION_PACKET Packet;
|
||||
|
|
|
@ -768,7 +768,7 @@ USBPORT_OpenPipe(IN PDEVICE_OBJECT FdoDevice,
|
|||
PUSBPORT_DEVICE_EXTENSION FdoExtension;
|
||||
PUSBPORT_RHDEVICE_EXTENSION PdoExtension;
|
||||
PUSBPORT_REGISTRATION_PACKET Packet;
|
||||
ULONG EndpointSize;
|
||||
SIZE_T EndpointSize;
|
||||
PUSBPORT_ENDPOINT Endpoint;
|
||||
PUSBPORT_ENDPOINT_PROPERTIES EndpointProperties;
|
||||
PUSB_ENDPOINT_DESCRIPTOR EndpointDescriptor;
|
||||
|
|
|
@ -210,7 +210,7 @@ NTSTATUS
|
|||
NTAPI
|
||||
USBPORT_GetUnicodeName(IN PDEVICE_OBJECT FdoDevice,
|
||||
IN PIRP Irp,
|
||||
IN PULONG Information)
|
||||
IN PULONG_PTR Information)
|
||||
{
|
||||
PUSB_HCD_DRIVERKEY_NAME DriverKey;
|
||||
PIO_STACK_LOCATION IoStack;
|
||||
|
|
|
@ -961,7 +961,7 @@ USBPORT_ParseResources(IN PDEVICE_OBJECT FdoDevice,
|
|||
{
|
||||
if (PortDescriptor->Flags & CM_RESOURCE_PORT_IO)
|
||||
{
|
||||
UsbPortResources->ResourceBase = (PVOID)PortDescriptor->u.Port.Start.LowPart;
|
||||
UsbPortResources->ResourceBase = (PVOID)(ULONG_PTR)PortDescriptor->u.Port.Start.QuadPart;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1413,7 +1413,7 @@ USBPORT_GetDeviceHwIds(IN PDEVICE_OBJECT FdoDevice,
|
|||
PUSBPORT_REGISTRATION_PACKET Packet;
|
||||
PVOID Id;
|
||||
WCHAR Buffer[300] = {0};
|
||||
ULONG Length = 0;
|
||||
SIZE_T Length = 0;
|
||||
size_t Remaining = sizeof(Buffer);
|
||||
PWCHAR EndBuffer;
|
||||
|
||||
|
|
|
@ -485,7 +485,7 @@ NTAPI
|
|||
USBPORT_RootHubEndpoint0(IN PUSBPORT_TRANSFER Transfer)
|
||||
{
|
||||
PDEVICE_OBJECT FdoDevice;
|
||||
SIZE_T TransferLength;
|
||||
ULONG TransferLength;
|
||||
PVOID Buffer;
|
||||
PURB Urb;
|
||||
PUSB_DEFAULT_PIPE_SETUP_PACKET SetupPacket;
|
||||
|
|
|
@ -2299,7 +2299,7 @@ USBPORT_MapTransfer(IN PDEVICE_OBJECT FdoDevice,
|
|||
BOOLEAN WriteToDevice;
|
||||
PHYSICAL_ADDRESS PhAddr = {{0, 0}};
|
||||
PHYSICAL_ADDRESS PhAddress = {{0, 0}};
|
||||
SIZE_T TransferLength;
|
||||
ULONG TransferLength;
|
||||
SIZE_T SgCurrentLength;
|
||||
SIZE_T ElementLength;
|
||||
PUSBPORT_DEVICE_HANDLE DeviceHandle;
|
||||
|
|
|
@ -434,7 +434,7 @@ typedef VOID
|
|||
PVOID,
|
||||
PVOID,
|
||||
USBD_STATUS,
|
||||
SIZE_T);
|
||||
ULONG);
|
||||
|
||||
typedef ULONG
|
||||
(NTAPI *PUSBPORT_COMPLETE_ISO_TRANSFER)(
|
||||
|
|
Loading…
Reference in a new issue