Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
b393b059
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,发现更多精彩内容 >>
提交
b393b059
编写于
10月 17, 2019
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OpenCoreKernel: Support PowerTimeoutKernelPanic option
上级
ad6eacd7
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
40 addition
and
4 deletion
+40
-4
Changelog.md
Changelog.md
+1
-0
Docs/Configuration.pdf
Docs/Configuration.pdf
+0
-0
Docs/Configuration.tex
Docs/Configuration.tex
+12
-0
Docs/Differences/Differences.pdf
Docs/Differences/Differences.pdf
+0
-0
Docs/Differences/Differences.tex
Docs/Differences/Differences.tex
+19
-4
Docs/Sample.plist
Docs/Sample.plist
+2
-0
Docs/SampleFull.plist
Docs/SampleFull.plist
+2
-0
Platform/OpenCore/OpenCoreKernel.c
Platform/OpenCore/OpenCoreKernel.c
+4
-0
未找到文件。
Changelog.md
浏览文件 @
b393b059
...
...
@@ -4,6 +4,7 @@ OpenCore Changelog
-
Fixed
`MinKernel`
and
`MaxKernel`
logic (thx @dhinakg, @reitermarkus)
-
Fixed ASSERT when booting non-Apple OSes without arguments from the DEBUG version
-
Added
`MmioWhitelist`
configuration option
-
Added
`PowerTimeoutKernelPanic`
kernel quirk
#### v0.5.1
-
Added support of kernel resource kext injection
...
...
Docs/Configuration.pdf
浏览文件 @
b393b059
无法预览此类型文件
Docs/Configuration.tex
浏览文件 @
b393b059
...
...
@@ -1728,6 +1728,18 @@ blocking.
\textbf
{
Description
}
: Prevent kernel from printing kext dump in the panic
log preventing from observing panic details. Affects 10.13 and above.
\item
\texttt
{
PowerTimeoutKernelPanic
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
false
}
\\
\textbf
{
Description
}
: Disables kernel panic on setPowerState timeout.
An additional security measure was added to macOS Catalina (10.15) causing
kernel panic on power change timeout for Apple drivers. Sometimes it may cause
issues on misconfigured hardware, notably digital audio, which sometimes fails
to wake up. For debug kernels
\texttt
{
setpowerstate
\_
panic=0
}
boot argument
should be used, which is otherwise equivalent to this quirk.
\item
\texttt
{
ThirdPartyTrim
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
...
...
Docs/Differences/Differences.pdf
浏览文件 @
b393b059
无法预览此类型文件
Docs/Differences/Differences.tex
浏览文件 @
b393b059
\documentclass
[]
{
article
}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Mon Oct 7 11:21:04 2019
%DIF ADD ../Configuration.tex
Wed Oct 16 11:44:08
2019
%DIF ADD ../Configuration.tex
Thu Oct 17 11:36:19
2019
\usepackage
{
lmodern
}
\usepackage
{
amssymb,amsmath
}
...
...
@@ -1165,10 +1165,11 @@ To view their current state use \texttt{pmset -g} command in Terminal.
\DIFdelbegin
\emph
{
\DIFdel
{
Note
}}
%DIFAUXCMD
\DIFdel
{
:
}
\DIFdelend
This option is generally useful on
\DIFdelbegin
\DIFdel
{
APTIO V firmwares (Broadwell and
newer)
}
\DIFdelend
\DIFaddbegin
\DIFadd
{
all firmwares except some very old ones,
newer)
.
}
\DIFdelend
\DIFaddbegin
\DIFadd
{
all firmwares except some very old ones,
like Sandy Bridge. On select firmwares it may require a list of exceptional
addresses that still need to get their virtual addresses for proper NVRAM and
hibernation functioning. Use
}
\texttt
{
\DIFadd
{
MmioWhitelist
}}
\DIFadd
{
section to do this
}
\DIFaddend
.
hibernation functioning. Use
}
\texttt
{
\DIFadd
{
MmioWhitelist
}}
\DIFadd
{
section to do this.
}
\DIFaddend
\item
\texttt
{
DisableSingleUser
}
\\
...
...
@@ -1794,7 +1795,21 @@ blocking.
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
false
}
\\
\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
\DIFaddbegin
\DIFadd
{
.
}
\item
\texttt
{
\DIFadd
{
PowerTimeoutKernelPanic
}}
\\
\textbf
{
\DIFadd
{
Type
}}
\DIFadd
{
:
}
\texttt
{
\DIFadd
{
plist
\
boolean
}}
\\
\textbf
{
\DIFadd
{
Failsafe
}}
\DIFadd
{
:
}
\texttt
{
\DIFadd
{
false
}}
\\
\textbf
{
\DIFadd
{
Description
}}
\DIFadd
{
: Disables kernel panic on setPowerState timeout.
}
\DIFadd
{
An additional security measure was added to macOS Catalina (10.15) causing
kernel panic on power change timeout for Apple drivers. Sometimes it may cause
issues on misconfigured hardware, notably digital audio, which sometimes fails
to wake up. For debug kernels
}
\texttt
{
\DIFadd
{
setpowerstate
\_
panic=0
}}
\DIFadd
{
boot argument
should be used, which is otherwise equivalent to this quirk
}
\DIFaddend
.
\item
\texttt
{
ThirdPartyTrim
}
\\
...
...
Docs/Sample.plist
浏览文件 @
b393b059
...
...
@@ -511,6 +511,8 @@
<false/>
<key>
PanicNoKextDump
</key>
<false/>
<key>
PowerTimeoutKernelPanic
</key>
<false/>
<key>
ThirdPartyTrim
</key>
<false/>
<key>
XhciPortLimit
</key>
...
...
Docs/SampleFull.plist
浏览文件 @
b393b059
...
...
@@ -511,6 +511,8 @@
<false/>
<key>
PanicNoKextDump
</key>
<false/>
<key>
PowerTimeoutKernelPanic
</key>
<false/>
<key>
ThirdPartyTrim
</key>
<false/>
<key>
XhciPortLimit
</key>
...
...
Platform/OpenCore/OpenCoreKernel.c
浏览文件 @
b393b059
...
...
@@ -461,6 +461,10 @@ OcKernelApplyPatches (
if
(
Config
->
Kernel
.
Quirks
.
LapicKernelPanic
)
{
PatchLapicKernelPanic
(
&
Patcher
);
}
if
(
Config
->
Kernel
.
Quirks
.
PowerTimeoutKernelPanic
)
{
PatchPowerStateTimeout
(
&
Patcher
);
}
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录