diff options
Diffstat (limited to 'EmbeddedPkg')
-rwxr-xr-x | EmbeddedPkg/Library/NullDmaLib/NullDmaLib.c | 2 |
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;
}
|