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
This commit is contained in:
andrewfish 2010-05-28 22:50:59 +00:00
parent e10a18f63c
commit 6be6c2e04d
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ DmaMap (
OUT VOID **Mapping
)
{
*DeviceAddress = (PHYSICAL_ADDRESS)(UINTN)HostAddress;
*Mapping = NULL;
return EFI_SUCCESS;
}