mirror of https://github.com/acidanthera/audk.git
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:
parent
e10a18f63c
commit
6be6c2e04d
|
@ -50,6 +50,8 @@ DmaMap (
|
||||||
OUT VOID **Mapping
|
OUT VOID **Mapping
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
*DeviceAddress = (PHYSICAL_ADDRESS)(UINTN)HostAddress;
|
||||||
|
*Mapping = NULL;
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue