]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.h
add Edit and HexEdit commands.
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / HexEdit / MemImage.h
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.h
new file mode 100644 (file)
index 0000000..8805c0d
--- /dev/null
@@ -0,0 +1,52 @@
+/** @file\r
+  Defines MemImage - the view of the file that is visible at any point, \r
+  as well as the event handlers for editing the file\r
+  \r
+  Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved. <BR>\r
+  This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef _LIB_MEM_IMAGE_H_\r
+#define _LIB_MEM_IMAGE_H_\r
+\r
+#include "HexEditor.h"\r
+\r
+EFI_STATUS\r
+HMemImageInit (\r
+  VOID\r
+  );\r
+EFI_STATUS\r
+HMemImageCleanup (\r
+  VOID\r
+  );\r
+EFI_STATUS\r
+HMemImageBackup (\r
+  VOID\r
+  );\r
+\r
+EFI_STATUS\r
+HMemImageSetMemOffsetSize (\r
+  IN UINTN,\r
+  IN UINTN\r
+  );\r
+\r
+EFI_STATUS\r
+HMemImageRead (\r
+  IN UINTN,\r
+  IN UINTN,\r
+  IN BOOLEAN\r
+  );\r
+EFI_STATUS\r
+HMemImageSave (\r
+  IN UINTN,\r
+  IN UINTN\r
+  );\r
+\r
+#endif\r