Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
3651bd84
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,发现更多精彩内容 >>
提交
3651bd84
编写于
5月 19, 2021
作者:
G
Goldfish64
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OcConfigurationLib: Fix quirk order
上级
85d453ee
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
15 addition
and
15 deletion
+15
-15
Docs/Configuration.tex
Docs/Configuration.tex
+13
-13
Include/Acidanthera/Library/OcConfigurationLib.h
Include/Acidanthera/Library/OcConfigurationLib.h
+1
-1
Library/OcConfigurationLib/OcConfigurationLib.c
Library/OcConfigurationLib/OcConfigurationLib.c
+1
-1
未找到文件。
Docs/Configuration.tex
浏览文件 @
3651bd84
...
@@ -2591,19 +2591,6 @@ blocking.
...
@@ -2591,19 +2591,6 @@ blocking.
\textbf
{
Description
}
: Prevent kernel from printing kext dump in the panic
\textbf
{
Description
}
: Prevent kernel from printing kext dump in the panic
log preventing from observing panic details. Affects 10.13 and above.
log preventing from observing panic details. Affects 10.13 and above.
\item
\texttt
{
ProvideCurrentCpuInfo
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
false
}
\\
\textbf
{
Requirement
}
: 10.8
\\
\textbf
{
Description
}
: Provides current CPU info to the kernel.
This quirk currently provides the correct TSC and FSB values to the kernel, as well
as disables CPU topology validation.
\emph
{
Note
}
: These patches currently target Microsoft Hyper-V and may need to be extended for
other purposes.
\item
\item
\texttt
{
PowerTimeoutKernelPanic
}
\\
\texttt
{
PowerTimeoutKernelPanic
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
...
@@ -2617,6 +2604,19 @@ blocking.
...
@@ -2617,6 +2604,19 @@ blocking.
to wake up. For debug kernels
\texttt
{
setpowerstate
\_
panic=0
}
boot argument
to wake up. For debug kernels
\texttt
{
setpowerstate
\_
panic=0
}
boot argument
should be used, which is otherwise equivalent to this quirk.
should be used, which is otherwise equivalent to this quirk.
\item
\texttt
{
ProvideCurrentCpuInfo
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
false
}
\\
\textbf
{
Requirement
}
: 10.8
\\
\textbf
{
Description
}
: Provides current CPU info to the kernel.
This quirk currently provides the correct TSC and FSB values to the kernel, as well
as disables CPU topology validation.
\emph
{
Note
}
: These patches currently target Microsoft Hyper-V and may need to be extended for
other purposes.
\item
\item
\texttt
{
SetApfsTrimTimeout
}
\\
\texttt
{
SetApfsTrimTimeout
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
integer
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
integer
}
\\
...
...
Include/Acidanthera/Library/OcConfigurationLib.h
浏览文件 @
3651bd84
...
@@ -292,8 +292,8 @@
...
@@ -292,8 +292,8 @@
_(BOOLEAN , LapicKernelPanic , , FALSE , ()) \
_(BOOLEAN , LapicKernelPanic , , FALSE , ()) \
_(BOOLEAN , LegacyCommpage , , FALSE , ()) \
_(BOOLEAN , LegacyCommpage , , FALSE , ()) \
_(BOOLEAN , PanicNoKextDump , , FALSE , ()) \
_(BOOLEAN , PanicNoKextDump , , FALSE , ()) \
_(BOOLEAN , ProvideCurrentCpuInfo , , FALSE , ()) \
_(BOOLEAN , PowerTimeoutKernelPanic , , FALSE , ()) \
_(BOOLEAN , PowerTimeoutKernelPanic , , FALSE , ()) \
_(BOOLEAN , ProvideCurrentCpuInfo , , FALSE , ()) \
_(BOOLEAN , ThirdPartyDrives , , FALSE , ()) \
_(BOOLEAN , ThirdPartyDrives , , FALSE , ()) \
_(BOOLEAN , XhciPortLimit , , FALSE , ())
_(BOOLEAN , XhciPortLimit , , FALSE , ())
OC_DECLARE
(
OC_KERNEL_QUIRKS
)
OC_DECLARE
(
OC_KERNEL_QUIRKS
)
...
...
Library/OcConfigurationLib/OcConfigurationLib.c
浏览文件 @
3651bd84
...
@@ -360,8 +360,8 @@ mKernelQuirksSchema[] = {
...
@@ -360,8 +360,8 @@ mKernelQuirksSchema[] = {
OC_SCHEMA_BOOLEAN_IN
(
"LapicKernelPanic"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
LapicKernelPanic
),
OC_SCHEMA_BOOLEAN_IN
(
"LapicKernelPanic"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
LapicKernelPanic
),
OC_SCHEMA_BOOLEAN_IN
(
"LegacyCommpage"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
LegacyCommpage
),
OC_SCHEMA_BOOLEAN_IN
(
"LegacyCommpage"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
LegacyCommpage
),
OC_SCHEMA_BOOLEAN_IN
(
"PanicNoKextDump"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
PanicNoKextDump
),
OC_SCHEMA_BOOLEAN_IN
(
"PanicNoKextDump"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
PanicNoKextDump
),
OC_SCHEMA_BOOLEAN_IN
(
"ProvideCurrentCpuInfo"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
ProvideCurrentCpuInfo
),
OC_SCHEMA_BOOLEAN_IN
(
"PowerTimeoutKernelPanic"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
PowerTimeoutKernelPanic
),
OC_SCHEMA_BOOLEAN_IN
(
"PowerTimeoutKernelPanic"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
PowerTimeoutKernelPanic
),
OC_SCHEMA_BOOLEAN_IN
(
"ProvideCurrentCpuInfo"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
ProvideCurrentCpuInfo
),
OC_SCHEMA_INTEGER_IN
(
"SetApfsTrimTimeout"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
SetApfsTrimTimeout
),
OC_SCHEMA_INTEGER_IN
(
"SetApfsTrimTimeout"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
SetApfsTrimTimeout
),
OC_SCHEMA_BOOLEAN_IN
(
"ThirdPartyDrives"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
ThirdPartyDrives
),
OC_SCHEMA_BOOLEAN_IN
(
"ThirdPartyDrives"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
ThirdPartyDrives
),
OC_SCHEMA_BOOLEAN_IN
(
"XhciPortLimit"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
XhciPortLimit
),
OC_SCHEMA_BOOLEAN_IN
(
"XhciPortLimit"
,
OC_GLOBAL_CONFIG
,
Kernel
.
Quirks
.
XhciPortLimit
),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录