Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Luigi Leonardi <[email protected]>
  • Loading branch information
luigix25 committed Dec 17, 2024
1 parent e1ffd55 commit 953029f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c
Original file line number Diff line number Diff line change
Expand Up @@ -2503,6 +2503,8 @@ BmRegisterBootManagerMenu (
OUT EFI_BOOT_MANAGER_LOAD_OPTION *BootOption
)
{
DEBUG ((DEBUG_INFO, "BmRegisterBootManagerMenu\n"));

EFI_STATUS Status;
CHAR16 *Description;
UINTN DescriptionLength;
Expand Down Expand Up @@ -2609,6 +2611,8 @@ EfiBootManagerGetBootManagerMenu (
EFI_BOOT_MANAGER_LOAD_OPTION *BootOption
)
{
DEBUG ((DEBUG_INFO, "EfiBootManagerGetBootManagerMenu\n"));

EFI_STATUS Status;
UINTN BootOptionCount;
EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions;
Expand Down Expand Up @@ -2639,8 +2643,10 @@ EfiBootManagerGetBootManagerMenu (
// Automatically create the Boot#### for Boot Manager Menu when not found.
//
if (Index == BootOptionCount) {
DEBUG ((DEBUG_INFO, "Menu non trovato, aggiungo\n"));
return BmRegisterBootManagerMenu (BootOption);
} else {
DEBUG ((DEBUG_INFO, "Menu trovato!\n"));
return EFI_SUCCESS;
}
}
Expand Down
6 changes: 6 additions & 0 deletions MdeModulePkg/Library/UefiBootManagerLib/BmHotkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,8 @@ BmRegisterHotkeyNotify (
UINTN Index;
VOID *NotifyHandle;

DEBUG ((DEBUG_INFO, "BmRegisterHotkeyNotify\n"));

for (Index = 0; Index < Hotkey->CodeCount; Index++) {
Status = TxtInEx->RegisterKeyNotify (
TxtInEx,
Expand Down Expand Up @@ -661,6 +663,8 @@ BmProcessKeyOption (
IN EFI_BOOT_MANAGER_KEY_OPTION *KeyOption
)
{
DEBUG ((DEBUG_INFO, "BmProcessKeyOption\n"));

EFI_STATUS Status;
EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *TxtInEx;
EFI_HANDLE *Handles;
Expand Down Expand Up @@ -976,6 +980,8 @@ EfiBootManagerAddKeyOptionVariable (
...
)
{
DEBUG ((DEBUG_INFO, "Vorrei registrare tasto\n"));

EFI_STATUS Status;
VA_LIST Args;
VOID *BootOption;
Expand Down

0 comments on commit 953029f

Please sign in to comment.