]> git.proxmox.com Git - mirror_edk2.git/commitdiff
NullDmaLib:DmaMap() function needs to return valid DeviceAddress.
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 28 May 2010 22:50:59 +0000 (22:50 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 28 May 2010 22:50:59 +0000 (22:50 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10554 6f19259b-4bc3-4df7-8a09-765794883524

EmbeddedPkg/Library/NullDmaLib/NullDmaLib.c

index 0ea89190c98ef646d26f39d99e56d5ddc83c1d22..74386dfa285d24d2add6bbd25121673bdcb01c8d 100755 (executable)
@@ -50,6 +50,8 @@ DmaMap (
   OUT    VOID                           **Mapping\r
   )\r
 {\r
+  *DeviceAddress = (PHYSICAL_ADDRESS)(UINTN)HostAddress;\r
+  *Mapping = NULL;\r
   return EFI_SUCCESS;\r
 }\r
 \r