Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
ffe3682e
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,发现更多精彩内容 >>
提交
ffe3682e
编写于
4月 07, 2021
作者:
M
MikeBeaton
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
BootManagement: Improved consistency of OC_ATTR naming
上级
0246fc7b
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
7 addition
and
7 deletion
+7
-7
Docs/Configuration.tex
Docs/Configuration.tex
+1
-1
Include/Acidanthera/Library/OcBootManagementLib.h
Include/Acidanthera/Library/OcBootManagementLib.h
+2
-2
Library/OcBootManagementLib/BuiltinPicker.c
Library/OcBootManagementLib/BuiltinPicker.c
+4
-4
未找到文件。
Docs/Configuration.tex
浏览文件 @
ffe3682e
...
...
@@ -3219,7 +3219,7 @@ the default boot entry choice will remain changed until the next manual reconfig
\item
\texttt
{
0x0010
}
---
\texttt
{
OC
\_
ATTR
\_
USE
\_
POINTER
\_
CONTROL
}
, enables pointer control
in the OpenCore picker when available. For example, this could make use of mouse or trackpad to
control UI elements.
\item
\texttt
{
0x0020
}
---
\texttt
{
OC
\_
ATTR
\_
DEBUG
\_
DISPLAY
}
, enable display of additional
\item
\texttt
{
0x0020
}
---
\texttt
{
OC
\_
ATTR
\_
SHOW
\_
DEBUG
\_
DISPLAY
}
, enable display of additional
timing and debug information, in Builtin picker in
\texttt
{
DEBUG
}
and
\texttt
{
NOOPT
}
builds only.
\end{itemize}
...
...
Include/Acidanthera/Library/OcBootManagementLib.h
浏览文件 @
ffe3682e
...
...
@@ -69,11 +69,11 @@ typedef struct OC_HOTKEY_CONTEXT_ OC_HOTKEY_CONTEXT;
#define OC_ATTR_USE_GENERIC_LABEL_IMAGE BIT2
#define OC_ATTR_HIDE_THEMED_ICONS BIT3
#define OC_ATTR_USE_POINTER_CONTROL BIT4
#define OC_ATTR_DEBUG_DISPLAY BIT5
#define OC_ATTR_
SHOW_
DEBUG_DISPLAY BIT5
#define OC_ATTR_ALL_BITS (\
OC_ATTR_USE_VOLUME_ICON | OC_ATTR_USE_DISK_LABEL_FILE | \
OC_ATTR_USE_GENERIC_LABEL_IMAGE | OC_ATTR_HIDE_THEMED_ICONS | \
OC_ATTR_USE_POINTER_CONTROL | OC_ATTR_DEBUG_DISPLAY )
OC_ATTR_USE_POINTER_CONTROL | OC_ATTR_
SHOW_
DEBUG_DISPLAY )
/**
Default timeout for IDLE timeout during menu picker navigation
...
...
Library/OcBootManagementLib/BuiltinPicker.c
浏览文件 @
ffe3682e
...
...
@@ -351,7 +351,7 @@ OcShowSimpleBootMenu (
PlayChosen
=
FALSE
;
DEBUG_CODE_BEGIN
();
if
((
BootContext
->
PickerContext
->
PickerAttributes
&
OC_ATTR_DEBUG_DISPLAY
)
!=
0
)
{
if
((
BootContext
->
PickerContext
->
PickerAttributes
&
OC_ATTR_
SHOW_
DEBUG_DISPLAY
)
!=
0
)
{
DEBUG
((
DEBUG_INFO
,
"OCB: Init builtin picker debug
\n
"
));
InitKbDebugDisplay
();
BootContext
->
PickerContext
->
KbDebug
=
&
mSimplePickerKbDebug
;
...
...
@@ -413,7 +413,7 @@ OcShowSimpleBootMenu (
}
DEBUG_CODE_BEGIN
();
if
((
BootContext
->
PickerContext
->
PickerAttributes
&
OC_ATTR_DEBUG_DISPLAY
)
!=
0
)
{
if
((
BootContext
->
PickerContext
->
PickerAttributes
&
OC_ATTR_
SHOW_
DEBUG_DISPLAY
)
!=
0
)
{
//
// Varying part of milliseconds display
//
...
...
@@ -440,7 +440,7 @@ OcShowSimpleBootMenu (
}
DEBUG_CODE_BEGIN
();
if
((
BootContext
->
PickerContext
->
PickerAttributes
&
OC_ATTR_DEBUG_DISPLAY
)
!=
0
)
{
if
((
BootContext
->
PickerContext
->
PickerAttributes
&
OC_ATTR_
SHOW_
DEBUG_DISPLAY
)
!=
0
)
{
//
// Fixed part of milliseconds display
//
...
...
@@ -503,7 +503,7 @@ OcShowSimpleBootMenu (
#endif
DEBUG_CODE_BEGIN
();
if
((
BootContext
->
PickerContext
->
PickerAttributes
&
OC_ATTR_DEBUG_DISPLAY
)
!=
0
)
{
if
((
BootContext
->
PickerContext
->
PickerAttributes
&
OC_ATTR_
SHOW_
DEBUG_DISPLAY
)
!=
0
)
{
//
// Parts of main debug display which do not need to reprint every frame
// TODO: Could do more here
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录