mirror of https://github.com/acidanthera/audk.git
IntelSiliconPkg/VTdDxe: Change EBS Event TPL to CALLBACK.
Change ExitBootServices TPL to CALLBACK, so that a device can disable BME before IOMMU grants access right. Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
parent
0e7794d36d
commit
01df510319
|
@ -483,7 +483,7 @@ InitializeDmaProtection (
|
||||||
|
|
||||||
Status = gBS->CreateEventEx (
|
Status = gBS->CreateEventEx (
|
||||||
EVT_NOTIFY_SIGNAL,
|
EVT_NOTIFY_SIGNAL,
|
||||||
TPL_NOTIFY,
|
TPL_CALLBACK,
|
||||||
OnExitBootServices,
|
OnExitBootServices,
|
||||||
NULL,
|
NULL,
|
||||||
&gEfiEventExitBootServicesGuid,
|
&gEfiEventExitBootServicesGuid,
|
||||||
|
@ -492,7 +492,7 @@ InitializeDmaProtection (
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
Status = EfiCreateEventLegacyBootEx (
|
Status = EfiCreateEventLegacyBootEx (
|
||||||
TPL_NOTIFY,
|
TPL_CALLBACK,
|
||||||
OnLegacyBoot,
|
OnLegacyBoot,
|
||||||
NULL,
|
NULL,
|
||||||
&LegacyBootEvent
|
&LegacyBootEvent
|
||||||
|
|
Loading…
Reference in New Issue