Missed a fix in the Cpu Driver. Added some more debug for Execption handling and clean up some uncached stuff.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9789 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
AJFISH
2010-01-17 02:54:31 +00:00
parent f4d7c87220
commit d4f167a92a
5 changed files with 28 additions and 23 deletions

View 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);