IntelSiliconPkg/IntelVtd: Consume VTd policy PCD
Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@@ -437,8 +437,11 @@ OnExitBootServices (
|
||||
{
|
||||
DEBUG ((DEBUG_INFO, "Vtd OnExitBootServices\n"));
|
||||
DumpVtdRegsAll ();
|
||||
DisableDmar ();
|
||||
DumpVtdRegsAll ();
|
||||
|
||||
if ((PcdGet8(PcdVTdPolicyPropertyMask) & BIT1) == 0) {
|
||||
DisableDmar ();
|
||||
DumpVtdRegsAll ();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user