diff options
author | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-17 02:54:31 +0000 |
---|---|---|
committer | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-17 02:54:31 +0000 |
commit | d4f167a92a5455c2e90a0a69e281ecb5799678db (patch) | |
tree | acf8bdd329681c0095e4255a42473b56d5cad84e /BeagleBoardPkg | |
parent | f4d7c87220a4aad3a5d76d54256e42db411281c5 (diff) | |
download | edk2-platforms-d4f167a92a5455c2e90a0a69e281ecb5799678db.tar.xz |
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
Diffstat (limited to 'BeagleBoardPkg')
-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); |