summaryrefslogtreecommitdiff
path: root/EmbeddedPkg
diff options
context:
space:
mode:
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;
}