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) |
Defines MemImage - the view of the file that is visible at any point, as well as the event handlers for editing the file
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file MemImage.h.
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.