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

Function ModifyTitles

rEFIt_UEFI/refit/menu.cpp:1553–1569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1551}
1552
1553VOID ModifyTitles(REFIT_ABSTRACT_MENU_ENTRY *ChosenEntry)
1554{
1555 if (ChosenEntry->SubScreen->ID == SCREEN_DSDT) {
1556 ChosenEntry->Title.SWPrintf("DSDT fix mask [0x%08x]->", gSettings.FixDsdt);
1557 //MsgLog("@ESC: %ls\n", (*ChosenEntry)->Title);
1558 } else if (ChosenEntry->SubScreen->ID == SCREEN_CSR) {
1559 // CSR
1560 ChosenEntry->Title.SWPrintf("System Integrity Protection [0x%04x]->", gSettings.CsrActiveConfig);
1561 // check for the right booter flag to allow the application
1562 // of the new System Integrity Protection configuration.
1563 if (gSettings.CsrActiveConfig != 0 && gSettings.BooterConfig == 0) {
1564 gSettings.BooterConfig = 0x28;
1565 }
1566 } else if (ChosenEntry->SubScreen->ID == SCREEN_BLC) {
1567 ChosenEntry->Title.SWPrintf("boot_args->flags [0x%04hx]->", gSettings.BooterConfig);
1568 }
1569}
1570
1571REFIT_ABSTRACT_MENU_ENTRY *SubMenuGraphics()
1572{

Callers 5

SubMenuDsdtFixFunction · 0.85
SubMenuCSRFunction · 0.85
SubMenuBLCFunction · 0.85
SubMenuQuirksFunction · 0.85
OptionsMenuFunction · 0.85

Calls 1

SWPrintfMethod · 0.80

Tested by

no test coverage detected