/* Processor specific hook point each time a CPU enters System Management Mode. */
VOID EFIAPI SmmCpuFeaturesRendezvousEntry(IN UINTN CpuIndex)
/* Processor specific hook point each time a CPU enters System Management Mode. */
VOID EFIAPI SmmCpuFeaturesRendezvousEntry(IN UINTN CpuIndex)
{
  if (FeaturePcdGet (PcdSmrrEnable) && !mSmrrEnabled[CpuIndex]) {
    AsmWriteMsr64 (mSmrrPhysMaskMsr, AsmReadMsr64 (mSmrrPhysMaskMsr) | EFI_MSR_SMRR_PHYS_MASK_VALID);
    mSmrrEnabled[CpuIndex] = TRUE;
  }
}