TianoCore EDK2 master
Loading...
Searching...
No Matches
BufferImage.h
Go to the documentation of this file.
1
10#ifndef _LIB_BUFFER_IMAGE_H_
11#define _LIB_BUFFER_IMAGE_H_
12
13#include "HexEditor.h"
14
23 VOID
24 );
25
33 VOID
34 );
35
45 VOID
46 );
47
65 IN EFI_INPUT_KEY *Key
66 );
67
76 VOID
77 );
78
95 IN CONST CHAR16 *FileName,
96 IN CONST CHAR16 *DiskName,
97 IN UINTN DiskOffset,
98 IN UINTN DiskSize,
99 IN UINTN MemOffset,
100 IN UINTN MemSize,
101 IN EDIT_FILE_TYPE BufferType,
102 IN BOOLEAN Recover
103 );
104
120 IN CHAR16 *FileName,
121 IN CHAR16 *DiskName,
122 IN UINTN DiskOffset,
123 IN UINTN DiskSize,
124 IN UINTN MemOffset,
125 IN UINTN MemSize,
126 IN EDIT_FILE_TYPE BufferType
127 );
128
136VOID
138 IN UINTN NewFilePosRow,
139 IN UINTN NewFilePosCol,
140 IN BOOLEAN HighBits
141 );
142
155 VOID
156 );
157
165 VOID
166 );
167
179 IN UINTN Pos,
180 IN UINTN Count,
181 OUT UINT8 *DeleteBuffer
182 );
183
195 IN UINTN Pos,
196 IN UINTN Count,
197 IN UINT8 *AddBuffer
198 );
199
211 IN VOID *Buffer,
212 IN UINTN Bytes
213 );
214
225 IN VOID *Buffer,
226 IN UINTN Bytes
227 );
228
235VOID
237 IN INT32 TextX,
238 IN INT32 TextY
239 );
240
250BOOLEAN
252 IN UINTN Column,
253 OUT UINTN *FCol
254 );
255
261UINTN
263 VOID
264 );
265
266#endif
UINT64 UINTN
EFI_STATUS HBufferImageHandleInput(IN EFI_INPUT_KEY *Key)
Definition: BufferImage.c:2387
VOID HBufferImageAdjustMousePosition(IN INT32 TextX, IN INT32 TextY)
Definition: BufferImage.c:2291
EFI_STATUS HBufferImageRefresh(VOID)
Definition: BufferImage.c:740
EFI_STATUS HBufferImageAddCharacterToBuffer(IN UINTN Pos, IN UINTN Count, IN UINT8 *AddBuffer)
Definition: BufferImage.c:2018
EFI_STATUS HBufferImageRead(IN CONST CHAR16 *FileName, IN CONST CHAR16 *DiskName, IN UINTN DiskOffset, IN UINTN DiskSize, IN UINTN MemOffset, IN UINTN MemSize, IN EDIT_FILE_TYPE BufferType, IN BOOLEAN Recover)
Definition: BufferImage.c:909
EFI_STATUS HBufferImageFree(VOID)
Definition: BufferImage.c:1082
UINTN HBufferImageGetTotalSize(VOID)
Definition: BufferImage.c:1850
EFI_STATUS HBufferImageSave(IN CHAR16 *FileName, IN CHAR16 *DiskName, IN UINTN DiskOffset, IN UINTN DiskSize, IN UINTN MemOffset, IN UINTN MemSize, IN EDIT_FILE_TYPE BufferType)
Definition: BufferImage.c:976
EFI_STATUS HBufferImageBackup(VOID)
Definition: BufferImage.c:141
EFI_STATUS HBufferImageListToBuffer(IN VOID *Buffer, IN UINTN Bytes)
Definition: BufferImage.c:2238
BOOLEAN HBufferImageIsAtHighBits(IN UINTN Column, OUT UINTN *FCol)
Definition: BufferImage.c:425
EFI_STATUS HBufferImageBufferToList(IN VOID *Buffer, IN UINTN Bytes)
Definition: BufferImage.c:2175
VOID HBufferImageMovePosition(IN UINTN NewFilePosRow, IN UINTN NewFilePosCol, IN BOOLEAN HighBits)
Definition: BufferImage.c:1419
EFI_STATUS HBufferImageDeleteCharacterFromBuffer(IN UINTN Pos, IN UINTN Count, OUT UINT8 *DeleteBuffer)
Definition: BufferImage.c:1889
EFI_STATUS HBufferImageInit(VOID)
Definition: BufferImage.c:78
HEFI_EDITOR_LINE * HBufferImageCreateLine(VOID)
Definition: BufferImage.c:1040
EFI_STATUS HBufferImageCleanup(VOID)
Definition: BufferImage.c:211
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29