TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS | HMainCommandDisplayHelp (VOID) |
EFI_STATUS | HMainCommandGoToOffset (VOID) |
EFI_STATUS | HMainCommandSaveBuffer (VOID) |
EFI_STATUS | HMainCommandSelectStart (VOID) |
EFI_STATUS | HMainCommandSelectEnd (VOID) |
EFI_STATUS | HMainCommandCut (VOID) |
EFI_STATUS | HMainCommandPaste (VOID) |
EFI_STATUS | HMainCommandExit (VOID) |
EFI_STATUS | HMainCommandOpenFile (VOID) |
EFI_STATUS | HMainCommandOpenDisk (VOID) |
EFI_STATUS | HMainCommandOpenMemory (VOID) |
EFI_STATUS | HMainEditorInit (VOID) |
EFI_STATUS | HMainEditorCleanup (VOID) |
EFI_STATUS | HMainEditorRefresh (VOID) |
EFI_STATUS | HMainEditorHandleMouseInput (IN EFI_SIMPLE_POINTER_STATE MouseState, OUT BOOLEAN *BeforeLeftButtonDown) |
EFI_STATUS | HMainEditorKeyInput (VOID) |
VOID | HMainEditorBackup (VOID) |
Variables | |
HEFI_EDITOR_COLOR_ATTRIBUTES | HOriginalColors |
INTN | HOriginalMode |
BOOLEAN | HEditorFirst |
BOOLEAN | HEditorExit |
BOOLEAN | HEditorMouseAction |
HEFI_EDITOR_BUFFER_IMAGE | HBufferImage |
HEFI_EDITOR_BUFFER_IMAGE | HBufferImageBackupVar |
BOOLEAN | HBufferImageMouseNeedRefresh |
BOOLEAN | HBufferImageNeedRefresh |
BOOLEAN | HBufferImageOnlyLineNeedRefresh |
HEFI_EDITOR_GLOBAL_EDITOR | HMainEditor |
HEFI_EDITOR_GLOBAL_EDITOR | HMainEditorBackupVar |
HEFI_EDITOR_GLOBAL_EDITOR | HMainEditorConst |
EFI_STRING_ID | HexMainMenuHelpInfo [] |
MENU_ITEM_FUNCTION | HexMainControlBasedMenuFunctions [] |
CONST EDITOR_MENU_ITEM | HexEditorMenuItems [] |
Defines the Main Editor data type -
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file MainHexEditor.c.
EFI_STATUS HMainCommandCut | ( | VOID | ) |
Cut current line to clipboard.
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation occurred. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 641 of file MainHexEditor.c.
EFI_STATUS HMainCommandDisplayHelp | ( | VOID | ) |
show help menu.
EFI_SUCCESS | The operation was successful. |
Definition at line 98 of file MainHexEditor.c.
EFI_STATUS HMainCommandExit | ( | VOID | ) |
Exit editor.
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation occurred. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 772 of file MainHexEditor.c.
EFI_STATUS HMainCommandGoToOffset | ( | VOID | ) |
Move cursor to specified lines.
EFI_SUCCESS | The operation was successful. |
Definition at line 177 of file MainHexEditor.c.
EFI_STATUS HMainCommandOpenDisk | ( | VOID | ) |
Load a disk buffer editor.
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation occurred. |
EFI_LOAD_ERROR | A load error occurred. |
EFI_NOT_FOUND | The disk was not found. |
Definition at line 1100 of file MainHexEditor.c.
EFI_STATUS HMainCommandOpenFile | ( | VOID | ) |
Load a file from disk to editor.
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation occurred. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 862 of file MainHexEditor.c.
EFI_STATUS HMainCommandOpenMemory | ( | VOID | ) |
Load memory content to editor
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation occurred. |
EFI_LOAD_ERROR | A load error occurred. |
EFI_NOT_FOUND | The disk was not found. |
Definition at line 1348 of file MainHexEditor.c.
EFI_STATUS HMainCommandPaste | ( | VOID | ) |
Paste line to file buffer.
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation occurred. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 715 of file MainHexEditor.c.
EFI_STATUS HMainCommandSaveBuffer | ( | VOID | ) |
Save current opened buffer. If is file buffer, you can save to current file name or save to another file name.
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation occurred. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 260 of file MainHexEditor.c.
EFI_STATUS HMainCommandSelectEnd | ( | VOID | ) |
Load a disk buffer editor.
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation occurred. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 603 of file MainHexEditor.c.
EFI_STATUS HMainCommandSelectStart | ( | VOID | ) |
Load a disk buffer editor.
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation occurred. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 565 of file MainHexEditor.c.
VOID HMainEditorBackup | ( | VOID | ) |
Backup function for MainEditor.
Definition at line 2396 of file MainHexEditor.c.
EFI_STATUS HMainEditorCleanup | ( | VOID | ) |
Cleanup function for MainEditor.
EFI_SUCCESS | The operation was successful. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 1813 of file MainHexEditor.c.
EFI_STATUS HMainEditorHandleMouseInput | ( | IN EFI_SIMPLE_POINTER_STATE | MouseState, |
OUT BOOLEAN * | BeforeLeftButtonDown | ||
) |
Handle the mouse input.
[in] | MouseState | The current mouse state. |
[out] | BeforeLeftButtonDown | helps with selections. |
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation occurred. |
EFI_LOAD_ERROR | A load error occurred. |
EFI_NOT_FOUND | The disk was not found. |
Definition at line 1974 of file MainHexEditor.c.
EFI_STATUS HMainEditorInit | ( | VOID | ) |
Init function for MainEditor
EFI_SUCCESS | The operation was successful. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 1653 of file MainHexEditor.c.
EFI_STATUS HMainEditorKeyInput | ( | VOID | ) |
Handle user key input. will route it to other components handle function.
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation occurred. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 2129 of file MainHexEditor.c.
EFI_STATUS HMainEditorRefresh | ( | VOID | ) |
Refresh function for MainEditor.
EFI_SUCCESS | The operation was successful. |
Definition at line 1862 of file MainHexEditor.c.
|
extern |
Definition at line 27 of file BufferImage.c.
|
extern |
Definition at line 28 of file BufferImage.c.
|
extern |
Definition at line 69 of file BufferImage.c.
|
extern |
Definition at line 62 of file BufferImage.c.
|
extern |
Definition at line 67 of file BufferImage.c.
BOOLEAN HEditorExit |
Definition at line 27 of file MainHexEditor.c.
BOOLEAN HEditorFirst |
Definition at line 22 of file MainHexEditor.c.
BOOLEAN HEditorMouseAction |
Definition at line 29 of file MainHexEditor.c.
CONST EDITOR_MENU_ITEM HexEditorMenuItems[] |
Definition at line 1585 of file MainHexEditor.c.
MENU_ITEM_FUNCTION HexMainControlBasedMenuFunctions[] |
EFI_STRING_ID HexMainMenuHelpInfo[] |
Help info that will be displayed.
Definition at line 65 of file MainHexEditor.c.
HEFI_EDITOR_GLOBAL_EDITOR HMainEditor |
Definition at line 38 of file MainHexEditor.c.
HEFI_EDITOR_GLOBAL_EDITOR HMainEditorBackupVar |
Definition at line 39 of file MainHexEditor.c.
HEFI_EDITOR_GLOBAL_EDITOR HMainEditorConst |
Definition at line 44 of file MainHexEditor.c.
HEFI_EDITOR_COLOR_ATTRIBUTES HOriginalColors |
Definition at line 16 of file MainHexEditor.c.
INTN HOriginalMode |
Definition at line 17 of file MainHexEditor.c.