Model += ((EAX >> 16) & 0xf) << 4; // Bits 16 - 19
}
}
-#endif
-
std::string sys::getHostCPUName() {
-#if defined(__x86_64__) || defined(__i386__)
unsigned EAX = 0, EBX = 0, ECX = 0, EDX = 0;
if (GetX86CpuIDAndInfo(0x1, &EAX, &EBX, &ECX, &EDX))
return "generic";
return "generic";
}
}
+ return "generic";
+}
+#else
+std::string sys::getHostCPUName() {
+ return "generic";
+}
#endif
- return "generic";
+bool sys::getHostCPUFeatures(StringMap<bool> &Features){
+ return false;
}