Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
349c4aee
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,发现更多精彩内容 >>
提交
349c4aee
编写于
5月 21, 2019
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Docs: Add bit clarifications thx Andrey1970
上级
c79ee157
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
45 addition
and
45 deletion
+45
-45
Docs/Configuration.pdf
Docs/Configuration.pdf
+0
-0
Docs/Configuration.tex
Docs/Configuration.tex
+22
-22
Docs/Differences/Differences.pdf
Docs/Differences/Differences.pdf
+0
-0
Docs/Differences/Differences.tex
Docs/Differences/Differences.tex
+23
-23
未找到文件。
Docs/Configuration.pdf
浏览文件 @
349c4aee
无法预览此类型文件
Docs/Configuration.tex
100644 → 100755
浏览文件 @
349c4aee
...
...
@@ -1419,12 +1419,12 @@ behaviour that does not go to any other sections
\begin{itemize}
\tightlist
\item
\texttt
{
0x00000002
}
---
\texttt
{
DEBUG
\_
WARN
}
in
\texttt
{
DEBUG
}
,
\item
\texttt
{
0x00000002
}
(bit
\texttt
{
1
}
)
---
\texttt
{
DEBUG
\_
WARN
}
in
\texttt
{
DEBUG
}
,
\texttt
{
NOOPT
}
,
\texttt
{
RELEASE
}
.
\item
\texttt
{
0x00000040
}
---
\texttt
{
DEBUG
\_
INFO
}
in
\texttt
{
DEBUG
}
,
\item
\texttt
{
0x00000040
}
(bit
\texttt
{
6
}
)
---
\texttt
{
DEBUG
\_
INFO
}
in
\texttt
{
DEBUG
}
,
\texttt
{
NOOPT
}
.
\item
\texttt
{
0x00400000
}
---
\texttt
{
DEBUG
\_
VERBOSE
}
in custom builds.
\item
\texttt
{
0x80000000
}
---
\texttt
{
DEBUG
\_
ERROR
}
in
\texttt
{
DEBUG
}
,
\item
\texttt
{
0x00400000
}
(bit
\texttt
{
22
}
)
---
\texttt
{
DEBUG
\_
VERBOSE
}
in custom builds.
\item
\texttt
{
0x80000000
}
(bit
\texttt
{
31
}
)
---
\texttt
{
DEBUG
\_
ERROR
}
in
\texttt
{
DEBUG
}
,
\texttt
{
NOOPT
}
,
\texttt
{
RELEASE
}
.
\end{itemize}
...
...
@@ -1440,13 +1440,13 @@ behaviour that does not go to any other sections
\begin{itemize}
\tightlist
\item
\texttt
{
0x01
}
--- Enable logging, otherwise all log is discarded.
\item
\texttt
{
0x02
}
--- Enable basic console (onscreen) logging.
\item
\texttt
{
0x04
}
--- Enable logging to Data Hub.
\item
\texttt
{
0x08
}
--- Enable serial port logging.
\item
\texttt
{
0x10
}
--- Enable UEFI variable logging.
\item
\texttt
{
0x20
}
--- Enable non-volatile UEFI variable logging.
\item
\texttt
{
0x40
}
--- Enable logging to file.
\item
\texttt
{
0x01
}
(bit
\texttt
{
0
}
)
--- Enable logging, otherwise all log is discarded.
\item
\texttt
{
0x02
}
(bit
\texttt
{
1
}
)
--- Enable basic console (onscreen) logging.
\item
\texttt
{
0x04
}
(bit
\texttt
{
2
}
)
--- Enable logging to Data Hub.
\item
\texttt
{
0x08
}
(bit
\texttt
{
3
}
)
--- Enable serial port logging.
\item
\texttt
{
0x10
}
(bit
\texttt
{
4
}
)
--- Enable UEFI variable logging.
\item
\texttt
{
0x20
}
(bit
\texttt
{
5
}
)
--- Enable non-volatile UEFI variable logging.
\item
\texttt
{
0x40
}
(bit
\texttt
{
6
}
)
--- Enable logging to file.
\end{itemize}
Console logging prints less than all the other variants.
...
...
@@ -1623,34 +1623,34 @@ rm vault.pub
\begin
{
itemize
}
\tightlist
\item
\texttt
{
0
x
00000001
}
---
\texttt
{
OC
\_
SCAN
\_
FILE
\_
SYSTEM
\_
LOCK
}
, restricts
\item
\texttt
{
0
x
00000001
}
(
bit
\texttt
{
0
}
)
---
\texttt
{
OC
\_
SCAN
\_
FILE
\_
SYSTEM
\_
LOCK
}
, restricts
scanning to only known file systems defined as a part of this policy. File system
drivers may not be aware of this policy, and to avoid mounting of undesired file
systems it is best not to load its driver. This bit does not affect dmg mounting,
which may have any file system. Known file systems are prefixed with
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
FS
\_
}
.
\item
\texttt
{
0
x
00000002
}
---
\texttt
{
OC
\_
SCAN
\_
DEVICE
\_
LOCK
}
, restricts scanning
\item
\texttt
{
0
x
00000002
}
(
bit
\texttt
{
1
}
)
---
\texttt
{
OC
\_
SCAN
\_
DEVICE
\_
LOCK
}
, restricts scanning
to only known device types defined as a part of this policy. This is not always possible
to detect protocol tunneling, so be aware that on some systems it may be possible for
e.g. USB HDDs to be recognised as SATA. Cases like this must be reported. Known device
types are prefixed with
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
}
.
\item
\texttt
{
0
x
00000100
}
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
FS
\_
APFS
}
, allows scanning
\item
\texttt
{
0
x
00000100
}
(
bit
\texttt
{
8
}
)
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
FS
\_
APFS
}
, allows scanning
of APFS file system.
\item
\texttt
{
0
x
00010000
}
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SATA
}
, allow
\item
\texttt
{
0
x
00010000
}
(
bit
\texttt
{
16
}
)
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SATA
}
, allow
scanning SATA devices.
\item
\texttt
{
0
x
00020000
}
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SASEX
}
, allow
\item
\texttt
{
0
x
00020000
}
(
bit
\texttt
{
17
}
)
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SASEX
}
, allow
scanning SAS and Mac NVMe devices.
\item
\texttt
{
0
x
00040000
}
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SCSI
}
, allow
\item
\texttt
{
0
x
00040000
}
(
bit
\texttt
{
18
}
)
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SCSI
}
, allow
scanning SCSI devices.
\item
\texttt
{
0
x
00080000
}
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
NVME
}
, allow
\item
\texttt
{
0
x
00080000
}
(
bit
\texttt
{
19
}
)
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
NVME
}
, allow
scanning NVMe devices.
\item
\texttt
{
0
x
00100000
}
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
ATAPI
}
, allow
\item
\texttt
{
0
x
00100000
}
(
bit
\texttt
{
20
}
)
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
ATAPI
}
, allow
scanning CD
/
DVD devices.
\item
\texttt
{
0
x
00200000
}
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
USB
}
, allow
\item
\texttt
{
0
x
00200000
}
(
bit
\texttt
{
21
}
)
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
USB
}
, allow
scanning USB devices.
\item
\texttt
{
0
x
00400000
}
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
FIREWIRE
}
, allow
\item
\texttt
{
0
x
00400000
}
(
bit
\texttt
{
22
}
)
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
FIREWIRE
}
, allow
scanning FireWire devices.
\item
\texttt
{
0
x
00800000
}
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SDCARD
}
, allow
\item
\texttt
{
0
x
00800000
}
(
bit
\texttt
{
23
}
)
---
\texttt
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SDCARD
}
, allow
scanning card reader devices.
\end
{
itemize
}
...
...
Docs/Differences/Differences.pdf
浏览文件 @
349c4aee
无法预览此类型文件
Docs/Differences/Differences.tex
浏览文件 @
349c4aee
\documentclass
[]
{
article
}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Fri May 3 12:13:06 2019
%DIF ADD ../Configuration.tex
Sun May 19 09:05:0
8 2019
%DIF ADD ../Configuration.tex
Tue May 21 19:03:2
8 2019
\usepackage
{
lmodern
}
\usepackage
{
amssymb,amsmath
}
...
...
@@ -1508,12 +1508,12 @@ behaviour that does not go to any other sections
\begin{itemize}
\tightlist
\item
\texttt
{
0x00000002
}
---
\texttt
{
DEBUG
\_
WARN
}
in
\texttt
{
DEBUG
}
,
\item
\texttt
{
0x00000002
}
\DIFaddbegin
\DIFadd
{
(bit
}
\texttt
{
\DIFadd
{
1
}}
\DIFadd
{
)
}
\DIFaddend
---
\texttt
{
DEBUG
\_
WARN
}
in
\texttt
{
DEBUG
}
,
\texttt
{
NOOPT
}
,
\texttt
{
RELEASE
}
.
\item
\texttt
{
0x00000040
}
---
\texttt
{
DEBUG
\_
INFO
}
in
\texttt
{
DEBUG
}
,
\item
\texttt
{
0x00000040
}
\DIFaddbegin
\DIFadd
{
(bit
}
\texttt
{
\DIFadd
{
6
}}
\DIFadd
{
)
}
\DIFaddend
---
\texttt
{
DEBUG
\_
INFO
}
in
\texttt
{
DEBUG
}
,
\texttt
{
NOOPT
}
.
\item
\texttt
{
0x00400000
}
---
\texttt
{
DEBUG
\_
VERBOSE
}
in custom builds.
\item
\texttt
{
0x80000000
}
---
\texttt
{
DEBUG
\_
ERROR
}
in
\texttt
{
DEBUG
}
,
\item
\texttt
{
0x00400000
}
\DIFaddbegin
\DIFadd
{
(bit
}
\texttt
{
\DIFadd
{
22
}}
\DIFadd
{
)
}
\DIFaddend
---
\texttt
{
DEBUG
\_
VERBOSE
}
in custom builds.
\item
\texttt
{
0x80000000
}
\DIFaddbegin
\DIFadd
{
(bit
}
\texttt
{
\DIFadd
{
31
}}
\DIFadd
{
)
}
\DIFaddend
---
\texttt
{
DEBUG
\_
ERROR
}
in
\texttt
{
DEBUG
}
,
\texttt
{
NOOPT
}
,
\texttt
{
RELEASE
}
.
\end{itemize}
...
...
@@ -1575,13 +1575,13 @@ behaviour that does not go to any other sections
\begin{itemize}
\tightlist
\item
\texttt
{
0x01
}
--- Enable logging, otherwise all log is discarded.
\item
\texttt
{
0x02
}
--- Enable basic console (onscreen) logging.
\item
\texttt
{
0x04
}
--- Enable logging to Data Hub.
\item
\texttt
{
0x08
}
--- Enable serial port logging.
\item
\texttt
{
0x10
}
--- Enable UEFI variable logging.
\item
\texttt
{
0x20
}
--- Enable non-volatile UEFI variable logging.
\item
\texttt
{
0x40
}
--- Enable logging to file.
\item
\texttt
{
0x01
}
\DIFaddbegin
\DIFadd
{
(bit
}
\texttt
{
\DIFadd
{
0
}}
\DIFadd
{
)
}
\DIFaddend
--- Enable logging, otherwise all log is discarded.
\item
\texttt
{
0x02
}
\DIFaddbegin
\DIFadd
{
(bit
}
\texttt
{
\DIFadd
{
1
}}
\DIFadd
{
)
}
\DIFaddend
--- Enable basic console (onscreen) logging.
\item
\texttt
{
0x04
}
\DIFaddbegin
\DIFadd
{
(bit
}
\texttt
{
\DIFadd
{
2
}}
\DIFadd
{
)
}
\DIFaddend
--- Enable logging to Data Hub.
\item
\texttt
{
0x08
}
\DIFaddbegin
\DIFadd
{
(bit
}
\texttt
{
\DIFadd
{
3
}}
\DIFadd
{
)
}
\DIFaddend
--- Enable serial port logging.
\item
\texttt
{
0x10
}
\DIFaddbegin
\DIFadd
{
(bit
}
\texttt
{
\DIFadd
{
4
}}
\DIFadd
{
)
}
\DIFaddend
--- Enable UEFI variable logging.
\item
\texttt
{
0x20
}
\DIFaddbegin
\DIFadd
{
(bit
}
\texttt
{
\DIFadd
{
5
}}
\DIFadd
{
)
}
\DIFaddend
--- Enable non-volatile UEFI variable logging.
\item
\texttt
{
0x40
}
\DIFaddbegin
\DIFadd
{
(bit
}
\texttt
{
\DIFadd
{
6
}}
\DIFadd
{
)
}
\DIFaddend
--- Enable logging to file.
\end{itemize}
Console logging prints less than all the other variants.
...
...
@@ -1782,34 +1782,34 @@ rm vault.pub
\begin
{
itemize
}
\tightlist
\item
\texttt
{
\DIFadd
{
0
x
00000001
}}
\DIFadd
{
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
FILE
\_
SYSTEM
\_
LOCK
}}
\DIFadd
{
, restricts
\item
\texttt
{
\DIFadd
{
0
x
00000001
}}
\DIFadd
{
(
bit
}
\texttt
{
\DIFadd
{
0
}}
\DIFadd
{
)
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
FILE
\_
SYSTEM
\_
LOCK
}}
\DIFadd
{
, restricts
scanning to only known file systems defined as a part of this policy. File system
drivers may not be aware of this policy, and to avoid mounting of undesired file
systems it is best not to load its driver. This bit does not affect dmg mounting,
which may have any file system. Known file systems are prefixed with
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
FS
\_
}}
\DIFadd
{
.
}
\item
\texttt
{
\DIFadd
{
0
x
00000002
}}
\DIFadd
{
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
DEVICE
\_
LOCK
}}
\DIFadd
{
, restricts scanning
}
\item
\texttt
{
\DIFadd
{
0
x
00000002
}}
\DIFadd
{
(
bit
}
\texttt
{
\DIFadd
{
1
}}
\DIFadd
{
)
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
DEVICE
\_
LOCK
}}
\DIFadd
{
, restricts scanning
to only known device types defined as a part of this policy. This is not always possible
to detect protocol tunneling, so be aware that on some systems it may be possible for
e.g. USB HDDs to be recognised as SATA. Cases like this must be reported. Known device
types are prefixed with
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
}}
\DIFadd
{
.
}
\item
\texttt
{
\DIFadd
{
0
x
00000100
}}
\DIFadd
{
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
FS
\_
APFS
}}
\DIFadd
{
, allows scanning
}
\item
\texttt
{
\DIFadd
{
0
x
00000100
}}
\DIFadd
{
(
bit
}
\texttt
{
\DIFadd
{
8
}}
\DIFadd
{
)
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
FS
\_
APFS
}}
\DIFadd
{
, allows scanning
of APFS file system.
}
\item
\texttt
{
\DIFadd
{
0
x
00010000
}}
\DIFadd
{
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SATA
}}
\DIFadd
{
, allow
}
\item
\texttt
{
\DIFadd
{
0
x
00010000
}}
\DIFadd
{
(
bit
}
\texttt
{
\DIFadd
{
16
}}
\DIFadd
{
)
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SATA
}}
\DIFadd
{
, allow
scanning SATA devices.
}
\item
\texttt
{
\DIFadd
{
0
x
00020000
}}
\DIFadd
{
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SASEX
}}
\DIFadd
{
, allow
}
\item
\texttt
{
\DIFadd
{
0
x
00020000
}}
\DIFadd
{
(
bit
}
\texttt
{
\DIFadd
{
17
}}
\DIFadd
{
)
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SASEX
}}
\DIFadd
{
, allow
scanning SAS and Mac NVMe devices.
}
\item
\texttt
{
\DIFadd
{
0
x
00040000
}}
\DIFadd
{
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SCSI
}}
\DIFadd
{
, allow
}
\item
\texttt
{
\DIFadd
{
0
x
00040000
}}
\DIFadd
{
(
bit
}
\texttt
{
\DIFadd
{
18
}}
\DIFadd
{
)
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SCSI
}}
\DIFadd
{
, allow
scanning SCSI devices.
}
\item
\texttt
{
\DIFadd
{
0
x
00080000
}}
\DIFadd
{
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
NVME
}}
\DIFadd
{
, allow
}
\item
\texttt
{
\DIFadd
{
0
x
00080000
}}
\DIFadd
{
(
bit
}
\texttt
{
\DIFadd
{
19
}}
\DIFadd
{
)
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
NVME
}}
\DIFadd
{
, allow
scanning NVMe devices.
}
\item
\texttt
{
\DIFadd
{
0
x
00100000
}}
\DIFadd
{
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
ATAPI
}}
\DIFadd
{
, allow
}
\item
\texttt
{
\DIFadd
{
0
x
00100000
}}
\DIFadd
{
(
bit
}
\texttt
{
\DIFadd
{
20
}}
\DIFadd
{
)
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
ATAPI
}}
\DIFadd
{
, allow
scanning CD
/
DVD devices.
}
\item
\texttt
{
\DIFadd
{
0
x
00200000
}}
\DIFadd
{
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
USB
}}
\DIFadd
{
, allow
}
\item
\texttt
{
\DIFadd
{
0
x
00200000
}}
\DIFadd
{
(
bit
}
\texttt
{
\DIFadd
{
21
}}
\DIFadd
{
)
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
USB
}}
\DIFadd
{
, allow
scanning USB devices.
}
\item
\texttt
{
\DIFadd
{
0
x
00400000
}}
\DIFadd
{
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
FIREWIRE
}}
\DIFadd
{
, allow
}
\item
\texttt
{
\DIFadd
{
0
x
00400000
}}
\DIFadd
{
(
bit
}
\texttt
{
\DIFadd
{
22
}}
\DIFadd
{
)
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
FIREWIRE
}}
\DIFadd
{
, allow
scanning FireWire devices.
}
\item
\texttt
{
\DIFadd
{
0
x
00800000
}}
\DIFadd
{
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SDCARD
}}
\DIFadd
{
, allow
}
\item
\texttt
{
\DIFadd
{
0
x
00800000
}}
\DIFadd
{
(
bit
}
\texttt
{
\DIFadd
{
23
}}
\DIFadd
{
)
---
}
\texttt
{
\DIFadd
{
OC
\_
SCAN
\_
ALLOW
\_
DEVICE
\_
SDCARD
}}
\DIFadd
{
, allow
scanning card reader devices.
}
\end
{
itemize
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录