TianoCore EDK2 master
|
#include "HexEditor.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | HDiskImageInit (VOID) |
EFI_STATUS | HDiskImageCleanup (VOID) |
EFI_STATUS | HDiskImageBackup (VOID) |
EFI_STATUS | HDiskImageRead (IN CONST CHAR16 *DeviceName, IN UINTN Offset, IN UINTN Size, IN BOOLEAN Recover) |
EFI_STATUS | HDiskImageSave (IN CHAR16 *DeviceName, IN UINTN Offset, IN UINTN Size) |
Defines DiskImage - 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 DiskImage.h.
EFI_STATUS HDiskImageBackup | ( | 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. |
EFI_OUT_OF_RESOURCES | gST->ConOut of resources. |
Definition at line 63 of file DiskImage.c.
EFI_STATUS HDiskImageCleanup | ( | VOID | ) |
Cleanup function for HDiskImage.
EFI_SUCCESS | The operation was successful. |
Definition at line 90 of file DiskImage.c.
EFI_STATUS HDiskImageInit | ( | VOID | ) |
Initialization function for HDiskImage.
EFI_SUCCESS | The operation was successful. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 41 of file DiskImage.c.
EFI_STATUS HDiskImageRead | ( | IN CONST CHAR16 * | DeviceName, |
IN UINTN | Offset, | ||
IN UINTN | Size, | ||
IN BOOLEAN | Recover | ||
) |
Read a disk from disk into HBufferImage.
[in] | DeviceName | filename to read. |
[in] | Offset | The offset. |
[in] | Size | The size. |
[in] | Recover | if is for recover, no information print. |
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
EFI_LOAD_ERROR | A load error occurred. |
EFI_INVALID_PARAMETER | A parameter was invalid. |
Definition at line 154 of file DiskImage.c.
Save lines in HBufferImage to disk. NOT ALLOW TO WRITE TO ANOTHER DISK!!!!!!!!!
[in] | DeviceName | The device name. |
[in] | Offset | The offset. |
[in] | Size | The size. |
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
EFI_LOAD_ERROR | A load error occurred. |
EFI_INVALID_PARAMETER | A parameter was invalid. |
Definition at line 329 of file DiskImage.c.