diff options
author | Joursoir <chat@joursoir.net> | 2022-04-25 22:51:58 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2022-04-25 22:51:58 +0300 |
commit | 9043e43dc2ab374f60080e5963dc60fd1bddabf3 (patch) | |
tree | 5b7ea97610884dfecdf43cbaacd4e7d02024fd95 /UefiMonitorTest | |
parent | 7b7d487c9e30fc4a9480209d4b37aa29b7a61ddd (diff) | |
download | umt-9043e43dc2ab374f60080e5963dc60fd1bddabf3.tar.gz umt-9043e43dc2ab374f60080e5963dc60fd1bddabf3.tar.bz2 umt-9043e43dc2ab374f60080e5963dc60fd1bddabf3.zip |
add the main menu stubs
Diffstat (limited to 'UefiMonitorTest')
-rw-r--r-- | UefiMonitorTest/MainMenu.c | 41 | ||||
-rw-r--r-- | UefiMonitorTest/MainMenu.h | 31 | ||||
-rw-r--r-- | UefiMonitorTest/UefiMonitorTest.c | 3 | ||||
-rw-r--r-- | UefiMonitorTest/UefiMonitorTest.inf | 1 |
4 files changed, 75 insertions, 1 deletions
diff --git a/UefiMonitorTest/MainMenu.c b/UefiMonitorTest/MainMenu.c new file mode 100644 index 0000000..13b5915 --- /dev/null +++ b/UefiMonitorTest/MainMenu.c @@ -0,0 +1,41 @@ +#include "MainMenu.h" + +VOID +MainMenuInit ( + IN UMT_CONTEXT *Ctx + ) +{ + +} + +VOID +MainMenuDoit ( + IN UMT_CONTEXT *Ctx + ) +{ + +} + +VOID +MainMenuTip ( + IN UMT_CONTEXT *Ctx + ) +{ + +} + +VOID +MainMenuKeyRight ( + IN UMT_CONTEXT *Ctx + ) +{ + +} + +VOID +MainMenuKeyLeft ( + IN UMT_CONTEXT *Ctx + ) +{ + +} diff --git a/UefiMonitorTest/MainMenu.h b/UefiMonitorTest/MainMenu.h new file mode 100644 index 0000000..33d7813 --- /dev/null +++ b/UefiMonitorTest/MainMenu.h @@ -0,0 +1,31 @@ +#ifndef UMT_MAIN_MENU_H +#define UMT_MAIN_MENU_H + +#include "UefiMonitorTest.h" + +VOID +MainMenuInit ( + IN UMT_CONTEXT *Ctx + ); + +VOID +MainMenuDoit ( + IN UMT_CONTEXT *Ctx + ); + +VOID +MainMenuTip ( + IN UMT_CONTEXT *Ctx + ); + +VOID +MainMenuKeyRight ( + IN UMT_CONTEXT *Ctx + ); + +VOID +MainMenuKeyLeft ( + IN UMT_CONTEXT *Ctx + ); + +#endif /* UMT_MAIN_MENU_H */ diff --git a/UefiMonitorTest/UefiMonitorTest.c b/UefiMonitorTest/UefiMonitorTest.c index 1ac26e2..8c4eb9c 100644 --- a/UefiMonitorTest/UefiMonitorTest.c +++ b/UefiMonitorTest/UefiMonitorTest.c @@ -6,9 +6,10 @@ #include <Library/UefiBootServicesTableLib.h> #include "UefiMonitorTest.h" +#include "MainMenu.h" STATIC CONST UMT_STATE_ACTIONS mStateActions[UMT_STATE_END] = { - { NULL, NULL, NULL, NULL, NULL } + { MainMenuInit, MainMenuDoit, MainMenuTip, MainMenuKeyRight, MainMenuKeyLeft } }; STATIC diff --git a/UefiMonitorTest/UefiMonitorTest.inf b/UefiMonitorTest/UefiMonitorTest.inf index 067f27a..df169d9 100644 --- a/UefiMonitorTest/UefiMonitorTest.inf +++ b/UefiMonitorTest/UefiMonitorTest.inf @@ -9,6 +9,7 @@ [Sources] UefiMonitorTest.c Graphics.c + MainMenu.c [Packages] MdePkg/MdePkg.dec |