From 7e0ef4f0692e4b89fa3bd763900cd38bd56c0187 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Wed, 4 May 2022 20:36:07 +0300 Subject: add the settings menu stubs --- UefiMonitorTest/UefiMonitorTest.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'UefiMonitorTest/UefiMonitorTest.c') 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: -- cgit v1.2.3-18-g5258