]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.h
add Edit and HexEdit commands.
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / HexEdit / MemImage.h
1 /** @file
2 Defines MemImage - the view of the file that is visible at any point,
3 as well as the event handlers for editing the file
4
5 Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved. <BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 **/
15
16 #ifndef _LIB_MEM_IMAGE_H_
17 #define _LIB_MEM_IMAGE_H_
18
19 #include "HexEditor.h"
20
21 EFI_STATUS
22 HMemImageInit (
23 VOID
24 );
25 EFI_STATUS
26 HMemImageCleanup (
27 VOID
28 );
29 EFI_STATUS
30 HMemImageBackup (
31 VOID
32 );
33
34 EFI_STATUS
35 HMemImageSetMemOffsetSize (
36 IN UINTN,
37 IN UINTN
38 );
39
40 EFI_STATUS
41 HMemImageRead (
42 IN UINTN,
43 IN UINTN,
44 IN BOOLEAN
45 );
46 EFI_STATUS
47 HMemImageSave (
48 IN UINTN,
49 IN UINTN
50 );
51
52 #endif