Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
ad6eacd7
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,发现更多精彩内容 >>
提交
ad6eacd7
编写于
10月 16, 2019
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Docs: Document MmioWhitelist
上级
40b6956a
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
109 addition
and
11 deletion
+109
-11
Docs/Configuration.pdf
Docs/Configuration.pdf
+0
-0
Docs/Configuration.tex
Docs/Configuration.tex
+49
-4
Docs/Differences/Differences.pdf
Docs/Differences/Differences.pdf
+0
-0
Docs/Differences/Differences.tex
Docs/Differences/Differences.tex
+60
-7
未找到文件。
Docs/Configuration.pdf
浏览文件 @
ad6eacd7
无法预览此类型文件
Docs/Configuration.tex
浏览文件 @
ad6eacd7
...
@@ -1019,6 +1019,14 @@ To view their current state use \texttt{pmset -g} command in Terminal.
...
@@ -1019,6 +1019,14 @@ To view their current state use \texttt{pmset -g} command in Terminal.
\begin{enumerate}
\begin{enumerate}
\item
\texttt
{
MmioWhitelist
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
array
}
\\
\textbf
{
Description
}
: Designed to be filled with
\texttt
{
plist
\
dict
}
values,
describing addresses critical for particular firmware functioning when
\texttt
{
DevirtualiseMmio
}
quirk is in use. See
\hyperref
[booterpropsmmio]
{
MmioWhitelist Properties
}
section below.
\item
\item
\texttt
{
Quirks
}
\\
\texttt
{
Quirks
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
dict
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
dict
}
\\
...
@@ -1027,6 +1035,39 @@ To view their current state use \texttt{pmset -g} command in Terminal.
...
@@ -1027,6 +1035,39 @@ To view their current state use \texttt{pmset -g} command in Terminal.
\end{enumerate}
\end{enumerate}
\subsection
{
MmioWhitelist Properties
}
\label
{
booterpropsmmio
}
\begin{enumerate}
\item
\texttt
{
Address
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
integer
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
0
}
\\
\textbf
{
Description
}
: Exceptional MMIO address, which memory descriptor should be left
virtualised (unchanged) by
\texttt
{
DevirtualiseMmio
}
. This means that the firmware will
be able to directly communicate with this memory region during operating system functioning,
because the region this value is in will be assigned a virtual address.
The addresses written here must be part of the memory map, have
\texttt
{
EfiMemoryMappedIO
}
type and
\texttt
{
EFI
\_
MEMORY
\_
RUNTIME
}
attribute (highest bit) set. To find the list of the
candidates the debug log can be used.
\item
\texttt
{
Comment
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
string
}
\\
\textbf
{
Failsafe
}
: Empty string
\\
\textbf
{
Description
}
: Arbitrary ASCII string used to provide human readable
reference for the entry. It is implementation defined whether this value is
used.
\item
\texttt
{
Enabled
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
boolean
}
\\
\textbf
{
Failsafe
}
:
\texttt
{
false
}
\\
\textbf
{
Description
}
: This address will be devirtualised unless set to
\texttt
{
true
}
.
\end{enumerate}
\subsection
{
Quirks Properties
}
\label
{
booterpropsquirks
}
\subsection
{
Quirks Properties
}
\label
{
booterpropsquirks
}
\begin{enumerate}
\begin{enumerate}
...
@@ -1052,10 +1093,14 @@ To view their current state use \texttt{pmset -g} command in Terminal.
...
@@ -1052,10 +1093,14 @@ To view their current state use \texttt{pmset -g} command in Terminal.
This option reduces stolen memory footprint from the memory map by removing
This option reduces stolen memory footprint from the memory map by removing
runtime bit for known memory regions. This quirk may result in the increase
runtime bit for known memory regions. This quirk may result in the increase
of KASLR slides available, but is not necessarily compatible with the target
of KASLR slides available, but is not necessarily compatible with the target
board.
board. In general this frees from 64 to 256 megabytes of memory (present in
the debug log), and on some platforms it is the only way to boot macOS, which
\emph
{
Note
}
: This option is generally useful on APTIO V firmwares (Broadwell and newer).
otherwise fails with allocation error at bootloader stage.
This option is generally useful on 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
{
MmioWhitelist
}
section to do this.
\item
\item
\texttt
{
DisableSingleUser
}
\\
\texttt
{
DisableSingleUser
}
\\
...
...
Docs/Differences/Differences.pdf
浏览文件 @
ad6eacd7
无法预览此类型文件
Docs/Differences/Differences.tex
浏览文件 @
ad6eacd7
\documentclass
[]
{
article
}
\documentclass
[]
{
article
}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Mon Oct 7 11:21:04 2019
%DIF DEL PreviousConfiguration.tex Mon Oct 7 11:21:04 2019
%DIF ADD ../Configuration.tex Wed Oct
9 07:28:25
2019
%DIF ADD ../Configuration.tex Wed Oct
16 11:44:08
2019
\usepackage
{
lmodern
}
\usepackage
{
lmodern
}
\usepackage
{
amssymb,amsmath
}
\usepackage
{
amssymb,amsmath
}
...
@@ -1080,14 +1080,60 @@ To view their current state use \texttt{pmset -g} command in Terminal.
...
@@ -1080,14 +1080,60 @@ To view their current state use \texttt{pmset -g} command in Terminal.
\begin{enumerate}
\begin{enumerate}
\item
\item
\texttt
{
Quirks
}
\\
\DIFaddbegin
\texttt
{
\DIFadd
{
MmioWhitelist
}}
\\
\textbf
{
\DIFadd
{
Type
}}
\DIFadd
{
:
}
\texttt
{
\DIFadd
{
plist
\
array
}}
\\
\textbf
{
\DIFadd
{
Description
}}
\DIFadd
{
: Designed to be filled with
}
\texttt
{
\DIFadd
{
plist
\
dict
}}
\DIFadd
{
values,
describing addresses critical for particular firmware functioning when
}
\texttt
{
\DIFadd
{
DevirtualiseMmio
}}
\DIFadd
{
quirk is in use. See
}
\hyperref
[booterpropsmmio]
{
MmioWhitelist Properties
}
\DIFadd
{
section below.
}
\item
\DIFaddend
\texttt
{
Quirks
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
dict
}
\\
\textbf
{
Type
}
:
\texttt
{
plist
\
dict
}
\\
\textbf
{
Description
}
: Apply individual booter quirks described
\textbf
{
Description
}
: Apply individual booter quirks described
in
\hyperref
[booterpropsquirks]
{
Quirks Properties
}
section below.
in
\hyperref
[booterpropsquirks]
{
Quirks Properties
}
section below.
\end{enumerate}
\end{enumerate}
\subsection
{
Quirks Properties
}
\label
{
booterpropsquirks
}
\DIFaddbegin
\subsection
{
\DIFadd
{
MmioWhitelist Properties
}}
\label
{
booterpropsmmio
}
\begin{enumerate}
\item
\texttt
{
\DIFadd
{
Address
}}
\\
\textbf
{
\DIFadd
{
Type
}}
\DIFadd
{
:
}
\texttt
{
\DIFadd
{
plist
\
integer
}}
\\
\textbf
{
\DIFadd
{
Failsafe
}}
\DIFadd
{
:
}
\texttt
{
\DIFadd
{
0
}}
\\
\textbf
{
\DIFadd
{
Description
}}
\DIFadd
{
: Exceptional MMIO address, which memory descriptor should be left
virtualised (unchanged) by
}
\texttt
{
\DIFadd
{
DevirtualiseMmio
}}
\DIFadd
{
. This means that the firmware will
be able to directly communicate with this memory region during operating system functioning,
because the region this value is in will be assigned a virtual address.
}
\DIFadd
{
The addresses written here must be part of the memory map, have
}
\texttt
{
\DIFadd
{
EfiMemoryMappedIO
}}
\DIFadd
{
type and
}
\texttt
{
\DIFadd
{
EFI
\_
MEMORY
\_
RUNTIME
}}
\DIFadd
{
attribute (highest bit) set. To find the list of the
candidates the debug log can be used.
}
\item
\texttt
{
\DIFadd
{
Comment
}}
\\
\textbf
{
\DIFadd
{
Type
}}
\DIFadd
{
:
}
\texttt
{
\DIFadd
{
plist
\
string
}}
\\
\textbf
{
\DIFadd
{
Failsafe
}}
\DIFadd
{
: Empty string
}
\\
\textbf
{
\DIFadd
{
Description
}}
\DIFadd
{
: Arbitrary ASCII string used to provide human readable
reference for the entry. It is implementation defined whether this value is
used.
}
\item
\texttt
{
\DIFadd
{
Enabled
}}
\\
\textbf
{
\DIFadd
{
Type
}}
\DIFadd
{
:
}
\texttt
{
\DIFadd
{
plist
\
boolean
}}
\\
\textbf
{
\DIFadd
{
Failsafe
}}
\DIFadd
{
:
}
\texttt
{
\DIFadd
{
false
}}
\\
\textbf
{
\DIFadd
{
Description
}}
\DIFadd
{
: This address will be devirtualised unless set to
}
\texttt
{
\DIFadd
{
true
}}
\DIFadd
{
.
}
\end{enumerate}
\DIFaddend
\subsection
{
Quirks Properties
}
\label
{
booterpropsquirks
}
\begin{enumerate}
\begin{enumerate}
...
@@ -1112,10 +1158,17 @@ To view their current state use \texttt{pmset -g} command in Terminal.
...
@@ -1112,10 +1158,17 @@ To view their current state use \texttt{pmset -g} command in Terminal.
This option reduces stolen memory footprint from the memory map by removing
This option reduces stolen memory footprint from the memory map by removing
runtime bit for known memory regions. This quirk may result in the increase
runtime bit for known memory regions. This quirk may result in the increase
of KASLR slides available, but is not necessarily compatible with the target
of KASLR slides available, but is not necessarily compatible with the target
board.
board.
\DIFaddbegin
\DIFadd
{
In general this frees from 64 to 256 megabytes of memory (present in
the debug log), and on some platforms it is the only way to boot macOS, which
\emph
{
Note
}
: This option is generally useful on APTIO V firmwares (Broadwell and newer).
otherwise fails with allocation error at bootloader stage.
}
\DIFaddend
\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,
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
.
\item
\item
\texttt
{
DisableSingleUser
}
\\
\texttt
{
DisableSingleUser
}
\\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录