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

Function CheckError

rEFIt_UEFI/refit/screen.cpp:306–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306BOOLEAN CheckError(IN EFI_STATUS Status, IN CONST CHAR16 *where)
307{
308// CHAR16 ErrorName[64];
309
310 if (!EFI_ERROR(Status))
311 return FALSE;
312
313// StatusToString(ErrorName, Status);
314 gST->ConOut->SetAttribute (gST->ConOut, ATTR_ERROR);
315 printf("Error: %s %ls\n", efiStrError(Status), where);
316 gST->ConOut->SetAttribute (gST->ConOut, ATTR_BASIC);
317 haveError = TRUE;
318
319 return TRUE;
320}
321
322//
323// Graphics functions

Callers 8

GetRootFromPathFunction · 0.85
ReinitSelfLibFunction · 0.85
ExtractLegacyLoaderPathsFunction · 0.85
ReinitVolumesFunction · 0.85
LoadEFIImageListFunction · 0.85
StartEFILoadedImageFunction · 0.85
StartLegacyMethod · 0.85
ScanDriverDirFunction · 0.85

Calls 2

printfFunction · 0.85
efiStrErrorFunction · 0.50

Tested by

no test coverage detected