Skip to content

Commit

Permalink
SecureBootConfigImpl.c TEST Fiddling around
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Gołaś <[email protected]>
  • Loading branch information
philipandag committed Aug 14, 2024
1 parent a2f355a commit 77bb1c7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,6 @@ formset
flags = INTERACTIVE,
key = KEY_PK_INFO;
endif;
suppressif NOT ideqval SECUREBOOT_CONFIGURATION.HasPk == 1;
goto FORMID_SECURE_BOOT_PK_OPTION_FORM,
help = STRING_TOKEN(STR_PK_INFO_HELP),
text = STRING_TOKEN(STR_PK_INFO),
flags = INTERACTIVE,
key = KEY_PK_INFO;
endif;


//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4687,6 +4687,13 @@ SecureBootCallback (
(QuestionId == KEY_SECURE_BOOT_DBX_OPTION) ||
(QuestionId == KEY_SECURE_BOOT_DBT_OPTION))
{
CreatePopUp (
EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE,
&Key,
L"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
L"BBBBBBBBBBBBB",
NULL
);
CloseEnrolledFile (Private->FileContext);
} else if (QuestionId == KEY_SECURE_BOOT_DELETE_ALL_LIST) {
//
Expand All @@ -4696,17 +4703,6 @@ SecureBootCallback (
//
IfrNvData->ListCount = Private->ListCount;
}
if ((QuestionId == KEY_PK_INFO))
{
CreatePopUp (
EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE,
&Key,
L"PK INFO form open",
L"PK INFO 2",
NULL
);
HiiSetString (PrivateData->HiiHandle, STRING_TOKEN (STR_PK_INFO), L"PK INFO form open", NULL);
}
}

goto EXIT;
Expand Down Expand Up @@ -4758,17 +4754,6 @@ SecureBootCallback (
}

break;
case KEY_PK_INFO:
{
CreatePopUp (
EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE,
&Key,
L"PK INFO form changing",
L"PK INFO 2",
NULL
);
HiiSetString (PrivateData->HiiHandle, STRING_TOKEN (STR_PK_INFO), L"PK INFO changing", NULL);
}
case KEY_SECURE_BOOT_KEK_OPTION:
case KEY_SECURE_BOOT_DB_OPTION:
case KEY_SECURE_BOOT_DBX_OPTION:
Expand Down Expand Up @@ -4807,6 +4792,13 @@ SecureBootCallback (
break;
case KEY_SECURE_BOOT_PK_OPTION:
LabelId = FORMID_ENROLL_PK_FORM;
CreatePopUp (
EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE,
&Key,
L"sdfgsfdghdfhhfdhtdh",
L"epofsivnornon",
NULL
);
//
// Refresh selected file.
//
Expand Down

0 comments on commit 77bb1c7

Please sign in to comment.