Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
c63ecf5d
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,发现更多精彩内容 >>
提交
c63ecf5d
编写于
6月 05, 2020
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OcApfsLib: Improve logging
上级
97cfaa4e
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
43 addition
and
11 deletion
+43
-11
Docs/Configuration.pdf
Docs/Configuration.pdf
+0
-0
Docs/Configuration.tex
Docs/Configuration.tex
+5
-2
Docs/Differences/Differences.pdf
Docs/Differences/Differences.pdf
+0
-0
Docs/Differences/Differences.tex
Docs/Differences/Differences.tex
+12
-7
Docs/Errata/Errata.pdf
Docs/Errata/Errata.pdf
+0
-0
Library/OcApfsLib/OcApfsIo.c
Library/OcApfsLib/OcApfsIo.c
+26
-2
未找到文件。
Docs/Configuration.pdf
浏览文件 @
c63ecf5d
无法预览此类型文件
Docs/Configuration.tex
浏览文件 @
c63ecf5d
...
...
@@ -2396,7 +2396,7 @@ entry choice will update till next manual reconfiguration.
\item
Entry is macOS recovery.
\item
Entry is macOS Time Machine.
\item
Entry is explicitly marked as
\texttt
{
Auxiliary
}
.
\item
Entry is system (e.g.
\texttt
{
Clean
NVRAM
}
).
\item
Entry is system (e.g.
\texttt
{
Reset
NVRAM
}
).
\end{itemize}
To see all entries picker menu needs to be reloaded in extended mode by pressing
...
...
@@ -2798,6 +2798,9 @@ nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-log |
\textbf
{
Description
}
: Allow
\texttt
{
CMD+OPT+P+R
}
handling and enable
showing
\texttt
{
NVRAM Reset
}
entry in boot picker.
\emph
{
Note
}
: Resetting NVRAM will also erase all the boot options
otherwise not backed up with bless (e.g. Linux).
\item
\texttt
{
AllowSetDefault
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
...
...
@@ -5276,7 +5279,7 @@ functioning. Feature highlights:
firmwares, ASUS firmwares on APTIO V in particular, have bugs. For them scanning is
implemented improperly, and firmware preferences may get accidentally corrupted
due to
\texttt
{
BootOrder
}
entry duplication
(
each option will be added twice
)
making
it impossible to boot without
clean
ing NVRAM.
it impossible to boot without
resett
ing NVRAM.
To trigger the bug one should have some valid boot options
(
e.g. OpenCore
)
and then
install Windows with
\texttt
{
RequestBootVarRouting
}
enabled. As Windows bootloader
...
...
Docs/Differences/Differences.pdf
浏览文件 @
c63ecf5d
无法预览此类型文件
Docs/Differences/Differences.tex
浏览文件 @
c63ecf5d
\documentclass
[]
{
article
}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Tue Jun 2 03:55:18 2020
%DIF ADD ../Configuration.tex
Tue Jun 2 08:06:06
2020
%DIF ADD ../Configuration.tex
Fri Jun 5 12:29:25
2020
\usepackage
{
lmodern
}
\usepackage
{
amssymb,amsmath
}
...
...
@@ -176,9 +176,10 @@ configuration file format used to setup the correct functioning of macOS
operating system. It is to be read as the official clarification of expected
OpenCore behaviour. All deviations, if found in published OpenCore releases,
shall be considered documentation or implementation bugs, and are requested to be
reported through
\href
{
https://github.com/acidanthera/bugtracker
}{
Acidanthera Bugtracker
}
\DIFaddbegin
\DIFadd
{
.
Errata sheet is available in
}
\href
{
https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/Errata/Errata.pdf
}{
OpenCorePkg repository
}
\DIFaddend
.
reported through
\href
{
https://github.com/acidanthera/bugtracker
}{
Acidanthera Bugtracker
}
.
\DIFaddbegin
\DIFadd
{
Errata sheet is available in
}
\href
{
https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/Errata/Errata.pdf
}{
OpenCorePkg repository
}
\DIFadd
{
.
}
\DIFaddend
This document is structured as a specification, and is not meant to provide a step by
step algorithm for configuring end-user board support package (BSP). The intended audience
...
...
@@ -2456,7 +2457,7 @@ entry choice will update till next manual reconfiguration.
\item
Entry is macOS recovery.
\item
Entry is macOS Time Machine.
\item
Entry is explicitly marked as
\texttt
{
Auxiliary
}
.
\item
Entry is system (e.g.
\texttt
{
Clean
NVRAM
}
).
\item
Entry is system (e.g.
\texttt
{
\DIFdelbegin
\DIFdel
{
Clean
}
\DIFdelend
\DIFaddbegin
\DIFadd
{
Reset
}
\DIFaddend
NVRAM
}
).
\end{itemize}
To see all entries picker menu needs to be reloaded in extended mode by pressing
...
...
@@ -2858,7 +2859,11 @@ nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-log |
\textbf
{
Description
}
: Allow
\texttt
{
CMD+OPT+P+R
}
handling and enable
showing
\texttt
{
NVRAM Reset
}
entry in boot picker.
\item
\DIFaddbegin
\emph
{
\DIFadd
{
Note
}}
\DIFadd
{
: Resetting NVRAM will also erase all the boot options
otherwise not backed up with bless (e.g. Linux).
}
\DIFaddend
\item
\texttt
{
AllowSetDefault
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
false
}
\\
...
...
@@ -5336,7 +5341,7 @@ functioning. Feature highlights:
firmwares, ASUS firmwares on APTIO V in particular, have bugs. For them scanning is
implemented improperly, and firmware preferences may get accidentally corrupted
due to
\texttt
{
BootOrder
}
entry duplication
(
each option will be added twice
)
making
it impossible to boot without
cleaning
NVRAM.
it impossible to boot without
\DIFdelbegin
\DIFdel
{
cleaning
}
\DIFdelend
\DIFaddbegin
\DIFadd
{
resetting
}
\DIFaddend
NVRAM.
To trigger the bug one should have some valid boot options
(
e.g. OpenCore
)
and then
install Windows with
\texttt
{
RequestBootVarRouting
}
enabled. As Windows bootloader
...
...
Docs/Errata/Errata.pdf
浏览文件 @
c63ecf5d
无法预览此类型文件
Library/OcApfsLib/OcApfsIo.c
浏览文件 @
c63ecf5d
...
...
@@ -150,6 +150,18 @@ ApfsReadJumpStart (
JumpStart
);
if
(
EFI_ERROR
(
Status
))
{
DEBUG
((
DEBUG_INFO
,
"OCJS: Block (P:%d|F:%d) read req %Lx -> %Lx of %x (mask %u, mul %u) - %r
\n
"
,
BlockIo
==
PrivateData
->
BlockIo
,
PrivateData
->
IsFusion
,
PrivateData
->
EfiJumpStart
,
Lba
,
PrivateData
->
ApfsBlockSize
,
PrivateData
->
FusionMask
,
PrivateData
->
LbaMultiplier
,
Status
));
FreePool
(
JumpStart
);
return
Status
;
}
...
...
@@ -159,6 +171,7 @@ ApfsReadJumpStart (
// Version is not checked by ApfsJumpStart driver.
//
if
(
JumpStart
->
Magic
!=
APFS_NX_EFI_JUMPSTART_MAGIC
)
{
DEBUG
((
DEBUG_INFO
,
"OCJS: Unknown JSDR magic %08x, expected %08x
\n
"
,
JumpStart
->
Magic
,
APFS_NX_EFI_JUMPSTART_MAGIC
));
FreePool
(
JumpStart
);
return
EFI_UNSUPPORTED
;
}
...
...
@@ -176,6 +189,7 @@ ApfsReadJumpStart (
//
MaxExtents
=
(
PrivateData
->
ApfsBlockSize
-
sizeof
(
*
JumpStart
))
/
sizeof
(
JumpStart
->
RecordExtents
[
0
]);
if
(
MaxExtents
<
JumpStart
->
NumExtents
)
{
DEBUG
((
DEBUG_INFO
,
"OCJS: Invalid extent count %u / %u
\n
"
,
JumpStart
->
NumExtents
,
MaxExtents
));
FreePool
(
JumpStart
);
return
EFI_UNSUPPORTED
;
}
...
...
@@ -395,7 +409,12 @@ InternalApfsReadDriver (
&
JumpStart
);
if
(
EFI_ERROR
(
Status
))
{
DEBUG
((
DEBUG_INFO
,
"OCJS: Failed to read JumpStart for %g
\n
"
,
&
PrivateData
->
LocationInfo
.
ContainerUuid
));
DEBUG
((
DEBUG_INFO
,
"OCJS: Failed to read JumpStart for %g - %r
\n
"
,
&
PrivateData
->
LocationInfo
.
ContainerUuid
,
Status
));
return
Status
;
}
...
...
@@ -409,7 +428,12 @@ InternalApfsReadDriver (
FreePool
(
JumpStart
);
if
(
EFI_ERROR
(
Status
))
{
DEBUG
((
DEBUG_INFO
,
"OCJS: Failed to read driver for %g
\n
"
,
&
PrivateData
->
LocationInfo
.
ContainerUuid
));
DEBUG
((
DEBUG_INFO
,
"OCJS: Failed to read driver for %g - %r
\n
"
,
&
PrivateData
->
LocationInfo
.
ContainerUuid
,
Status
));
return
Status
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录