mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 14:44:28 +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;
|
return EFI_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
|
||||||
mIoMmuProtocol->SetAttribute (
|
Status = mIoMmuProtocol->SetAttribute (
|
||||||
mIoMmuProtocol,
|
mIoMmuProtocol,
|
||||||
PciIoDevice->Handle,
|
PciIoDevice->Handle,
|
||||||
*Mapping,
|
*Mapping,
|
||||||
IoMmuAttribute
|
IoMmuAttribute
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user