提交 6dcabf08 编写于 作者: G Goldfish64

OcCpuLib: Fix incorrect identification of Xeon E5 and W CPUs

上级 cb527e79
......@@ -57,6 +57,7 @@ OpenCore Changelog
- Added dynamic keyboard protocol installation on CrScreenshotDxe
- Support starting UEFI tools with argument support (e.g. `ControlMsrE2`) without arguments from picker
- Fixed OpenCanopy font height calculation, may reject previously working fonts and mitigate memory corruption
- Fixed incorrect identification of Xeon E5XXX/E5-XXXX and Xeon WXXXX/W-XXXX CPUs
#### v0.6.7
- Fixed ocvalidate return code to be non-zero when issues are found
......
......@@ -103,10 +103,10 @@ InternalDetectAppleMajorType (
}
}
if (AsciiStrnCmp (BrandInfix, "E5", L_STR_LEN ("E5")) == 0) {
if (AsciiStrnCmp (BrandInfix, "E5-", L_STR_LEN ("E5-")) == 0) {
return AppleProcessorMajorXeonE5;
}
if (AsciiStrnCmp (BrandInfix, "W", L_STR_LEN ("W")) == 0) {
if (AsciiStrnCmp (BrandInfix, "W-", L_STR_LEN ("W-")) == 0) {
return AppleProcessorMajorXeonW;
}
return AppleProcessorMajorXeonNehalem;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册