| 1551 | } |
| 1552 | |
| 1553 | VOID 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 | |
| 1571 | REFIT_ABSTRACT_MENU_ENTRY *SubMenuGraphics() |
| 1572 | { |
no test coverage detected