Add vendor string Shanghai as successor to Centaur
This commit is contained in:
parent
da623ae838
commit
8f22ac552b
|
@ -404,6 +404,7 @@ static int get_vendor(void){
|
||||||
if (!strcmp(vendor.vchar, "GenuineIntel")) return VENDOR_INTEL;
|
if (!strcmp(vendor.vchar, "GenuineIntel")) return VENDOR_INTEL;
|
||||||
if (!strcmp(vendor.vchar, "AuthenticAMD")) return VENDOR_AMD;
|
if (!strcmp(vendor.vchar, "AuthenticAMD")) return VENDOR_AMD;
|
||||||
if (!strcmp(vendor.vchar, "CentaurHauls")) return VENDOR_CENTAUR;
|
if (!strcmp(vendor.vchar, "CentaurHauls")) return VENDOR_CENTAUR;
|
||||||
|
if (!strcmp(vendor.vchar, " Shanghai ")) return VENDOR_CENTAUR;
|
||||||
if (!strcmp(vendor.vchar, "HygonGenuine")) return VENDOR_HYGON;
|
if (!strcmp(vendor.vchar, "HygonGenuine")) return VENDOR_HYGON;
|
||||||
|
|
||||||
if ((eax == 0) || ((eax & 0x500) != 0)) return VENDOR_INTEL;
|
if ((eax == 0) || ((eax & 0x500) != 0)) return VENDOR_INTEL;
|
||||||
|
|
Loading…
Reference in New Issue