diff options
-rw-r--r-- | MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c index 910a88c443..cba8ca0d09 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c @@ -436,6 +436,11 @@ PciIoMemRead ( return EFI_UNSUPPORTED;
}
+ if (Width == EfiPciIoWidthUint64) {
+ Width = EfiPciIoWidthUint32;
+ Count *= 2;
+ }
+
//
// If request is not aligned, then convert request to EfiPciIoWithXXXUint8
//
|