aboutsummaryrefslogtreecommitdiffstats
path: root/UefiMonitorTest/UefiMonitorTest.c
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-05-04 20:36:07 +0300
committerJoursoir <chat@joursoir.net>2022-05-04 20:36:07 +0300
commit7e0ef4f0692e4b89fa3bd763900cd38bd56c0187 (patch)
tree496b499e84d5dd9e8cd46a0d7e7cae93a585fa53 /UefiMonitorTest/UefiMonitorTest.c
parent42a1a3f9800e96621a91228918cf24f37639f510 (diff)
downloadumt-7e0ef4f0692e4b89fa3bd763900cd38bd56c0187.tar.gz
umt-7e0ef4f0692e4b89fa3bd763900cd38bd56c0187.tar.bz2
umt-7e0ef4f0692e4b89fa3bd763900cd38bd56c0187.zip
add the settings menu stubs
Diffstat (limited to 'UefiMonitorTest/UefiMonitorTest.c')
-rw-r--r--UefiMonitorTest/UefiMonitorTest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/UefiMonitorTest/UefiMonitorTest.c b/UefiMonitorTest/UefiMonitorTest.c
index 63429d7..29efa8d 100644
--- a/UefiMonitorTest/UefiMonitorTest.c
+++ b/UefiMonitorTest/UefiMonitorTest.c
@@ -10,9 +10,11 @@
#include "UefiMonitorTest.h"
#include "MainMenu.h"
+#include "SettingsMenu.h"
STATIC CONST UMT_STATE_ACTIONS mStateActions[UMT_STATE_END] = {
- { MainMenuInit, MainMenuDoit, MainMenuTip, MainMenuChangeParam, MainMenuChangeValue }
+ { MainMenuInit, MainMenuDoit, MainMenuTip, MainMenuChangeParam, MainMenuChangeValue },
+ { SettingsMenuInit, SettingsMenuDoit, SettingsMenuTip, SettingsChangeParam, SettingsMenuChangeValue }
};
EFI_HII_HANDLE gUmtHiiHandle = NULL;
@@ -167,6 +169,7 @@ HandleInput (
break;
case SCAN_F12:
+ ChangeCtxState (Ctx, UMT_STATE_SETTINGS);
break;
case SCAN_ESC: