]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BeagleBoardPkg/PciEmulation/PciEmulation.c
Missed a fix in the Cpu Driver. Added some more debug for Execption handling and...
[mirror_edk2.git] / BeagleBoardPkg / PciEmulation / PciEmulation.c
index dee054197163650a3f3cebae8e545503666ef982..f558597932f7d81837e48606232054a2f27bde8d 100644 (file)
@@ -318,12 +318,7 @@ PciIoUnmap (
     // Make sure we read buffer from uncached memory and not the cache
     //
     gCpu->FlushDataCache (gCpu, Map->HostAddress, Map->NumberOfBytes, EfiCpuFlushTypeInvalidate);
-  } else if (Map->Operation == EfiPciOperationBusMasterCommonBuffer) {
-    //
-    // CPU was using uncached address, so anything in the cached range is bogus
-    //
-    gCpu->FlushDataCache (gCpu, Map->DeviceAddress, Map->NumberOfBytes, EfiCpuFlushTypeInvalidate);   
-  }
+  } 
   
   FreePool (Map);