summaryrefslogtreecommitdiff
path: root/EmbeddedPkg
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-05-28 22:50:59 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-05-28 22:50:59 +0000
commit6be6c2e04d32c9466ac60cf0d837ea9a28227dd4 (patch)
tree78827ebb862f6a6a2b81fedebee610a0b60a3ce3 /EmbeddedPkg
parente10a18f63c7dfd3ce8ac66fe0e416280ad28c031 (diff)
downloadedk2-platforms-6be6c2e04d32c9466ac60cf0d837ea9a28227dd4.tar.xz
NullDmaLib:DmaMap() function needs to return valid DeviceAddress.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10554 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg')
-rwxr-xr-xEmbeddedPkg/Library/NullDmaLib/NullDmaLib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/EmbeddedPkg/Library/NullDmaLib/NullDmaLib.c b/EmbeddedPkg/Library/NullDmaLib/NullDmaLib.c
index 0ea89190c9..74386dfa28 100755
--- a/EmbeddedPkg/Library/NullDmaLib/NullDmaLib.c
+++ b/EmbeddedPkg/Library/NullDmaLib/NullDmaLib.c
@@ -50,6 +50,8 @@ DmaMap (
OUT VOID **Mapping
)
{
+ *DeviceAddress = (PHYSICAL_ADDRESS)(UINTN)HostAddress;
+ *Mapping = NULL;
return EFI_SUCCESS;
}