Browse Source

Add vendor string Shanghai as successor to Centaur

tags/v0.3.16^2
Martin Kroeker GitHub 4 years ago
parent
commit
8f22ac552b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      driver/others/dynamic.c

+ 1
- 0
driver/others/dynamic.c View File

@@ -404,6 +404,7 @@ static int get_vendor(void){
if (!strcmp(vendor.vchar, "GenuineIntel")) return VENDOR_INTEL;
if (!strcmp(vendor.vchar, "AuthenticAMD")) return VENDOR_AMD;
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 ((eax == 0) || ((eax & 0x500) != 0)) return VENDOR_INTEL;


Loading…
Cancel
Save