TianoCore EDK2 master
|
#include "HexEditor.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | HMemImageInit (VOID) |
EFI_STATUS | HMemImageBackup (VOID) |
EFI_STATUS | HMemImageSetMemOffsetSize (IN UINTN Offset, IN UINTN Size) |
EFI_STATUS | HMemImageRead (IN UINTN Offset, IN UINTN Size, IN BOOLEAN Recover) |
EFI_STATUS | HMemImageSave (IN UINTN Offset, IN UINTN Size) |
Functions to deal with Mem buffer
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file MemImage.c.
EFI_STATUS HMemImageBackup | ( | VOID | ) |
Backup function for HDiskImage. Only a few fields need to be backup. This is for making the Disk buffer refresh as few as possible.
EFI_SUCCESS | The operation was successful. |
Definition at line 70 of file MemImage.c.
EFI_STATUS HMemImageInit | ( | VOID | ) |
Initialization function for HDiskImage.
EFI_SUCCESS | The operation was successful. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 40 of file MemImage.c.
Read a disk from disk into HBufferImage.
[in] | Offset | The offset. |
[in] | Size | The size. |
[in] | Recover | if is for recover, no information print. |
EFI_LOAD_ERROR | A load error occurred. |
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
Definition at line 113 of file MemImage.c.
EFI_STATUS HMemImageSave | ( | IN UINTN | Offset, |
IN UINTN | Size | ||
) |
Save lines in HBufferImage to disk.
[in] | Offset | The offset. |
[in] | Size | The size. |
EFI_LOAD_ERROR | A load error occurred. |
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
Definition at line 221 of file MemImage.c.
EFI_STATUS HMemImageSetMemOffsetSize | ( | IN UINTN | Offset, |
IN UINTN | Size | ||
) |
Set FileName field in HFileImage.
[in] | Offset | The offset. |
[in] | Size | The size. |
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
Definition at line 90 of file MemImage.c.
|
extern |
Definition at line 27 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.
|
extern |
Definition at line 38 of file MainHexEditor.c.
HEFI_EDITOR_MEM_IMAGE HMemImage |
Definition at line 21 of file MemImage.c.
HEFI_EDITOR_MEM_IMAGE HMemImageBackupVar |
Definition at line 22 of file MemImage.c.
HEFI_EDITOR_MEM_IMAGE HMemImageConst |
Definition at line 27 of file MemImage.c.