mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
MdeModulePkg/PciBusDxe: Add feedback status for PciIoMap
PciIoMap () need to feedback the status of mIoMmuProtocol->SetAttribute () return value. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4652 Reviewed-by: Ray Ni <ray.ni@intel.com> Reviewed-by: Huang Jenny <jenny.huang@intel.com> Cc: Chiang Chris <chris.chiang@intel.com> Signed-off-by: Sheng Wei <w.sheng@intel.com>
This commit is contained in:
parent
ff52277e37
commit
049695a0b1
@ -1024,12 +1024,12 @@ PciIoMap (
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
mIoMmuProtocol->SetAttribute (
|
||||
mIoMmuProtocol,
|
||||
PciIoDevice->Handle,
|
||||
*Mapping,
|
||||
IoMmuAttribute
|
||||
);
|
||||
Status = mIoMmuProtocol->SetAttribute (
|
||||
mIoMmuProtocol,
|
||||
PciIoDevice->Handle,
|
||||
*Mapping,
|
||||
IoMmuAttribute
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user