Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit25ec415

Browse files
neilsh-msftspbrogan
authored andcommitted
Remove unused code from MsPlatform.c (microsoft#6)
1 parent9590194 commit25ec415

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

‎MsCorePkg/Library/PlatformBootManagerLib/MsPlatform.c‎

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -163,33 +163,6 @@ PlatformBootManagerBdsEntry (
163163
return;
164164
}
165165

166-
static
167-
VOID
168-
RebootToFrontPage (
169-
VOID
170-
)
171-
{
172-
UINT64OsIndication;
173-
EFI_STATUSStatus;
174-
175-
176-
OsIndication=EFI_OS_INDICATIONS_BOOT_TO_FW_UI;
177-
Status=gRT->SetVariable (
178-
L"OsIndications",
179-
&gEfiGlobalVariableGuid,
180-
EFI_VARIABLE_BOOTSERVICE_ACCESS |EFI_VARIABLE_RUNTIME_ACCESS |EFI_VARIABLE_NON_VOLATILE,
181-
sizeof(UINT64),
182-
&OsIndication
183-
);
184-
if (EFI_ERROR(Status)) {
185-
DEBUG((DEBUG_ERROR,"Unable to set OsIndications\n"));
186-
}
187-
DEBUG((DEBUG_INFO,"%a Resetting system.\n",__FUNCTION__));
188-
gRT->ResetSystem(EfiResetWarm,EFI_SUCCESS,0,NULL);
189-
190-
CpuDeadLoop ();
191-
}
192-
193166
/**
194167
ProcessBootCompletion
195168
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp