// Record the entry to driver global variable.\r
// As such once VTd is activated, the setting can be adopted.\r
//\r
+ if ((PcdGet8 (PcdVTdPolicyPropertyMask) & BIT2) != 0) {\r
+ //\r
+ // Force no IOMMU access attribute request recording before DMAR table is installed.\r
+ //\r
+ ASSERT_EFI_ERROR (EFI_NOT_READY);\r
+ return EFI_NOT_READY;\r
+ }\r
Status = RequestAccessAttribute (Segment, SourceId, DeviceAddress, Length, IoMmuAccess);\r
} else {\r
PERF_CODE (\r