\r
Status = EFI_SUCCESS;\r
\r
- if (FeaturePcdGet (PcdNtEmulatorEnable)) {\r
+ if (!FeaturePcdGet (PcdNtEmulatorEnable)) {\r
if (CompareDescriptor (&IdtEntryTable[ExceptionType].NewDesc, &NullDesc)) {\r
//\r
// we've already installed to this vector\r