TianoCore EDK2 master
Loading...
Searching...
No Matches
EdbSupport.h
Go to the documentation of this file.
1
9#ifndef _EFI_EDB_SUPPORT_H_
10#define _EFI_EDB_SUPPORT_H_
11
12#include <Uefi.h>
13
14#define EFI_DEBUG_PROMPT_STRING L"EDB > "
15#define EFI_DEBUG_PROMPT_COLUMN 5
16#define EFI_DEBUG_INPUS_BUFFER_SIZE 64
17
18#define EFI_DEBUGGER_LINE_NUMBER_IN_PAGE 0x10
19
20#define EFI_DEBUG_MAX_PRINT_BUFFER (80 * 4)
21
30EFIAPI
31Xtoi (
32 CHAR16 *Str
33 );
34
42UINT64
43EFIAPI
44LXtoi (
45 CHAR16 *Str
46 );
47
56EFIAPI
57Atoi (
58 CHAR16 *Str
59 );
60
69EFIAPI
71 CHAR8 *Str
72 );
73
82EFIAPI
84 CHAR8 *Str
85 );
86
99INTN
100EFIAPI
102 IN CHAR16 *String,
103 IN CHAR8 *String2
104 );
105
118INTN
119EFIAPI
120StriCmp (
121 IN CHAR16 *String,
122 IN CHAR16 *String2
123 );
124
137INTN
138EFIAPI
140 IN CHAR16 *String,
141 IN CHAR8 *String2
142 );
143
152BOOLEAN
153EFIAPI
155 IN CHAR16 *Str,
156 IN CHAR16 *SubStr
157 );
158
165CHAR16 *
166EFIAPI
168 IN CHAR16 *Src
169 );
170
179CHAR16 *
180EFIAPI
182 IN CHAR16 *String,
183 IN CHAR16 *CharSet
184 );
185
193CHAR16 *
194EFIAPI
196 IN CHAR16 *CharSet
197 );
198
207CHAR16 *
208EFIAPI
210 IN CHAR16 *String,
211 IN CHAR16 *CharSet
212 );
213
221CHAR16 *
222EFIAPI
224 IN CHAR16 *CharSet
225 );
226
235VOID
236EFIAPI
238 IN CHAR16 *Buffer,
239 IN CHAR16 Patch
240 );
241
249VOID
250EFIAPI
252 IN CHAR16 *Buffer,
253 IN CHAR16 Patch
254 );
255
264CHAR8 *
265EFIAPI
267 IN CHAR8 *String,
268 IN CHAR8 *CharSet
269 );
270
278CHAR8 *
279EFIAPI
281 IN CHAR8 *CharSet
282 );
283
292CHAR8 *
293EFIAPI
295 IN CHAR8 *String,
296 IN CHAR8 *CharSet
297 );
298
306CHAR8 *
307EFIAPI
309 IN CHAR8 *CharSet
310 );
311
320VOID
321EFIAPI
323 IN CHAR8 *Buffer,
324 IN CHAR8 Patch
325 );
326
334VOID
335EFIAPI
337 IN CHAR8 *Buffer,
338 IN CHAR8 Patch
339 );
340
351VOID
352EFIAPI
353Input (
354 IN CHAR16 *Prompt OPTIONAL,
355 OUT CHAR16 *InStr,
357 );
358
364BOOLEAN
365EFIAPI
367 VOID
368 );
369
378UINTN
379EFIAPI
380EDBPrint (
381 IN CONST CHAR16 *Format,
382 ...
383 );
384
396UINTN
397EFIAPI
398EDBSPrint (
399 OUT CHAR16 *Buffer,
400 IN INTN BufferSize,
401 IN CONST CHAR16 *Format,
402 ...
403 );
404
417UINTN
418EFIAPI
420 OUT CHAR16 *Buffer,
421 IN INTN BufferSize,
422 IN UINTN Offset,
423 IN CONST CHAR16 *Format,
424 ...
425 );
426
447EFIAPI
449 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
450 IN CHAR16 *FileName,
451 OUT UINTN *BufferSize,
452 OUT VOID **Buffer,
453 IN BOOLEAN ScanFs
454 );
455
468CHAR16 *
469EFIAPI
471 IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate,
472 IN CHAR16 *DirName,
473 IN CHAR16 *FileName,
474 IN OUT UINTN *Index
475 );
476
477#endif
UINT64 UINTN
INT64 INTN
UINTN EFIAPI StrLen(IN CONST CHAR16 *String)
Definition: String.c:30
VOID EFIAPI PatchForAsciiStrTokenAfter(IN CHAR8 *Buffer, IN CHAR8 Patch)
CHAR8 *EFIAPI AsciiStrGetNewTokenLine(IN CHAR8 *String, IN CHAR8 *CharSet)
UINTN EFIAPI AsciiAtoi(CHAR8 *Str)
VOID EFIAPI PatchForAsciiStrTokenBefore(IN CHAR8 *Buffer, IN CHAR8 Patch)
BOOLEAN EFIAPI StrEndWith(IN CHAR16 *Str, IN CHAR16 *SubStr)
EFI_STATUS EFIAPI ReadFileToBuffer(IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN CHAR16 *FileName, OUT UINTN *BufferSize, OUT VOID **Buffer, IN BOOLEAN ScanFs)
VOID EFIAPI PatchForStrTokenAfter(IN CHAR16 *Buffer, IN CHAR16 Patch)
UINTN EFIAPI EDBSPrint(OUT CHAR16 *Buffer, IN INTN BufferSize, IN CONST CHAR16 *Format,...)
Definition: EdbSupportUI.c:719
CHAR16 *EFIAPI StrGetNewTokenLine(IN CHAR16 *String, IN CHAR16 *CharSet)
UINTN EFIAPI Xtoi(CHAR16 *Str)
CHAR16 *EFIAPI StrGetNewTokenField(IN CHAR16 *String, IN CHAR16 *CharSet)
BOOLEAN EFIAPI SetPageBreak(VOID)
Definition: EdbSupportUI.c:605
CHAR16 *EFIAPI StrGetNextTokenLine(IN CHAR16 *CharSet)
VOID EFIAPI Input(IN CHAR16 *Prompt OPTIONAL, OUT CHAR16 *InStr, IN UINTN StrLen)
Definition: EdbSupportUI.c:187
CHAR16 *EFIAPI StrDuplicate(IN CHAR16 *Src)
UINTN EFIAPI Atoi(CHAR16 *Str)
UINT64 EFIAPI LXtoi(CHAR16 *Str)
UINTN EFIAPI EDBPrint(IN CONST CHAR16 *Format,...)
Definition: EdbSupportUI.c:683
UINTN EFIAPI AsciiXtoi(CHAR8 *Str)
INTN EFIAPI StriCmpUnicodeAndAscii(IN CHAR16 *String, IN CHAR8 *String2)
INTN EFIAPI StrCmpUnicodeAndAscii(IN CHAR16 *String, IN CHAR8 *String2)
VOID EFIAPI PatchForStrTokenBefore(IN CHAR16 *Buffer, IN CHAR16 Patch)
UINTN EFIAPI EDBSPrintWithOffset(OUT CHAR16 *Buffer, IN INTN BufferSize, IN UINTN Offset, IN CONST CHAR16 *Format,...)
Definition: EdbSupportUI.c:752
CHAR8 *EFIAPI AsciiStrGetNextTokenLine(IN CHAR8 *CharSet)
CHAR8 *EFIAPI AsciiStrGetNextTokenField(IN CHAR8 *CharSet)
CHAR8 *EFIAPI AsciiStrGetNewTokenField(IN CHAR8 *String, IN CHAR8 *CharSet)
CHAR16 *EFIAPI StrGetNextTokenField(IN CHAR16 *CharSet)
INTN EFIAPI StriCmp(IN CHAR16 *String, IN CHAR16 *String2)
CHAR16 *EFIAPI GetFileNameUnderDir(IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN CHAR16 *DirName, IN CHAR16 *FileName, IN OUT UINTN *Index)
#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