Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
fe5fc332
O
OpenCorePKG_MOD
项目概览
btwise
/
OpenCorePKG_MOD
通知
26
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
OpenCorePKG_MOD
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
fe5fc332
编写于
1月 06, 2024
作者:
A
Alex James
提交者:
GitHub
1月 06, 2024
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OcCpuLib: Fix cpu-type detection on Raptor Lake (#518)
上级
5ce824b2
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
5 deletion
+10
-5
Include/Apple/IndustryStandard/AppleSmBios.h
Include/Apple/IndustryStandard/AppleSmBios.h
+1
-1
Include/Intel/IndustryStandard/ProcessorInfo.h
Include/Intel/IndustryStandard/ProcessorInfo.h
+6
-4
Library/OcCpuLib/AppleCpuSupport.c
Library/OcCpuLib/AppleCpuSupport.c
+3
-0
未找到文件。
Include/Apple/IndustryStandard/AppleSmBios.h
浏览文件 @
fe5fc332
...
...
@@ -216,7 +216,7 @@ enum {
AppleProcessorTypeCorei9Type1
=
0x1001
,
// may not be used
AppleProcessorTypeCorei9Type5
=
0x1005
,
// SKL-X i9, most likely to be invalid!
AppleProcessorTypeCorei9Type9
=
0x1009
// i
deal value for Coffee Lake i9, need confirmation
AppleProcessorTypeCorei9Type9
=
0x1009
// i
9 9980HK (MacBookPro16,1)
};
// APPLE_PROCESSOR_TYPE_CLASS
...
...
Include/Intel/IndustryStandard/ProcessorInfo.h
浏览文件 @
fe5fc332
...
...
@@ -241,13 +241,15 @@ typedef enum {
#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_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_MODEL_ROCKETLAKE_S 0xA7
/* desktop RocketLake */
#define CPU_MODEL_ROCKETLAKE_S 0xA7
///< desktop RocketLake
#define CPU_MODEL_TIGERLAKE_U 0x8C
#define CPU_MODEL_ALDERLAKE_S 0x97
#define CPU_MODEL_RAPTORLAKE_S 0xB7 ///< Raptor Lake B0 stepping
#define CPU_MODEL_RAPTORLAKE_HX 0xBF ///< Raptor Lake C0 stepping
#define AMD_CPU_FAMILY 0xF
#define AMD_CPU_EXT_FAMILY_0FH 0x0
...
...
Library/OcCpuLib/AppleCpuSupport.c
浏览文件 @
fe5fc332
...
...
@@ -611,6 +611,8 @@ InternalDetectAppleProcessorType (
case
CPU_MODEL_ICELAKE_SP
:
// 0x9F FIXME - unknown, for now
case
CPU_MODEL_TIGERLAKE_U
:
// 0x8C FIXME - unknown, for now
case
CPU_MODEL_ALDERLAKE_S
:
// 0x97 FIXME - unknown, for now
case
CPU_MODEL_RAPTORLAKE_S
:
// 0xB7 FIXME - unknown, for now
case
CPU_MODEL_RAPTORLAKE_HX
:
// 0xBF FIXME - unknown, for now
if
(
AppleMajorType
==
AppleProcessorMajorM3
)
{
// MB101 (m3 7Y32)
return
AppleProcessorTypeCoreM3Type7
;
// 0x0C07
...
...
@@ -648,6 +650,7 @@ InternalDetectAppleProcessorType (
if
(
AppleMajorType
==
AppleProcessorMajorI9
)
{
// FIXME: find a dump from MBP151 with i9-8950HK,
// for now using an ideal value (0x1009), comparing to 0x0709 (used on MBP151, i7-8850H and MM81, i7-8700B)
// MBP161 (i9-9980HK)
return
AppleProcessorTypeCorei9Type9
;
// 0x1009
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录