// 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);
case EfiPciIoAttributeOperationDisable:
// Since we are not a real PCI device no enable/set or disable operations exist.
return EFI_SUCCESS;
- break;
default:
ASSERT (FALSE);