diff options
Diffstat (limited to 'BeagleBoardPkg/PciEmulation')
-rw-r--r-- | BeagleBoardPkg/PciEmulation/PciEmulation.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/BeagleBoardPkg/PciEmulation/PciEmulation.c b/BeagleBoardPkg/PciEmulation/PciEmulation.c index dee0541971..f558597932 100644 --- a/BeagleBoardPkg/PciEmulation/PciEmulation.c +++ b/BeagleBoardPkg/PciEmulation/PciEmulation.c @@ -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); |