+ UINT32 RegEax, RegEbx, RegEcx, RegEdx, Max;\r
+ UINT8 PhysBits;\r
+ CHAR8 Signature[13] = { 0 };\r
+ BOOLEAN Valid = FALSE;\r
+ BOOLEAN Page1GSupport = FALSE;\r
+\r
+ AsmCpuid (0x80000000, &RegEax, &RegEbx, &RegEcx, &RegEdx);\r
+ *(UINT32 *)(Signature + 0) = RegEbx;\r
+ *(UINT32 *)(Signature + 4) = RegEdx;\r
+ *(UINT32 *)(Signature + 8) = RegEcx;\r
+ Max = RegEax;\r
+\r
+ if (Max >= 0x80000001) {\r
+ AsmCpuid (0x80000001, NULL, NULL, NULL, &RegEdx);\r
+ if ((RegEdx & BIT26) != 0) {\r
+ Page1GSupport = TRUE;\r
+ }\r
+ }\r