/* Check if 1-GByte pages is supported by processor or not. */
BOOLEAN Is1GPageSupport(VOID)
/* Check if 1-GByte pages is supported by processor or not. */
BOOLEAN Is1GPageSupport(VOID)
{
  UINT32  RegEax;
  UINT32  RegEdx;
  AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL);
  if (RegEax >= 0x80000001) {
    AsmCpuid (0x80000001, NULL, NULL, NULL, &RegEdx);
    if ((RegEdx & BIT26) != 0) {
      return TRUE;
    }
  }
  return FALSE;
}