Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chen A Chen <chen.a.chen@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Ruiyu Ni <Ruiyu.ni@intel.com>
34 files changed:
@param[in] Data The dword to put.\r
**/\r
VOID\r
@param[in] Data The dword to put.\r
**/\r
VOID\r
PutDword(\r
IN UINT32 Data\r
);\r
PutDword(\r
IN UINT32 Data\r
);\r
MakeCrcTable (\r
VOID\r
)\r
MakeCrcTable (\r
VOID\r
)\r
@param[in] Data The dword to put.\r
**/\r
VOID\r
@param[in] Data The dword to put.\r
**/\r
VOID\r
PutDword (\r
IN UINT32 Data\r
)\r
PutDword (\r
IN UINT32 Data\r
)\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
AllocateMemory (\r
VOID\r
)\r
AllocateMemory (\r
VOID\r
)\r
FreeMemory (\r
VOID\r
)\r
FreeMemory (\r
VOID\r
)\r
Initialize String Info Log data structures.\r
**/\r
VOID\r
Initialize String Info Log data structures.\r
**/\r
VOID\r
Child (\r
IN NODE LoopVar6,\r
IN UINT8 LoopVar5\r
Child (\r
IN NODE LoopVar6,\r
IN UINT8 LoopVar5\r
@param[in] LoopVar4 The child node.\r
**/\r
VOID\r
@param[in] LoopVar4 The child node.\r
**/\r
VOID\r
MakeChild (\r
IN NODE LoopVar6,\r
IN UINT8 LoopVar5,\r
MakeChild (\r
IN NODE LoopVar6,\r
IN UINT8 LoopVar5,\r
@param[in] Old The node to split.\r
**/\r
VOID\r
@param[in] Old The node to split.\r
**/\r
VOID\r
Split (\r
IN NODE Old\r
)\r
Split (\r
IN NODE Old\r
)\r
InsertNode (\r
VOID\r
)\r
InsertNode (\r
VOID\r
)\r
DeleteNode (\r
VOID\r
)\r
DeleteNode (\r
VOID\r
)\r
@return The number of bytes actually read.\r
**/\r
INT32\r
@return The number of bytes actually read.\r
**/\r
INT32\r
FreadCrc (\r
OUT UINT8 *LoopVar7,\r
IN INT32 LoopVar8\r
FreadCrc (\r
OUT UINT8 *LoopVar7,\r
IN INT32 LoopVar8\r
@retval FALSE The operation failed due to insufficient memory.\r
**/\r
BOOLEAN\r
@retval FALSE The operation failed due to insufficient memory.\r
**/\r
BOOLEAN\r
GetNextMatch (\r
VOID\r
)\r
GetNextMatch (\r
VOID\r
)\r
@param[in] LoopVar1 The index of the item to move.\r
**/\r
VOID\r
@param[in] LoopVar1 The index of the item to move.\r
**/\r
VOID\r
DownHeap (\r
IN INT32 i\r
)\r
DownHeap (\r
IN INT32 i\r
)\r
@param[in] LoopVar1 The top node.\r
**/\r
VOID\r
@param[in] LoopVar1 The top node.\r
**/\r
VOID\r
CountLen (\r
IN INT32 LoopVar1\r
)\r
CountLen (\r
IN INT32 LoopVar1\r
)\r
@param[in] Root The root of the tree.\r
**/\r
VOID\r
@param[in] Root The root of the tree.\r
**/\r
VOID\r
MakeLen (\r
IN INT32 Root\r
)\r
MakeLen (\r
IN INT32 Root\r
)\r
@param[out] Code The stores codes for each symbol.\r
**/\r
VOID\r
@param[out] Code The stores codes for each symbol.\r
**/\r
VOID\r
MakeCode (\r
IN INT32 LoopVar8,\r
IN UINT8 Len[ ],\r
MakeCode (\r
IN INT32 LoopVar8,\r
IN UINT8 Len[ ],\r
@return The root of the Huffman tree.\r
**/\r
INT32\r
@return The root of the Huffman tree.\r
**/\r
INT32\r
MakeTree (\r
IN INT32 NParm,\r
IN UINT16 FreqParm[ ],\r
MakeTree (\r
IN INT32 NParm,\r
IN UINT16 FreqParm[ ],\r
@param[in] x The data.\r
**/\r
VOID\r
@param[in] x The data.\r
**/\r
VOID\r
PutBits (\r
IN INT32 LoopVar8,\r
IN UINT32 x\r
PutBits (\r
IN INT32 LoopVar8,\r
IN UINT32 x\r
@param[in] LoopVar5 The number to encode.\r
**/\r
VOID\r
@param[in] LoopVar5 The number to encode.\r
**/\r
VOID\r
EncodeC (\r
IN INT32 LoopVar5\r
)\r
EncodeC (\r
IN INT32 LoopVar5\r
)\r
@param[in] LoopVar7 The number to encode.\r
**/\r
VOID\r
@param[in] LoopVar7 The number to encode.\r
**/\r
VOID\r
EncodeP (\r
IN UINT32 LoopVar7\r
)\r
EncodeP (\r
IN UINT32 LoopVar7\r
)\r
CountTFreq (\r
VOID\r
)\r
CountTFreq (\r
VOID\r
)\r
WritePTLen (\r
IN INT32 LoopVar8,\r
IN INT32 nbit,\r
WritePTLen (\r
IN INT32 LoopVar8,\r
IN INT32 nbit,\r
Outputs the code length array for Char&Length Set.\r
**/\r
VOID\r
Outputs the code length array for Char&Length Set.\r
**/\r
VOID\r
HufEncodeStart (\r
VOID\r
)\r
HufEncodeStart (\r
VOID\r
)\r
@param[in] LoopVar7 The 'Position' field of a Pointer.\r
**/\r
VOID\r
@param[in] LoopVar7 The 'Position' field of a Pointer.\r
**/\r
VOID\r
CompressOutput (\r
IN UINT32 LoopVar5,\r
IN UINT32 LoopVar7\r
CompressOutput (\r
IN UINT32 LoopVar5,\r
IN UINT32 LoopVar7\r
HufEncodeEnd (\r
VOID\r
)\r
HufEncodeEnd (\r
VOID\r
)\r
@retval EFI_OUT_0F_RESOURCES Not enough memory for compression process.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_0F_RESOURCES Not enough memory for compression process.\r
**/\r
EFI_STATUS\r
@retval EFI_BUFFER_TOO_SMALL The buffer was too small. DstSize is required.\r
**/\r
EFI_STATUS\r
@retval EFI_BUFFER_TOO_SMALL The buffer was too small. DstSize is required.\r
**/\r
EFI_STATUS\r
Compress (\r
IN VOID *SrcBuffer,\r
IN UINT64 SrcSize,\r
Compress (\r
IN VOID *SrcBuffer,\r
IN UINT64 SrcSize,\r
@retval SHELL_SUCCESS The display was successful.\r
**/\r
SHELL_STATUS\r
@retval SHELL_SUCCESS The display was successful.\r
**/\r
SHELL_STATUS\r
DisplayTheBlocks(\r
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevPath,\r
IN CONST UINT64 Lba,\r
DisplayTheBlocks(\r
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevPath,\r
IN CONST UINT64 Lba,\r
@return A printable character representing Char.\r
**/\r
CHAR16\r
@return A printable character representing Char.\r
**/\r
CHAR16\r
MakePrintable(\r
IN CONST CHAR16 Char\r
)\r
MakePrintable(\r
IN CONST CHAR16 Char\r
)\r
@param[in] Size The length of memory to display.\r
**/\r
SHELL_STATUS\r
@param[in] Size The length of memory to display.\r
**/\r
SHELL_STATUS\r
DisplayMmioMemory(\r
IN CONST VOID *Address,\r
IN CONST UINTN Size\r
DisplayMmioMemory(\r
IN CONST VOID *Address,\r
IN CONST UINTN Size\r
@retval The attribute string info.\r
**/\r
CHAR16 *\r
@retval The attribute string info.\r
**/\r
CHAR16 *\r
GetAttrType (\r
IN CONST UINT32 Atts\r
)\r
GetAttrType (\r
IN CONST UINT32 Atts\r
)\r
@retval SHELL_NOT_FOUND the Name/Guid pair could not be found.\r
**/\r
SHELL_STATUS\r
@retval SHELL_NOT_FOUND the Name/Guid pair could not be found.\r
**/\r
SHELL_STATUS\r
CascadeProcessVariables (\r
IN CONST CHAR16 *Name OPTIONAL,\r
IN CONST EFI_GUID *Guid OPTIONAL,\r
CascadeProcessVariables (\r
IN CONST CHAR16 *Name OPTIONAL,\r
IN CONST EFI_GUID *Guid OPTIONAL,\r
@retval SHELL_NOT_FOUND the Name/Guid pair could not be found.\r
**/\r
SHELL_STATUS\r
@retval SHELL_NOT_FOUND the Name/Guid pair could not be found.\r
**/\r
SHELL_STATUS\r
ProcessVariables (\r
IN CONST CHAR16 *Name OPTIONAL,\r
IN CONST EFI_GUID *Guid OPTIONAL,\r
ProcessVariables (\r
IN CONST CHAR16 *Name OPTIONAL,\r
IN CONST EFI_GUID *Guid OPTIONAL,\r
@param EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@param EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
FileBufferInit (\r
VOID\r
)\r
FileBufferInit (\r
VOID\r
)\r
@retval EFI_SUCCESS The backup operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The backup operation was successful.\r
**/\r
EFI_STATUS\r
FileBufferBackup (\r
VOID\r
)\r
FileBufferBackup (\r
VOID\r
)\r
@return The line structure after the advance.\r
**/\r
EFI_EDITOR_LINE *\r
@return The line structure after the advance.\r
**/\r
EFI_EDITOR_LINE *\r
InternalEditorMiscLineAdvance (\r
IN CONST UINTN Count,\r
IN CONST EFI_EDITOR_LINE *CurrentLine,\r
InternalEditorMiscLineAdvance (\r
IN CONST UINTN Count,\r
IN CONST EFI_EDITOR_LINE *CurrentLine,\r
@return The line structure after the retreat.\r
**/\r
EFI_EDITOR_LINE *\r
@return The line structure after the retreat.\r
**/\r
EFI_EDITOR_LINE *\r
InternalEditorMiscLineRetreat (\r
IN CONST UINTN Count,\r
IN CONST EFI_EDITOR_LINE *CurrentLine,\r
InternalEditorMiscLineRetreat (\r
IN CONST UINTN Count,\r
IN CONST EFI_EDITOR_LINE *CurrentLine,\r
@retval EFI_SUCCESS The backup operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The backup operation was successful.\r
**/\r
EFI_STATUS\r
FileBufferRestoreMousePosition (\r
VOID\r
)\r
FileBufferRestoreMousePosition (\r
VOID\r
)\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
FileBufferFreeLines (\r
VOID\r
)\r
FileBufferFreeLines (\r
VOID\r
)\r
@retval EFI_SUCCESS The cleanup was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The cleanup was successful.\r
**/\r
EFI_STATUS\r
FileBufferCleanup (\r
VOID\r
)\r
FileBufferCleanup (\r
VOID\r
)\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
FileBufferRestorePosition (\r
VOID\r
)\r
FileBufferRestorePosition (\r
VOID\r
)\r
@retval EFI_LOAD_ERROR There was an error finding what to write.\r
**/\r
EFI_STATUS\r
@retval EFI_LOAD_ERROR There was an error finding what to write.\r
**/\r
EFI_STATUS\r
FileBufferRefresh (\r
VOID\r
)\r
FileBufferRefresh (\r
VOID\r
)\r
@return The line created.\r
**/\r
EFI_EDITOR_LINE *\r
@return The line created.\r
**/\r
EFI_EDITOR_LINE *\r
FileBufferCreateLine (\r
VOID\r
)\r
FileBufferCreateLine (\r
VOID\r
)\r
@retval EFI_INVALID_PARAMETER Str is not a valid filename.\r
**/\r
EFI_STATUS\r
@retval EFI_INVALID_PARAMETER Str is not a valid filename.\r
**/\r
EFI_STATUS\r
FileBufferSetFileName (\r
IN CONST CHAR16 *Str\r
)\r
FileBufferSetFileName (\r
IN CONST CHAR16 *Str\r
)\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
FileBufferFree (\r
VOID\r
)\r
FileBufferFree (\r
VOID\r
)\r
@retval EFI_INVALID_PARAMETER FileName is a directory.\r
**/\r
EFI_STATUS\r
@retval EFI_INVALID_PARAMETER FileName is a directory.\r
**/\r
EFI_STATUS\r
FileBufferRead (\r
IN CONST CHAR16 *FileName,\r
IN CONST BOOLEAN Recover\r
FileBufferRead (\r
IN CONST CHAR16 *FileName,\r
IN CONST BOOLEAN Recover\r
@param[out] Size The amount of the buffer used on return.\r
**/\r
VOID\r
@param[out] Size The amount of the buffer used on return.\r
**/\r
VOID\r
GetNewLine (\r
IN CONST EE_NEWLINE_TYPE Type,\r
OUT CHAR8 *Buffer,\r
GetNewLine (\r
IN CONST EE_NEWLINE_TYPE Type,\r
OUT CHAR8 *Buffer,\r
@return The actuall length.\r
**/\r
UINTN\r
@return The actuall length.\r
**/\r
UINTN\r
UnicodeToAscii (\r
IN CONST CHAR16 *UStr,\r
IN CONST UINTN Length,\r
UnicodeToAscii (\r
IN CONST CHAR16 *UStr,\r
IN CONST UINTN Length,\r
@retval EFI_OUT_OF_RESOURCES There were not enough resources to write the file.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES There were not enough resources to write the file.\r
**/\r
EFI_STATUS\r
FileBufferSave (\r
IN CONST CHAR16 *FileName\r
)\r
FileBufferSave (\r
IN CONST CHAR16 *FileName\r
)\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
FileBufferScrollLeft (\r
VOID\r
)\r
FileBufferScrollLeft (\r
VOID\r
)\r
@param[in] Pos Position to delete the char at ( start from 0 ).\r
**/\r
VOID\r
@param[in] Pos Position to delete the char at ( start from 0 ).\r
**/\r
VOID\r
LineDeleteAt (\r
IN OUT EFI_EDITOR_LINE *Line,\r
IN UINTN Pos\r
LineDeleteAt (\r
IN OUT EFI_EDITOR_LINE *Line,\r
IN UINTN Pos\r
@param[in] Src Src String.\r
**/\r
VOID\r
@param[in] Src Src String.\r
**/\r
VOID\r
LineCat (\r
IN OUT EFI_EDITOR_LINE *Dest,\r
IN EFI_EDITOR_LINE *Src\r
LineCat (\r
IN OUT EFI_EDITOR_LINE *Dest,\r
IN EFI_EDITOR_LINE *Src\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
FileBufferDoBackspace (\r
VOID\r
)\r
FileBufferDoBackspace (\r
VOID\r
)\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
FileBufferDoReturn (\r
VOID\r
)\r
FileBufferDoReturn (\r
VOID\r
)\r
@retval EFI_SUCCESS\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS\r
**/\r
EFI_STATUS\r
FileBufferDoDelete (\r
VOID\r
)\r
FileBufferDoDelete (\r
VOID\r
)\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
FileBufferScrollRight (\r
VOID\r
)\r
FileBufferScrollRight (\r
VOID\r
)\r
@return The new string size ( include CHAR_NULL ) ( unit is Unicode character ).\r
**/\r
UINTN\r
@return The new string size ( include CHAR_NULL ) ( unit is Unicode character ).\r
**/\r
UINTN\r
LineStrInsert (\r
IN EFI_EDITOR_LINE *Line,\r
IN CHAR16 Char,\r
LineStrInsert (\r
IN EFI_EDITOR_LINE *Line,\r
IN CHAR16 Char,\r
@retval EFI_SUCCESS The input was succesful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The input was succesful.\r
**/\r
EFI_STATUS\r
FileBufferAddChar (\r
IN CHAR16 Char\r
)\r
FileBufferAddChar (\r
IN CHAR16 Char\r
)\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
FileBufferDoCharInput (\r
IN CONST CHAR16 Char\r
)\r
FileBufferDoCharInput (\r
IN CONST CHAR16 Char\r
)\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
FileBufferScrollDown (\r
VOID\r
)\r
FileBufferScrollDown (\r
VOID\r
)\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
FileBufferScrollUp (\r
VOID\r
)\r
FileBufferScrollUp (\r
VOID\r
)\r
@retval EFI_SUCCESS The operation wa successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation wa successful.\r
**/\r
EFI_STATUS\r
FileBufferPageDown (\r
VOID\r
)\r
FileBufferPageDown (\r
VOID\r
)\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
FileBufferPageUp (\r
VOID\r
)\r
FileBufferPageUp (\r
VOID\r
)\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
FileBufferEnd (\r
VOID\r
)\r
FileBufferEnd (\r
VOID\r
)\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
FileBufferHandleInput (\r
IN CONST EFI_INPUT_KEY *Key\r
)\r
FileBufferHandleInput (\r
IN CONST EFI_INPUT_KEY *Key\r
)\r
@retval FALSE It is not above the current screen.\r
**/\r
BOOLEAN\r
@retval FALSE It is not above the current screen.\r
**/\r
BOOLEAN\r
AboveCurrentScreen (\r
IN UINTN FileRow\r
)\r
AboveCurrentScreen (\r
IN UINTN FileRow\r
)\r
@retval FALSE It is not under the current screen.\r
**/\r
BOOLEAN\r
@retval FALSE It is not under the current screen.\r
**/\r
BOOLEAN\r
UnderCurrentScreen (\r
IN UINTN FileRow\r
)\r
UnderCurrentScreen (\r
IN UINTN FileRow\r
)\r
@retval FALSE It is not to the left.\r
**/\r
BOOLEAN\r
@retval FALSE It is not to the left.\r
**/\r
BOOLEAN\r
LeftCurrentScreen (\r
IN UINTN FileCol\r
)\r
LeftCurrentScreen (\r
IN UINTN FileCol\r
)\r
@retval FALSE It is not to the right.\r
**/\r
BOOLEAN\r
@retval FALSE It is not to the right.\r
**/\r
BOOLEAN\r
RightCurrentScreen (\r
IN UINTN FileCol\r
)\r
RightCurrentScreen (\r
IN UINTN FileCol\r
)\r
@return The line after advance/retreat.\r
**/\r
EFI_EDITOR_LINE *\r
@return The line after advance/retreat.\r
**/\r
EFI_EDITOR_LINE *\r
MoveCurrentLine (\r
IN INTN Count\r
)\r
MoveCurrentLine (\r
IN INTN Count\r
)\r
@param[in] NewFilePosCol The column of file position ( start from 1 ).\r
**/\r
VOID\r
@param[in] NewFilePosCol The column of file position ( start from 1 ).\r
**/\r
VOID\r
FileBufferMovePosition (\r
IN CONST UINTN NewFilePosRow,\r
IN CONST UINTN NewFilePosCol\r
FileBufferMovePosition (\r
IN CONST UINTN NewFilePosRow,\r
IN CONST UINTN NewFilePosCol\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
FileBufferCutLine (\r
OUT EFI_EDITOR_LINE **CutLine\r
)\r
FileBufferCutLine (\r
OUT EFI_EDITOR_LINE **CutLine\r
)\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
FileBufferPasteLine (\r
VOID\r
)\r
FileBufferPasteLine (\r
VOID\r
)\r
@retval EFI_NOT_FOUND The string Str was not found.\r
**/\r
EFI_STATUS\r
@retval EFI_NOT_FOUND The string Str was not found.\r
**/\r
EFI_STATUS\r
FileBufferSearch (\r
IN CONST CHAR16 *Str,\r
IN CONST UINTN Offset\r
FileBufferSearch (\r
IN CONST CHAR16 *Str,\r
IN CONST UINTN Offset\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
FileBufferReplace (\r
IN CONST CHAR16 *Replace,\r
IN CONST UINTN SearchLen\r
FileBufferReplace (\r
IN CONST CHAR16 *Replace,\r
IN CONST UINTN SearchLen\r
@param[in] TextY The new y-coordinate.\r
**/\r
VOID\r
@param[in] TextY The new y-coordinate.\r
**/\r
VOID\r
FileBufferAdjustMousePosition (\r
IN CONST INT32 TextX,\r
IN CONST INT32 TextY\r
FileBufferAdjustMousePosition (\r
IN CONST INT32 TextX,\r
IN CONST INT32 TextY\r
@param[in] Offset The column to start at.\r
**/\r
EFI_STATUS\r
@param[in] Offset The column to start at.\r
**/\r
EFI_STATUS\r
FileBufferReplaceAll (\r
IN CHAR16 *SearchStr,\r
IN CHAR16 *ReplaceStr,\r
FileBufferReplaceAll (\r
IN CHAR16 *SearchStr,\r
IN CHAR16 *ReplaceStr,\r
Set the modified state to TRUE.\r
**/\r
VOID\r
Set the modified state to TRUE.\r
**/\r
VOID\r
FileBufferSetModified (\r
VOID\r
)\r
FileBufferSetModified (\r
VOID\r
)\r
@param EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@param EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
FileBufferInit (\r
VOID\r
);\r
FileBufferInit (\r
VOID\r
);\r
@retval EFI_SUCCESS The cleanup was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The cleanup was successful.\r
**/\r
EFI_STATUS\r
FileBufferCleanup (\r
VOID\r
);\r
FileBufferCleanup (\r
VOID\r
);\r
@retval EFI_LOAD_ERROR There was an error finding what to write.\r
**/\r
EFI_STATUS\r
@retval EFI_LOAD_ERROR There was an error finding what to write.\r
**/\r
EFI_STATUS\r
FileBufferRefresh (\r
VOID\r
);\r
FileBufferRefresh (\r
VOID\r
);\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
FileBufferHandleInput (\r
IN CONST EFI_INPUT_KEY * Key\r
);\r
FileBufferHandleInput (\r
IN CONST EFI_INPUT_KEY * Key\r
);\r
@retval EFI_SUCCESS The backup operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The backup operation was successful.\r
**/\r
EFI_STATUS\r
FileBufferBackup (\r
VOID\r
);\r
FileBufferBackup (\r
VOID\r
);\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
FileBufferRestorePosition (\r
VOID\r
);\r
FileBufferRestorePosition (\r
VOID\r
);\r
@retval EFI_INVALID_PARAMETER Str is not a valid filename.\r
**/\r
EFI_STATUS\r
@retval EFI_INVALID_PARAMETER Str is not a valid filename.\r
**/\r
EFI_STATUS\r
FileBufferSetFileName (\r
IN CONST CHAR16 *Str\r
);\r
FileBufferSetFileName (\r
IN CONST CHAR16 *Str\r
);\r
@retval EFI_INVALID_PARAMETER FileName is a directory.\r
**/\r
EFI_STATUS\r
@retval EFI_INVALID_PARAMETER FileName is a directory.\r
**/\r
EFI_STATUS\r
FileBufferRead (\r
IN CONST CHAR16 *FileName,\r
IN CONST BOOLEAN Recover\r
FileBufferRead (\r
IN CONST CHAR16 *FileName,\r
IN CONST BOOLEAN Recover\r
@retval EFI_OUT_OF_RESOURCES There were not enough resources to write the file.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES There were not enough resources to write the file.\r
**/\r
EFI_STATUS\r
FileBufferSave (\r
CONST CHAR16 *FileName\r
);\r
FileBufferSave (\r
CONST CHAR16 *FileName\r
);\r
@param[in] NewFilePosCol The column of file position ( start from 1 ).\r
**/\r
VOID\r
@param[in] NewFilePosCol The column of file position ( start from 1 ).\r
**/\r
VOID\r
FileBufferMovePosition (\r
IN CONST UINTN NewFilePosRow,\r
IN CONST UINTN NewFilePosCol\r
FileBufferMovePosition (\r
IN CONST UINTN NewFilePosRow,\r
IN CONST UINTN NewFilePosCol\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
FileBufferCutLine (\r
OUT EFI_EDITOR_LINE **CutLine\r
);\r
FileBufferCutLine (\r
OUT EFI_EDITOR_LINE **CutLine\r
);\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
FileBufferPasteLine (\r
VOID\r
);\r
FileBufferPasteLine (\r
VOID\r
);\r
@retval EFI_NOT_FOUND The string Str was not found.\r
**/\r
EFI_STATUS\r
@retval EFI_NOT_FOUND The string Str was not found.\r
**/\r
EFI_STATUS\r
FileBufferSearch (\r
IN CONST CHAR16 *Str,\r
IN CONST UINTN Offset\r
FileBufferSearch (\r
IN CONST CHAR16 *Str,\r
IN CONST UINTN Offset\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
FileBufferReplace (\r
IN CONST CHAR16 *Replace,\r
IN CONST UINTN SearchLen\r
FileBufferReplace (\r
IN CONST CHAR16 *Replace,\r
IN CONST UINTN SearchLen\r
@param[in] Offset The column to start at.\r
**/\r
EFI_STATUS\r
@param[in] Offset The column to start at.\r
**/\r
EFI_STATUS\r
FileBufferReplaceAll (\r
IN CHAR16 *SearchStr,\r
IN CHAR16 *ReplaceStr,\r
FileBufferReplaceAll (\r
IN CHAR16 *SearchStr,\r
IN CHAR16 *ReplaceStr,\r
@param[in] TextY The new y-coordinate.\r
**/\r
VOID\r
@param[in] TextY The new y-coordinate.\r
**/\r
VOID\r
FileBufferAdjustMousePosition (\r
IN CONST INT32 TextX,\r
IN CONST INT32 TextY\r
FileBufferAdjustMousePosition (\r
IN CONST INT32 TextX,\r
IN CONST INT32 TextY\r
Set the modified state to TRUE.\r
**/\r
VOID\r
Set the modified state to TRUE.\r
**/\r
VOID\r
FileBufferSetModified (\r
VOID\r
);\r
FileBufferSetModified (\r
VOID\r
);\r
@retval EFI_LOAD_ERROR A load error occured.\r
**/\r
EFI_STATUS\r
@retval EFI_LOAD_ERROR A load error occured.\r
**/\r
EFI_STATUS\r
MainEditorInit (\r
VOID\r
)\r
MainEditorInit (\r
VOID\r
)\r
@retval EFI_LOAD_ERROR A load error occured.\r
**/\r
EFI_STATUS\r
@retval EFI_LOAD_ERROR A load error occured.\r
**/\r
EFI_STATUS\r
MainEditorCleanup (\r
VOID\r
)\r
MainEditorCleanup (\r
VOID\r
)\r
Refresh the main editor component.\r
**/\r
VOID\r
Refresh the main editor component.\r
**/\r
VOID\r
MainEditorRefresh (\r
VOID\r
)\r
MainEditorRefresh (\r
VOID\r
)\r
@return The X location of the mouse.\r
**/\r
INT32\r
@return The X location of the mouse.\r
**/\r
INT32\r
GetTextX (\r
IN INT32 GuidX\r
)\r
GetTextX (\r
IN INT32 GuidX\r
)\r
@return The Y location of the mouse.\r
**/\r
INT32\r
@return The Y location of the mouse.\r
**/\r
INT32\r
GetTextY (\r
IN INT32 GuidY\r
)\r
GetTextY (\r
IN INT32 GuidY\r
)\r
@retval EFI_NOT_FOUND There was no mouse support found.\r
**/\r
EFI_STATUS\r
@retval EFI_NOT_FOUND There was no mouse support found.\r
**/\r
EFI_STATUS\r
MainEditorHandleMouseInput (\r
IN EFI_SIMPLE_POINTER_STATE MouseState\r
)\r
MainEditorHandleMouseInput (\r
IN EFI_SIMPLE_POINTER_STATE MouseState\r
)\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
MainEditorKeyInput (\r
VOID\r
)\r
MainEditorKeyInput (\r
VOID\r
)\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
MainEditorSetCutLine (\r
EFI_EDITOR_LINE *Line\r
)\r
MainEditorSetCutLine (\r
EFI_EDITOR_LINE *Line\r
)\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
MainEditorBackup (\r
VOID\r
)\r
MainEditorBackup (\r
VOID\r
)\r
@retval EFI_LOAD_ERROR A load error occured.\r
**/\r
EFI_STATUS\r
@retval EFI_LOAD_ERROR A load error occured.\r
**/\r
EFI_STATUS\r
MainEditorInit (\r
VOID\r
);\r
MainEditorInit (\r
VOID\r
);\r
@retval EFI_LOAD_ERROR A load error occured.\r
**/\r
EFI_STATUS\r
@retval EFI_LOAD_ERROR A load error occured.\r
**/\r
EFI_STATUS\r
MainEditorCleanup (\r
VOID\r
);\r
MainEditorCleanup (\r
VOID\r
);\r
Refresh the main editor component.\r
**/\r
VOID\r
Refresh the main editor component.\r
**/\r
VOID\r
MainEditorRefresh (\r
VOID\r
);\r
MainEditorRefresh (\r
VOID\r
);\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
MainEditorKeyInput (\r
VOID\r
);\r
MainEditorKeyInput (\r
VOID\r
);\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
MainEditorBackup (\r
VOID\r
);\r
MainEditorBackup (\r
VOID\r
);\r
@return a pointer to the newly allcoated line.\r
**/\r
EFI_EDITOR_LINE *\r
@return a pointer to the newly allcoated line.\r
**/\r
EFI_EDITOR_LINE *\r
LineDup (\r
IN EFI_EDITOR_LINE *Src\r
)\r
LineDup (\r
IN EFI_EDITOR_LINE *Src\r
)\r
@param Src The line structure to free.\r
**/\r
VOID\r
@param Src The line structure to free.\r
**/\r
VOID\r
LineFree (\r
IN EFI_EDITOR_LINE *Src\r
)\r
LineFree (\r
IN EFI_EDITOR_LINE *Src\r
)\r
@param Src The line structure to free.\r
**/\r
VOID\r
@param Src The line structure to free.\r
**/\r
VOID\r
LineFree (\r
IN EFI_EDITOR_LINE *Src\r
);\r
LineFree (\r
IN EFI_EDITOR_LINE *Src\r
);\r
@return a pointer to the newly allcoated line.\r
**/\r
EFI_EDITOR_LINE *\r
@return a pointer to the newly allcoated line.\r
**/\r
EFI_EDITOR_LINE *\r
LineDup (\r
IN EFI_EDITOR_LINE *Src\r
);\r
LineDup (\r
IN EFI_EDITOR_LINE *Src\r
);\r
Initialize the input bar.\r
**/\r
VOID\r
Initialize the input bar.\r
**/\r
VOID\r
InputBarInit (\r
VOID\r
)\r
InputBarInit (\r
VOID\r
)\r
Cleanup function for input bar.\r
**/\r
VOID\r
Cleanup function for input bar.\r
**/\r
VOID\r
InputBarCleanup (\r
VOID\r
)\r
InputBarCleanup (\r
VOID\r
)\r
@param[in] LastRow The last printable row.\r
**/\r
VOID\r
@param[in] LastRow The last printable row.\r
**/\r
VOID\r
InputBarPrintInput (\r
IN UINTN LastColumn,\r
IN UINTN LastRow\r
InputBarPrintInput (\r
IN UINTN LastColumn,\r
IN UINTN LastRow\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
InputBarRefresh (\r
UINTN LastRow,\r
UINTN LastColumn\r
InputBarRefresh (\r
UINTN LastRow,\r
UINTN LastColumn\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
InputBarSetPrompt (\r
IN CONST CHAR16 *Str\r
)\r
InputBarSetPrompt (\r
IN CONST CHAR16 *Str\r
)\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
InputBarSetStringSize (\r
UINTN Size\r
)\r
InputBarSetStringSize (\r
UINTN Size\r
)\r
@return The string that was input.\r
**/\r
CONST CHAR16*\r
@return The string that was input.\r
**/\r
CONST CHAR16*\r
InputBarGetString (\r
VOID\r
)\r
InputBarGetString (\r
VOID\r
)\r
Initialize the input bar.\r
**/\r
VOID\r
Initialize the input bar.\r
**/\r
VOID\r
InputBarInit (\r
VOID\r
);\r
InputBarInit (\r
VOID\r
);\r
Cleanup function for input bar.\r
**/\r
VOID\r
Cleanup function for input bar.\r
**/\r
VOID\r
InputBarCleanup (\r
VOID\r
);\r
InputBarCleanup (\r
VOID\r
);\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
InputBarRefresh (\r
UINTN LastRow,\r
UINTN LastColumn\r
InputBarRefresh (\r
UINTN LastRow,\r
UINTN LastColumn\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
InputBarSetPrompt (\r
IN CONST CHAR16 *Str\r
);\r
InputBarSetPrompt (\r
IN CONST CHAR16 *Str\r
);\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
InputBarSetStringSize (\r
UINTN Size\r
);\r
InputBarSetStringSize (\r
UINTN Size\r
);\r
@return The string that was input.\r
**/\r
CONST CHAR16*\r
@return The string that was input.\r
**/\r
CONST CHAR16*\r
InputBarGetString (\r
VOID\r
);\r
InputBarGetString (\r
VOID\r
);\r
Cleanup function for a menu bar. frees all allocated memory.\r
**/\r
VOID\r
Cleanup function for a menu bar. frees all allocated memory.\r
**/\r
VOID\r
MenuBarCleanup (\r
VOID\r
)\r
MenuBarCleanup (\r
VOID\r
)\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
MenuBarInit (\r
IN CONST EDITOR_MENU_ITEM *Items\r
)\r
MenuBarInit (\r
IN CONST EDITOR_MENU_ITEM *Items\r
)\r
@retval EFI_SUCCESS The initialization was correct.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The initialization was correct.\r
**/\r
EFI_STATUS\r
ControlHotKeyInit (\r
IN MENU_ITEM_FUNCTION *Items\r
)\r
ControlHotKeyInit (\r
IN MENU_ITEM_FUNCTION *Items\r
)\r
@retval EFI_SUCCESS The refresh was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The refresh was successful.\r
**/\r
EFI_STATUS\r
MenuBarRefresh (\r
IN CONST UINTN LastRow,\r
IN CONST UINTN LastCol\r
MenuBarRefresh (\r
IN CONST UINTN LastRow,\r
IN CONST UINTN LastCol\r
@return The return value from the called dispatch function.\r
**/\r
EFI_STATUS\r
@return The return value from the called dispatch function.\r
**/\r
EFI_STATUS\r
MenuBarDispatchFunctionKey (\r
IN CONST EFI_INPUT_KEY *Key\r
)\r
MenuBarDispatchFunctionKey (\r
IN CONST EFI_INPUT_KEY *Key\r
)\r
@return EFI_SUCCESS.\r
**/\r
EFI_STATUS\r
@return EFI_SUCCESS.\r
**/\r
EFI_STATUS\r
MenuBarDispatchControlHotKey (\r
IN CONST EFI_INPUT_KEY *Key\r
)\r
MenuBarDispatchControlHotKey (\r
IN CONST EFI_INPUT_KEY *Key\r
)\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
MenuBarInit (\r
IN CONST EDITOR_MENU_ITEM *Items\r
);\r
MenuBarInit (\r
IN CONST EDITOR_MENU_ITEM *Items\r
);\r
@retval EFI_SUCCESS The initialization was correct.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The initialization was correct.\r
**/\r
EFI_STATUS\r
ControlHotKeyInit (\r
IN MENU_ITEM_FUNCTION *Items\r
);\r
ControlHotKeyInit (\r
IN MENU_ITEM_FUNCTION *Items\r
);\r
Cleanup function for a menu bar. frees all allocated memory.\r
**/\r
VOID\r
Cleanup function for a menu bar. frees all allocated memory.\r
**/\r
VOID\r
MenuBarCleanup (\r
VOID\r
);\r
MenuBarCleanup (\r
VOID\r
);\r
@retval EFI_SUCCESS The refresh was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The refresh was successful.\r
**/\r
EFI_STATUS\r
MenuBarRefresh (\r
IN CONST UINTN LastRow,\r
IN CONST UINTN LastCol\r
MenuBarRefresh (\r
IN CONST UINTN LastRow,\r
IN CONST UINTN LastCol\r
@return The return value from the called dispatch function.\r
**/\r
EFI_STATUS\r
@return The return value from the called dispatch function.\r
**/\r
EFI_STATUS\r
MenuBarDispatchFunctionKey (\r
IN CONST EFI_INPUT_KEY *Key\r
);\r
MenuBarDispatchFunctionKey (\r
IN CONST EFI_INPUT_KEY *Key\r
);\r
@return EFI_SUCCESS.\r
**/\r
EFI_STATUS\r
@return EFI_SUCCESS.\r
**/\r
EFI_STATUS\r
MenuBarDispatchControlHotKey (\r
IN CONST EFI_INPUT_KEY *Key\r
);\r
MenuBarDispatchControlHotKey (\r
IN CONST EFI_INPUT_KEY *Key\r
);\r
@sa StatusBarSetStatusString\r
**/\r
EFI_STATUS\r
@sa StatusBarSetStatusString\r
**/\r
EFI_STATUS\r
StatusBarInit (\r
VOID\r
)\r
StatusBarInit (\r
VOID\r
)\r
Cleanup function for the status bar.\r
**/\r
VOID\r
Cleanup function for the status bar.\r
**/\r
VOID\r
StatusBarCleanup (\r
VOID\r
)\r
StatusBarCleanup (\r
VOID\r
)\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
StatusBarRefresh (\r
IN BOOLEAN EditorFirst,\r
IN UINTN LastRow,\r
StatusBarRefresh (\r
IN BOOLEAN EditorFirst,\r
IN UINTN LastRow,\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
StatusBarSetStatusString (\r
IN CHAR16 *Str\r
)\r
StatusBarSetStatusString (\r
IN CHAR16 *Str\r
)\r
@return The string that is used.\r
**/\r
CONST CHAR16*\r
@return The string that is used.\r
**/\r
CONST CHAR16*\r
StatusBarGetString (\r
VOID\r
)\r
StatusBarGetString (\r
VOID\r
)\r
Function to set the need refresh boolean to TRUE.\r
**/\r
VOID\r
Function to set the need refresh boolean to TRUE.\r
**/\r
VOID\r
StatusBarSetRefresh(\r
VOID\r
)\r
StatusBarSetRefresh(\r
VOID\r
)\r
@retval TRUE The status bar needs to be refreshed.\r
**/\r
BOOLEAN\r
@retval TRUE The status bar needs to be refreshed.\r
**/\r
BOOLEAN\r
StatusBarGetRefresh(\r
VOID\r
)\r
StatusBarGetRefresh(\r
VOID\r
)\r
@sa StatusBarSetStatusString\r
**/\r
EFI_STATUS\r
@sa StatusBarSetStatusString\r
**/\r
EFI_STATUS\r
StatusBarInit (\r
VOID\r
);\r
StatusBarInit (\r
VOID\r
);\r
Cleanup function for the status bar.\r
**/\r
VOID\r
Cleanup function for the status bar.\r
**/\r
VOID\r
StatusBarCleanup (\r
VOID\r
);\r
StatusBarCleanup (\r
VOID\r
);\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
StatusBarRefresh (\r
IN BOOLEAN EditorFirst,\r
IN UINTN LastRow,\r
StatusBarRefresh (\r
IN BOOLEAN EditorFirst,\r
IN UINTN LastRow,\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
StatusBarSetStatusString (\r
IN CHAR16 *Str\r
);\r
StatusBarSetStatusString (\r
IN CHAR16 *Str\r
);\r
@return The string that is used.\r
**/\r
CONST CHAR16*\r
@return The string that is used.\r
**/\r
CONST CHAR16*\r
StatusBarGetString (\r
VOID\r
);\r
StatusBarGetString (\r
VOID\r
);\r
Function to set the need refresh boolean to TRUE.\r
**/\r
VOID\r
Function to set the need refresh boolean to TRUE.\r
**/\r
VOID\r
StatusBarSetRefresh(\r
VOID\r
);\r
StatusBarSetRefresh(\r
VOID\r
);\r
@retval TRUE The status bar needs to be refreshed.\r
**/\r
BOOLEAN\r
@retval TRUE The status bar needs to be refreshed.\r
**/\r
BOOLEAN\r
StatusBarGetRefresh(\r
VOID\r
);\r
StatusBarGetRefresh(\r
VOID\r
);\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
MainTitleBarInit (\r
CONST CHAR16 *Prompt\r
)\r
MainTitleBarInit (\r
CONST CHAR16 *Prompt\r
)\r
Clean up the memory used.\r
**/\r
VOID\r
Clean up the memory used.\r
**/\r
VOID\r
MainTitleBarCleanup (\r
VOID\r
)\r
MainTitleBarCleanup (\r
VOID\r
)\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
MainTitleBarRefresh (\r
IN CONST CHAR16 *FileName OPTIONAL,\r
IN CONST EDIT_FILE_TYPE FileType,\r
MainTitleBarRefresh (\r
IN CONST CHAR16 *FileName OPTIONAL,\r
IN CONST EDIT_FILE_TYPE FileType,\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
MainTitleBarInit (\r
CONST CHAR16 *Prompt\r
);\r
MainTitleBarInit (\r
CONST CHAR16 *Prompt\r
);\r
Clean up the memory used.\r
**/\r
VOID\r
Clean up the memory used.\r
**/\r
VOID\r
MainTitleBarCleanup (\r
VOID\r
);\r
MainTitleBarCleanup (\r
VOID\r
);\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
MainTitleBarRefresh (\r
IN CONST CHAR16 *FileName OPTIONAL,\r
IN CONST EDIT_FILE_TYPE FileType,\r
MainTitleBarRefresh (\r
IN CONST CHAR16 *FileName OPTIONAL,\r
IN CONST EDIT_FILE_TYPE FileType,\r
@return EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@return EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
HBufferImageRead (\r
IN CONST CHAR16 *FileName,\r
IN CONST CHAR16 *DiskName,\r
HBufferImageRead (\r
IN CONST CHAR16 *FileName,\r
IN CONST CHAR16 *DiskName,\r
@retval -1 The operation failed.\r
**/\r
INTN\r
@retval -1 The operation failed.\r
**/\r
INTN\r
HBufferImageCharToHex (\r
IN CHAR16 Char\r
)\r
HBufferImageCharToHex (\r
IN CHAR16 Char\r
)\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
HBufferImageAddChar (\r
IN CHAR16 Char\r
)\r
HBufferImageAddChar (\r
IN CHAR16 Char\r
)\r
@retval EFI_SUCCESS The operationw as successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operationw as successful.\r
**/\r
EFI_STATUS\r
HBufferImageDoBackspace (\r
VOID\r
)\r
HBufferImageDoBackspace (\r
VOID\r
)\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
HBufferImageDoCharInput (\r
IN CHAR16 Char\r
)\r
HBufferImageDoCharInput (\r
IN CHAR16 Char\r
)\r
@retval EFI_SUCCESS The operationw as successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operationw as successful.\r
**/\r
EFI_STATUS\r
HBufferImageDoDelete (\r
VOID\r
)\r
HBufferImageDoDelete (\r
VOID\r
)\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
HBufferImageBufferToList (\r
IN VOID *Buffer,\r
IN UINTN Bytes\r
HBufferImageBufferToList (\r
IN VOID *Buffer,\r
IN UINTN Bytes\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
HBufferImageListToBuffer (\r
IN VOID *Buffer,\r
IN UINTN Bytes\r
HBufferImageListToBuffer (\r
IN VOID *Buffer,\r
IN UINTN Bytes\r
@param[in] TextY The y-coordinate.\r
**/\r
VOID\r
@param[in] TextY The y-coordinate.\r
**/\r
VOID\r
HBufferImageAdjustMousePosition (\r
IN INT32 TextX,\r
IN INT32 TextY\r
HBufferImageAdjustMousePosition (\r
IN INT32 TextX,\r
IN INT32 TextY\r
@return EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@return EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
HBufferImageRead (\r
IN CONST CHAR16 *FileName,\r
IN CONST CHAR16 *DiskName,\r
HBufferImageRead (\r
IN CONST CHAR16 *FileName,\r
IN CONST CHAR16 *DiskName,\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
HBufferImageBufferToList (\r
IN VOID *Buffer,\r
IN UINTN Bytes\r
HBufferImageBufferToList (\r
IN VOID *Buffer,\r
IN UINTN Bytes\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
EFI_STATUS\r
HBufferImageListToBuffer (\r
IN VOID *Buffer,\r
IN UINTN Bytes\r
HBufferImageListToBuffer (\r
IN VOID *Buffer,\r
IN UINTN Bytes\r
@param[in] TextY The y-coordinate.\r
**/\r
VOID\r
@param[in] TextY The y-coordinate.\r
**/\r
VOID\r
HBufferImageAdjustMousePosition (\r
IN INT32 TextX,\r
IN INT32 TextY\r
HBufferImageAdjustMousePosition (\r
IN INT32 TextX,\r
IN INT32 TextY\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.\r
**/\r
EFI_STATUS\r
HDiskImageSetDiskNameOffsetSize (\r
IN CONST CHAR16 *Str,\r
IN UINTN Offset,\r
HDiskImageSetDiskNameOffsetSize (\r
IN CONST CHAR16 *Str,\r
IN UINTN Offset,\r
Backup function for MainEditor.\r
**/\r
VOID\r
Backup function for MainEditor.\r
**/\r
VOID\r
HMainEditorBackup (\r
VOID\r
)\r
HMainEditorBackup (\r
VOID\r
)\r
Backup function for MainEditor.\r
**/\r
VOID\r
Backup function for MainEditor.\r
**/\r
VOID\r
HMainEditorBackup (\r
VOID\r
);\r
HMainEditorBackup (\r
VOID\r
);\r
@retval Other value Unknown error.\r
**/\r
EFI_STATUS\r
@retval Other value Unknown error.\r
**/\r
EFI_STATUS\r
LoadEfiDriversFromRomImage (\r
VOID *RomBar,\r
UINTN RomSize,\r
LoadEfiDriversFromRomImage (\r
VOID *RomBar,\r
UINTN RomSize,\r
@retval Other value Unknown error.\r
**/\r
EFI_STATUS\r
@retval Other value Unknown error.\r
**/\r
EFI_STATUS\r
LoadEfiDriversFromRomImage (\r
VOID *RomBar,\r
UINTN RomSize,\r
LoadEfiDriversFromRomImage (\r
VOID *RomBar,\r
UINTN RomSize,\r
@param[out] Register PCI register offset.\r
**/\r
VOID\r
@param[out] Register PCI register offset.\r
**/\r
VOID\r
ShellMmDecodePciAddress (\r
IN BOOLEAN PciFormat,\r
IN UINT64 Address,\r
ShellMmDecodePciAddress (\r
IN BOOLEAN PciFormat,\r
IN UINT64 Address,\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityLinkControl (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityLinkControl (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityPowerBudgeting (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityPowerBudgeting (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityAcs (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityAcs (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityLatencyToleranceReporting (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityLatencyToleranceReporting (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilitySerialNumber (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilitySerialNumber (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityRcrb (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityRcrb (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityVendorSpecific (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityVendorSpecific (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityECEA (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityECEA (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityAri (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityAri (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityDynamicPowerAllocation (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityDynamicPowerAllocation (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityLinkDeclaration (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityLinkDeclaration (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityAer (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityAer (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] PciExpressCapPtr The address of the PCIe capabilities structure.\r
**/\r
EFI_STATUS\r
@param[in] PciExpressCapPtr The address of the PCIe capabilities structure.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityMulticast (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress,\r
PrintInterpretedExtendedCompatibilityMulticast (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress,\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityVirtualChannel (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityVirtualChannel (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityResizeableBar (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityResizeableBar (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
@param[in] HeadersBaseAddress The address of all the extended capability headers.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilityTph (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
PrintInterpretedExtendedCompatibilityTph (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress\r
@param[in] PciExpressCapPtr The address of the PCIe capabilities structure.\r
**/\r
EFI_STATUS\r
@param[in] PciExpressCapPtr The address of the PCIe capabilities structure.\r
**/\r
EFI_STATUS\r
PrintInterpretedExtendedCompatibilitySecondary (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress,\r
PrintInterpretedExtendedCompatibilitySecondary (\r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress,\r
@param[in] PciExpressCapPtr The address of the PCIe capabilities structure.\r
**/\r
EFI_STATUS\r
@param[in] PciExpressCapPtr The address of the PCIe capabilities structure.\r
**/\r
EFI_STATUS\r
PrintPciExtendedCapabilityDetails(\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress, \r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
PrintPciExtendedCapabilityDetails(\r
IN CONST PCI_EXP_EXT_HDR *HeadersBaseAddress, \r
IN CONST PCI_EXP_EXT_HDR *HeaderAddress,\r
@retval SHELL_SUCCESS The operation was successful.\r
**/\r
SHELL_STATUS\r
@retval SHELL_SUCCESS The operation was successful.\r
**/\r
SHELL_STATUS\r
DisplaySettings (\r
IN UINTN HandleIdx,\r
IN BOOLEAN HandleValid\r
DisplaySettings (\r
IN UINTN HandleIdx,\r
IN BOOLEAN HandleValid\r
empty.)\r
**/\r
BOOLEAN\r
empty.)\r
**/\r
BOOLEAN\r
IsStringOfHexNibbles (\r
IN CONST CHAR16 *String\r
)\r
IsStringOfHexNibbles (\r
IN CONST CHAR16 *String\r
)\r
@param[in] Option Whether to print the additional information.\r
**/\r
VOID\r
@param[in] Option Whether to print the additional information.\r
**/\r
VOID\r
DisplaySELAccessMethod (\r
IN CONST UINT8 Key,\r
IN CONST UINT8 Option\r
DisplaySELAccessMethod (\r
IN CONST UINT8 Key,\r
IN CONST UINT8 Option\r
@param[in] Option Whether to print the additional information.\r
**/\r
VOID\r
@param[in] Option Whether to print the additional information.\r
**/\r
VOID\r
DisplaySELLogStatus (\r
UINT8 Key,\r
UINT8 Option\r
DisplaySELLogStatus (\r
UINT8 Key,\r
UINT8 Option\r
@param[in] Option Whether to print the additional information.\r
**/\r
VOID\r
@param[in] Option Whether to print the additional information.\r
**/\r
VOID\r
DisplaySysEventLogHeaderFormat (\r
UINT8 Key,\r
UINT8 Option\r
DisplaySysEventLogHeaderFormat (\r
UINT8 Key,\r
UINT8 Option\r
@param[in] LogHeader Format informcation.\r
**/\r
VOID\r
@param[in] LogHeader Format informcation.\r
**/\r
VOID\r
DisplaySysEventLogHeader (\r
UINT8 LogHeaderFormat,\r
UINT8 *LogHeader\r
DisplaySysEventLogHeader (\r
UINT8 LogHeaderFormat,\r
UINT8 *LogHeader\r
@param[in] LogAreaLength Length of the data.\r
**/\r
VOID\r
@param[in] LogAreaLength Length of the data.\r
**/\r
VOID\r
DisplaySysEventLogData (\r
UINT8 *LogData,\r
UINT16 LogAreaLength\r
DisplaySysEventLogData (\r
UINT8 *LogData,\r
UINT16 LogAreaLength\r
@param[in] Option Whether to print the additional information.\r
**/\r
VOID\r
@param[in] Option Whether to print the additional information.\r
**/\r
VOID\r
DisplaySELAccessMethod (\r
IN CONST UINT8 Key,\r
IN CONST UINT8 Option\r
DisplaySELAccessMethod (\r
IN CONST UINT8 Key,\r
IN CONST UINT8 Option\r
@param[in] Option Whether to print the additional information.\r
**/\r
VOID\r
@param[in] Option Whether to print the additional information.\r
**/\r
VOID\r
DisplaySELLogStatus (\r
UINT8 Key,\r
UINT8 Option\r
DisplaySELLogStatus (\r
UINT8 Key,\r
UINT8 Option\r
@param[in] Option Whether to print the additional information.\r
**/\r
VOID\r
@param[in] Option Whether to print the additional information.\r
**/\r
VOID\r
DisplaySysEventLogHeaderFormat (\r
UINT8 Key,\r
UINT8 Option\r
DisplaySysEventLogHeaderFormat (\r
UINT8 Key,\r
UINT8 Option\r
@param[in] LogHeader Format informcation.\r
**/\r
VOID\r
@param[in] LogHeader Format informcation.\r
**/\r
VOID\r
DisplaySysEventLogHeader (\r
UINT8 LogHeaderFormat,\r
UINT8 *LogHeader\r
DisplaySysEventLogHeader (\r
UINT8 LogHeaderFormat,\r
UINT8 *LogHeader\r
@param[in] LogAreaLength Length of the data.\r
**/\r
VOID\r
@param[in] LogAreaLength Length of the data.\r
**/\r
VOID\r
DisplaySysEventLogData (\r
UINT8 *LogData,\r
UINT16 LogAreaLength\r
DisplaySysEventLogData (\r
UINT8 *LogData,\r
UINT16 LogAreaLength\r
@retval EFI_BAD_BUFFER_SIZE structure is out of the range of SMBIOS table.\r
**/\r
EFI_STATUS\r
@retval EFI_BAD_BUFFER_SIZE structure is out of the range of SMBIOS table.\r
**/\r
EFI_STATUS\r
SMBiosView (\r
IN UINT8 QueryType,\r
IN UINT16 QueryHandle,\r
SMBiosView (\r
IN UINT8 QueryType,\r
IN UINT16 QueryHandle,\r
@retval EFI_BAD_BUFFER_SIZE structure is out of the range of SMBIOS table.\r
**/\r
EFI_STATUS\r
@retval EFI_BAD_BUFFER_SIZE structure is out of the range of SMBIOS table.\r
**/\r
EFI_STATUS\r
SMBios64View (\r
IN UINT8 QueryType,\r
IN UINT16 QueryHandle,\r
SMBios64View (\r
IN UINT8 QueryType,\r
IN UINT16 QueryHandle,\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
InitSmbiosTableStatistics (\r
VOID\r
)\r
InitSmbiosTableStatistics (\r
VOID\r
)\r
@retval EFI_SUCCESS Calculation was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS Calculation was successful.\r
**/\r
EFI_STATUS\r
CalculateSmbios64BitStructureCountAndLength (\r
SMBIOS_TABLE_3_0_ENTRY_POINT *Smbios64EntryPoint,\r
UINTN *NumberOfSmbios64Structures,\r
CalculateSmbios64BitStructureCountAndLength (\r
SMBIOS_TABLE_3_0_ENTRY_POINT *Smbios64EntryPoint,\r
UINTN *NumberOfSmbios64Structures,\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
InitSmbios64BitTableStatistics (\r
VOID\r
)\r
InitSmbios64BitTableStatistics (\r
VOID\r
)\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
DisplayStatisticsTable (\r
IN UINT8 Option\r
)\r
DisplayStatisticsTable (\r
IN UINT8 Option\r
)\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
DisplaySmbios64BitStatisticsTable (\r
IN UINT8 Option\r
)\r
DisplaySmbios64BitStatisticsTable (\r
IN UINT8 Option\r
)\r
@return A pointer to a string representing the ShowType (or 'undefined type' if not known).\r
**/\r
CHAR16 *\r
@return A pointer to a string representing the ShowType (or 'undefined type' if not known).\r
**/\r
CHAR16 *\r
GetShowTypeString (\r
UINT8 ShowType\r
)\r
GetShowTypeString (\r
UINT8 ShowType\r
)\r
@retval EFI_BAD_BUFFER_SIZE structure is out of the range of SMBIOS table.\r
**/\r
EFI_STATUS\r
@retval EFI_BAD_BUFFER_SIZE structure is out of the range of SMBIOS table.\r
**/\r
EFI_STATUS\r
SMBiosView (\r
IN UINT8 QueryType,\r
IN UINT16 QueryHandle,\r
SMBiosView (\r
IN UINT8 QueryType,\r
IN UINT16 QueryHandle,\r
@retval EFI_BAD_BUFFER_SIZE structure is out of the range of SMBIOS table.\r
**/\r
EFI_STATUS\r
@retval EFI_BAD_BUFFER_SIZE structure is out of the range of SMBIOS table.\r
**/\r
EFI_STATUS\r
SMBios64View (\r
IN UINT8 QueryType,\r
IN UINT16 QueryHandle,\r
SMBios64View (\r
IN UINT8 QueryType,\r
IN UINT16 QueryHandle,\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
InitSmbiosTableStatistics (\r
VOID\r
);\r
InitSmbiosTableStatistics (\r
VOID\r
);\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
InitSmbios64BitTableStatistics (\r
VOID\r
);\r
InitSmbios64BitTableStatistics (\r
VOID\r
);\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
DisplayStatisticsTable (\r
IN UINT8 Option\r
);\r
DisplayStatisticsTable (\r
IN UINT8 Option\r
);\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS print is successful.\r
**/\r
EFI_STATUS\r
DisplaySmbios64BitStatisticsTable (\r
IN UINT8 Option\r
);\r
DisplaySmbios64BitStatisticsTable (\r
IN UINT8 Option\r
);\r
@return A pointer to a string representing the ShowType (or 'undefined type' if not known).\r
**/\r
CHAR16*\r
@return A pointer to a string representing the ShowType (or 'undefined type' if not known).\r
**/\r
CHAR16*\r
GetShowTypeString (\r
UINT8 ShowType\r
);\r
GetShowTypeString (\r
UINT8 ShowType\r
);\r
//Stolen from MdePkg Baselib\r
**/\r
CHAR16\r
//Stolen from MdePkg Baselib\r
**/\r
CHAR16\r
CharToUpper (\r
IN CHAR16 Char\r
)\r
CharToUpper (\r
IN CHAR16 Char\r
)\r
@retval EFI_NOT_FOUND A configuration table matching TableGuid was not found.\r
**/\r
EFI_STATUS\r
@retval EFI_NOT_FOUND A configuration table matching TableGuid was not found.\r
**/\r
EFI_STATUS\r
GetSystemConfigurationTable (\r
IN EFI_GUID *TableGuid,\r
IN OUT VOID **Table\r
GetSystemConfigurationTable (\r
IN EFI_GUID *TableGuid,\r
IN OUT VOID **Table\r
HexCharToUintn (\r
IN CHAR16 Char\r
)\r
HexCharToUintn (\r
IN CHAR16 Char\r
)\r
@retval EFI_SUCCESS The conversion was successful.\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The conversion was successful.\r
**/\r
EFI_STATUS\r
ConvertStringToGuid (\r
IN CONST CHAR16 *StringGuid,\r
IN OUT EFI_GUID *Guid\r
ConvertStringToGuid (\r
IN CONST CHAR16 *StringGuid,\r
IN OUT EFI_GUID *Guid\r
@param[in] LastRow The last printable row.\r
**/\r
VOID\r
@param[in] LastRow The last printable row.\r
**/\r
VOID\r
EditorClearLine (\r
IN UINTN Row,\r
IN UINTN LastCol,\r
EditorClearLine (\r
IN UINTN Row,\r
IN UINTN LastCol,\r
@retval FALSE The character is not valid.\r
**/\r
BOOLEAN\r
@retval FALSE The character is not valid.\r
**/\r
BOOLEAN\r
IsValidFileNameChar (\r
IN CONST CHAR16 Ch\r
)\r
IsValidFileNameChar (\r
IN CONST CHAR16 Ch\r
)\r
@retval FALSE The filename is not ok.\r
**/\r
BOOLEAN\r
@retval FALSE The filename is not ok.\r
**/\r
BOOLEAN\r
IsValidFileName (\r
IN CONST CHAR16 *Name\r
)\r
IsValidFileName (\r
IN CONST CHAR16 *Name\r
)\r
@return the valid filename.\r
**/\r
CHAR16 *\r
@return the valid filename.\r
**/\r
CHAR16 *\r
EditGetDefaultFileName (\r
IN CONST CHAR16 *Extension\r
)\r
EditGetDefaultFileName (\r
IN CONST CHAR16 *Extension\r
)\r
@retval EFI_INVALID_PARAMETER FileName was a directory.\r
**/\r
EFI_STATUS\r
@retval EFI_INVALID_PARAMETER FileName was a directory.\r
**/\r
EFI_STATUS\r
ReadFileIntoBuffer (\r
IN CONST CHAR16 *FileName,\r
OUT VOID **Buffer,\r
ReadFileIntoBuffer (\r
IN CONST CHAR16 *FileName,\r
OUT VOID **Buffer,\r
@retval EFI_NOT_FOUND A configuration table matching TableGuid was not found.\r
**/\r
EFI_STATUS\r
@retval EFI_NOT_FOUND A configuration table matching TableGuid was not found.\r
**/\r
EFI_STATUS\r
GetSystemConfigurationTable (\r
IN EFI_GUID *TableGuid,\r
IN OUT VOID **Table\r
GetSystemConfigurationTable (\r
IN EFI_GUID *TableGuid,\r
IN OUT VOID **Table\r
@param[in, out] Guid The pointer to the buffer to get the GUID value.\r
**/\r
EFI_STATUS\r
@param[in, out] Guid The pointer to the buffer to get the GUID value.\r
**/\r
EFI_STATUS\r
ConvertStringToGuid (\r
IN CONST CHAR16 *StringGuid,\r
IN OUT EFI_GUID *Guid\r
ConvertStringToGuid (\r
IN CONST CHAR16 *StringGuid,\r
IN OUT EFI_GUID *Guid\r
HexCharToUintn (\r
IN CHAR16 Char\r
);\r
HexCharToUintn (\r
IN CHAR16 Char\r
);\r
@param[in] LastRow The last printable row.\r
**/\r
VOID\r
@param[in] LastRow The last printable row.\r
**/\r
VOID\r
EditorClearLine (\r
IN UINTN Row,\r
IN UINTN LastCol,\r
EditorClearLine (\r
IN UINTN Row,\r
IN UINTN LastCol,\r
@retval FALSE The filename is not ok.\r
**/\r
BOOLEAN\r
@retval FALSE The filename is not ok.\r
**/\r
BOOLEAN\r
IsValidFileName (\r
IN CONST CHAR16 *Name\r
);\r
IsValidFileName (\r
IN CONST CHAR16 *Name\r
);\r
@return the valid filename.\r
**/\r
CHAR16 *\r
@return the valid filename.\r
**/\r
CHAR16 *\r
EditGetDefaultFileName (\r
IN CONST CHAR16 *Extension\r
);\r
EditGetDefaultFileName (\r
IN CONST CHAR16 *Extension\r
);\r
@retval EFI_INVALID_PARAMETER FileName was a directory.\r
**/\r
EFI_STATUS\r
@retval EFI_INVALID_PARAMETER FileName was a directory.\r
**/\r
EFI_STATUS\r
ReadFileIntoBuffer (\r
IN CONST CHAR16 *FileName,\r
OUT VOID **Buffer,\r
ReadFileIntoBuffer (\r
IN CONST CHAR16 *FileName,\r
OUT VOID **Buffer,\r