/* This function refreshes the GCD Memory Space attributes according to MTRRs and page tables.  */
VOID RefreshGcdMemoryAttributes(VOID)
/* This function refreshes the GCD Memory Space attributes according to MTRRs and page tables.  */
VOID RefreshGcdMemoryAttributes(VOID)
{
  mIsFlushingGCD = TRUE;
  if (IsMtrrSupported ()) {
    RefreshMemoryAttributesFromMtrr ();
  }
  if (IsPagingAndPageAddressExtensionsEnabled ()) {
    RefreshGcdMemoryAttributesFromPaging ();
  }
  mIsFlushingGCD = FALSE;
}