]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / HexEdit / MainHexEditor.h
CommitLineData
632820d1 1/** @file\r
ba0014b9
LG
2 Defines the Main Editor data type -\r
3 - Global variables\r
632820d1 4 - Instances of the other objects of the editor\r
5 - Main Interfaces\r
ba0014b9
LG
6\r
7 Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved. <BR>\r
56ba3746 8 SPDX-License-Identifier: BSD-2-Clause-Patent\r
632820d1 9\r
10**/\r
11\r
12#ifndef _LIB_EDITOR_H_\r
13#define _LIB_EDITOR_H_\r
14\r
15#include "HexEditor.h"\r
16\r
a1d4bfcc 17/**\r
18 Init function for MainEditor\r
19\r
20 @retval EFI_SUCCESS The operation was successful.\r
a048af3c 21 @retval EFI_LOAD_ERROR A load error occurred.\r
a1d4bfcc 22**/\r
632820d1 23EFI_STATUS\r
24HMainEditorInit (\r
25 VOID\r
26 );\r
a1d4bfcc 27\r
28/**\r
29 Cleanup function for MainEditor.\r
30\r
31 @retval EFI_SUCCESS The operation was successful.\r
a048af3c 32 @retval EFI_LOAD_ERROR A load error occurred.\r
a1d4bfcc 33**/\r
632820d1 34EFI_STATUS\r
35HMainEditorCleanup (\r
36 VOID\r
37 );\r
a1d4bfcc 38\r
39/**\r
40 Refresh function for MainEditor.\r
41\r
42 @retval EFI_SUCCESS The operation was successful.\r
43**/\r
632820d1 44EFI_STATUS\r
45HMainEditorRefresh (\r
46 VOID\r
47 );\r
a1d4bfcc 48\r
49/**\r
50 Handle user key input. will route it to other components handle function.\r
51\r
52 @retval EFI_SUCCESS The operation was successful.\r
a048af3c
MK
53 @retval EFI_OUT_OF_RESOURCES A memory allocation occurred.\r
54 @retval EFI_LOAD_ERROR A load error occurred.\r
a1d4bfcc 55**/\r
632820d1 56EFI_STATUS\r
57HMainEditorKeyInput (\r
58 VOID\r
59 );\r
60\r
61/**\r
62 Backup function for MainEditor.\r
63**/\r
64VOID\r
632820d1 65HMainEditorBackup (\r
66 VOID\r
67 );\r
a1d4bfcc 68\r
632820d1 69#endif\r