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

Method StartTool

rEFIt_UEFI/refit/main.cpp:1058–1067  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1056//
1057
1058VOID REFIT_MENU_ENTRY_LOADER_TOOL::StartTool()
1059{
1060 DBG("Start Tool: %ls\n", LoaderPath.wc_str());
1061 egClearScreen(&MenuBackgroundPixel);
1062 // assumes "Start <title>" as assigned below
1063 BeginExternalScreen(OSFLAG_ISSET(Flags, OSFLAG_USEGRAPHICS)/*, &Entry->Title[6]*/); // Shouldn't we check that length of Title is at least 6 ?
1064 StartEFIImage(DevicePath, LoadOptions, Basename(LoaderPath.wc_str()), LoaderPath.basename(), NULL, NULL);
1065 FinishExternalScreen();
1066 //ReinitSelfLib();
1067}
1068
1069//
1070// pre-boot driver functions

Callers 1

RefitMainFunction · 0.80

Calls 7

egClearScreenFunction · 0.85
BeginExternalScreenFunction · 0.85
StartEFIImageFunction · 0.85
BasenameFunction · 0.85
FinishExternalScreenFunction · 0.85
basenameMethod · 0.80
wc_strMethod · 0.45

Tested by

no test coverage detected