MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / DisableMessage

Function DisableMessage

rEFIt_UEFI/entry_scan/secureboot.cpp:163–175  ·  view source on GitHub ↗

Alert message for disable failure

Source from the content-addressed store, hash-verified

161
162// Alert message for disable failure
163STATIC VOID DisableMessage(IN EFI_STATUS Status,
164 IN CHAR16 *String,
165 IN CHAR16 *ErrorString)
166{
167 XStringW Str;
168 if (ErrorString != NULL) {
169 Str = SWPrintf(L"%ls\n%ls\n%ls", String, ErrorString, efiStrError(Status));
170 } else {
171 Str = SWPrintf(L"%s\n%s", String, efiStrError(Status));
172 }
173 DBG("Secure Boot: %ls", Str.wc_str());
174 AlertMessage(L"Disable Secure Boot", Str);
175}
176
177// Disable secure boot
178VOID DisableSecureBoot(VOID)

Callers 1

DisableSecureBootFunction · 0.85

Calls 4

SWPrintfFunction · 0.85
AlertMessageFunction · 0.85
efiStrErrorFunction · 0.50
wc_strMethod · 0.45

Tested by

no test coverage detected