Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
c577c341
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,发现更多精彩内容 >>
提交
c577c341
编写于
2月 08, 2020
作者:
V
vit9696
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OcBootManagementLib: Implement colouring picker
上级
58f5c7ec
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
0 deletion
+10
-0
Include/Library/OcBootManagementLib.h
Include/Library/OcBootManagementLib.h
+4
-0
Include/Library/OcConfigurationLib.h
Include/Library/OcConfigurationLib.h
+1
-0
Library/OcBootManagementLib/OcBootManagementLib.c
Library/OcBootManagementLib/OcBootManagementLib.c
+4
-0
Library/OcConfigurationLib/OcConfigurationLib.c
Library/OcConfigurationLib/OcConfigurationLib.c
+1
-0
未找到文件。
Include/Library/OcBootManagementLib.h
浏览文件 @
c577c341
...
...
@@ -399,6 +399,10 @@ typedef struct {
//
CONST
CHAR8
*
TitleSuffix
;
//
// Console attributes. 0 is reserved as disabled.
//
UINT32
ConsoleAttributes
;
//
// Enable polling boot arguments.
//
BOOLEAN
PollAppleHotKeys
;
...
...
Include/Library/OcConfigurationLib.h
浏览文件 @
c577c341
...
...
@@ -271,6 +271,7 @@
_(BOOLEAN , PollAppleHotKeys , , FALSE , ()) \
_(BOOLEAN , ShowPicker , , FALSE , ()) \
_(BOOLEAN , UsePicker , , FALSE , ()) \
_(UINT32 , PickerAttributes , , 0 , ()) \
_(UINT32 , TakeoffDelay , , 0 , ()) \
_(UINT32 , Timeout , , 0 , ()) \
_(OC_STRING , HibernateMode , , OC_STRING_CONSTR ("None", _, __), OC_DESTR (OC_STRING))
...
...
Library/OcBootManagementLib/OcBootManagementLib.c
浏览文件 @
c577c341
...
...
@@ -76,6 +76,10 @@ OcShowSimpleBootMenu (
OcConsoleControlSetMode
(
EfiConsoleControlScreenText
);
gST
->
ConOut
->
EnableCursor
(
gST
->
ConOut
,
FALSE
);
if
(
Context
->
ConsoleAttributes
!=
0
)
{
gST
->
ConOut
->
SetAttribute
(
gST
->
ConOut
,
Context
->
ConsoleAttributes
&
0x7FU
);
}
while
(
TRUE
)
{
gST
->
ConOut
->
ClearScreen
(
gST
->
ConOut
);
gST
->
ConOut
->
OutputString
(
gST
->
ConOut
,
L"OpenCore Boot Menu"
);
...
...
Library/OcConfigurationLib/OcConfigurationLib.c
浏览文件 @
c577c341
...
...
@@ -319,6 +319,7 @@ OC_SCHEMA
mMiscConfigurationBootSchema
[]
=
{
OC_SCHEMA_STRING_IN
(
"HibernateMode"
,
OC_GLOBAL_CONFIG
,
Misc
.
Boot
.
HibernateMode
),
OC_SCHEMA_BOOLEAN_IN
(
"HideSelf"
,
OC_GLOBAL_CONFIG
,
Misc
.
Boot
.
HideSelf
),
OC_SCHEMA_INTEGER_IN
(
"PickerAttributes"
,
OC_GLOBAL_CONFIG
,
Misc
.
Boot
.
PickerAttributes
),
OC_SCHEMA_BOOLEAN_IN
(
"PollAppleHotKeys"
,
OC_GLOBAL_CONFIG
,
Misc
.
Boot
.
PollAppleHotKeys
),
OC_SCHEMA_BOOLEAN_IN
(
"ShowPicker"
,
OC_GLOBAL_CONFIG
,
Misc
.
Boot
.
ShowPicker
),
OC_SCHEMA_INTEGER_IN
(
"TakeoffDelay"
,
OC_GLOBAL_CONFIG
,
Misc
.
Boot
.
TakeoffDelay
),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录