);\r
\r
\r
-#define DEVICE_IO_PRIVATE_DATA_SIGNATURE EFI_SIGNATURE_32 ('D', 'e', 'I', 'O')\r
+#define DEVICE_IO_PRIVATE_DATA_SIGNATURE SIGNATURE_32 ('D', 'e', 'I', 'O')\r
\r
typedef struct {\r
UINTN Signature;\r
continue;\r
}\r
\r
+ Private->PciRootBridgeIo = PciRootBridgeIo;\r
+\r
Status = gBS->HandleProtocol (\r
Handle,\r
&gEfiDevicePathProtocolGuid,\r
return EFI_INVALID_PARAMETER;\r
}\r
if (Width >= MMIO_COPY_UINT8) {\r
- Width = Width - MMIO_COPY_UINT8;\r
+ Width = (EFI_IO_WIDTH) (Width - MMIO_COPY_UINT8);\r
Status = Private->PciRootBridgeIo->CopyMem (\r
Private->PciRootBridgeIo,\r
(EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) Width,\r
return EFI_INVALID_PARAMETER;\r
}\r
if (Width >= MMIO_COPY_UINT8) {\r
- Width = Width - MMIO_COPY_UINT8;\r
+ Width = (EFI_IO_WIDTH) (Width - MMIO_COPY_UINT8);\r
Status = Private->PciRootBridgeIo->CopyMem (\r
Private->PciRootBridgeIo,\r
(EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) Width,\r