diff options
-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 |