提交 efe95c86 编写于 作者: V vit9696

Added improved CPU type detection for newer CPU types

上级 0a7f094e
......@@ -32,8 +32,9 @@ OpenCore Changelog
- Renamed `Block` to `Delete` in `ACPI`,`DeviceProperties`, and `NVRAM`
- Added MacBookPro16,2 and MacBookPro16,3 model codes
- Added PCI device scanning policy support (e.g. VIRTIO)
- AudioDxe: Playback performance improvements
- DataBase: Update builtin firmware versions
- Improved playback performance in AudioDxe
- Updated builtin firmware versions for SMBIOS and the rest
- Added improved CPU type detection for newer CPU types
#### v0.5.8
- Fixed invalid CPU object reference in SSDT-PLUG
......
......@@ -262,6 +262,7 @@ enum {
MachCpuFamilyIntelKabyLake = 0x0F817246,
MachCpuFamilyIntelCoffeeLake = MachCpuFamilyIntelKabyLake,
MachCpuFamilyIntelIceLake = 0x38435547,
MachCpuFamilyIntelCometLake = 0x1CF8A03E,
//
// The following synonyms are deprecated:
//
......
......@@ -188,6 +188,12 @@ enum {
#define CPU_MODEL_COFFEELAKE_ULT 0x9E
#define CPU_MODEL_COFFEELAKE_ULX 0x9E
#define CPU_MODEL_COFFEELAKE_DT 0x9E
#define CPU_MODEL_ICELAKE_Y 0x7D
#define CPU_MODEL_ICELAKE_U 0x7E
#define CPU_MODEL_ICELAKE_SP 0x9F /* Some variation of Ice Lake */
#define CPU_MODEL_COMETLAKE_S 0xA5 /* desktop CometLake */
#define CPU_MODEL_COMETLAKE_Y 0xA5 /* aka 10th generation Amber Lake Y */
#define CPU_MODEL_COMETLAKE_U 0xA6
#define CPU_SOCKET_UNKNOWN 0x02
#define CPU_SOCKET_PGA478 0x0F
......
......@@ -509,6 +509,11 @@ InternalDetectAppleProcessorType (
//
case CPU_MODEL_KABYLAKE: // 0x8E
case CPU_MODEL_COFFEELAKE: // 0x9E
case CPU_MODEL_COMETLAKE_S: // 0xA5 FIXME - unknown, for now
case CPU_MODEL_COMETLAKE_U: // 0xA6 FIXME - unknown, for now
case CPU_MODEL_ICELAKE_Y: // 0x7D FIXME - unknown, for now
case CPU_MODEL_ICELAKE_U: // 0x7E FIXME - unknown, for now
case CPU_MODEL_ICELAKE_SP: // 0x9F FIXME - unknown, for now
if (AppleMajorType == AppleProcessorMajorM3) {
// MB101 (m3 7Y32)
return AppleProcessorTypeCoreM3Type7; // 0x0C07
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册