diff options
author | Jiewen Yao <jiewen.yao@intel.com> | 2017-10-26 09:43:53 +0800 |
---|---|---|
committer | Jiewen Yao <jiewen.yao@intel.com> | 2017-10-30 09:25:52 +0800 |
commit | 01df510319f3de8eb358e400dae786cddc160180 (patch) | |
tree | 06c5799271ff131600321e058f90bf336543d4c1 | |
parent | 0e7794d36d424338235f9f2e2cda8143521273b0 (diff) | |
download | edk2-01df510319f3de8eb358e400dae786cddc160180.zip edk2-01df510319f3de8eb358e400dae786cddc160180.tar.gz edk2-01df510319f3de8eb358e400dae786cddc160180.tar.bz2 |
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>
-rw-r--r-- | IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmaProtection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmaProtection.c b/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmaProtection.c index f5de01f..4a4d82e 100644 --- a/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmaProtection.c +++ b/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmaProtection.c @@ -483,7 +483,7 @@ InitializeDmaProtection ( Status = gBS->CreateEventEx (
EVT_NOTIFY_SIGNAL,
- TPL_NOTIFY,
+ TPL_CALLBACK,
OnExitBootServices,
NULL,
&gEfiEventExitBootServicesGuid,
@@ -492,7 +492,7 @@ InitializeDmaProtection ( ASSERT_EFI_ERROR (Status);
Status = EfiCreateEventLegacyBootEx (
- TPL_NOTIFY,
+ TPL_CALLBACK,
OnLegacyBoot,
NULL,
&LegacyBootEvent
|