TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | EFI_FILE_PROTOCOL_ENVIRONMENT |
struct | EFI_FILE_PROTOCOL_MEM |
struct | EFI_FILE_PROTOCOL_FILE |
Macros | |
#define | MEM_WRITE_REALLOC_OVERHEAD 1024 |
#define | SIZE_OF_EFI_FILE_PROTOCOL_ENVIRONMENT EFI_FIELD_OFFSET (EFI_FILE_PROTOCOL_ENVIRONMENT, Name) |
Variables | |
EFI_FILE_PROTOCOL | FileInterfaceStdIn |
EFI_FILE_PROTOCOL | FileInterfaceStdOut |
EFI_FILE_PROTOCOL | FileInterfaceStdErr |
EFI_FILE_PROTOCOL | FileInterfaceNulFile |
EFI_FILE_PROTOCOL wrappers for other items (Like Environment Variables, StdIn, StdOut, StdErr, etc...).
Copyright 2016 Dell Inc. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
(C) Copyright 2013 Hewlett-Packard Development Company, L.P.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FileHandleWrappers.c.
#define MEM_WRITE_REALLOC_OVERHEAD 1024 |
Definition at line 15 of file FileHandleWrappers.c.
#define SIZE_OF_EFI_FILE_PROTOCOL_ENVIRONMENT EFI_FIELD_OFFSET (EFI_FILE_PROTOCOL_ENVIRONMENT, Name) |
Definition at line 1035 of file FileHandleWrappers.c.
EFI_FILE_PROTOCOL * CreateFileInterfaceEnv | ( | IN CONST CHAR16 * | EnvName | ) |
Creates a EFI_FILE_PROTOCOL (almost) object for using to access environment variables through file operations.
EnvName | The name of the Environment Variable to be operated on. |
NULL | Memory could not be allocated. |
Definition at line 1359 of file FileHandleWrappers.c.
EFI_FILE_PROTOCOL * CreateFileInterfaceFile | ( | IN CONST EFI_FILE_PROTOCOL * | Template, |
IN CONST BOOLEAN | Unicode | ||
) |
Create a file interface with unicode information.
This will create a new EFI_FILE_PROTOCOL identical to the Templace except that the new one has Unicode and Ascii knowledge.
[in] | Template | A pointer to the EFI_FILE_PROTOCOL object. |
[in] | Unicode | TRUE for UCS-2, FALSE for ASCII. |
Definition at line 2171 of file FileHandleWrappers.c.
EFI_FILE_PROTOCOL * CreateFileInterfaceMem | ( | IN CONST BOOLEAN | Unicode | ) |
Creates a EFI_FILE_PROTOCOL (almost) object for using to access a file entirely in memory through file operations.
[in] | Unicode | Boolean value with TRUE for Unicode and FALSE for Ascii. |
NULL | Memory could not be allocated. |
Definition at line 1767 of file FileHandleWrappers.c.
EFI_STATUS CreateTabCompletionList | ( | IN CONST CHAR16 * | InputString, |
IN CONST UINTN | StringLen, | ||
IN CONST UINTN | BufferSize, | ||
IN OUT EFI_SHELL_FILE_INFO ** | TabCompletionList, | ||
IN OUT UINTN * | TabUpdatePos | ||
) |
Create the TAB completion list.
[in] | InputString | The command line to expand. |
[in] | StringLen | Length of the command line. |
[in] | BufferSize | Buffer size. |
[in,out] | TabCompletionList | Return the TAB completion list. |
[in,out] | TabUpdatePos | Return the TAB update position. |
Definition at line 301 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceEnvClose | ( | IN EFI_FILE_PROTOCOL * | This | ) |
File style interface for Environment Variable (Close).
Frees the memory for this object.
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
EFI_SUCCESS |
Definition at line 1048 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceEnvDelete | ( | IN EFI_FILE_PROTOCOL * | This | ) |
File style interface for Environment Variable (Delete).
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
The | return value from FileInterfaceEnvClose(). |
Definition at line 1145 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceEnvNonVolWrite | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
IN VOID * | Buffer | ||
) |
File style interface for Non Volatile Environment Variable (Write). This function also caches the environment variable into gShellEnvVarList.
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
[in,out] | BufferSize | Size in bytes of Buffer. |
[in] | Buffer | The pointer to the buffer to write. |
EFI_SUCCESS | The data was successfully write to variable. |
SHELL_OUT_OF_RESOURCES | A memory allocation failed. |
Definition at line 1286 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceEnvRead | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
OUT VOID * | Buffer | ||
) |
File style interface for Environment Variable (Read).
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
[in,out] | BufferSize | Size in bytes of Buffer. |
[out] | Buffer | The pointer to the buffer to fill. |
EFI_SUCCESS | The data was read. |
Definition at line 1164 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceEnvVolWrite | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
IN VOID * | Buffer | ||
) |
File style interface for Volatile Environment Variable (Write). This function also caches the environment variable into gShellEnvVarList.
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
[in,out] | BufferSize | Size in bytes of Buffer. |
[in] | Buffer | The pointer to the buffer to write. |
EFI_SUCCESS | The data was successfully write to variable. |
SHELL_OUT_OF_RESOURCES | A memory allocation failed. |
Definition at line 1210 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceFileClose | ( | IN EFI_FILE_PROTOCOL * | This | ) |
File style interface for File (Close).
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
EFI_SUCCESS | The file was closed. |
Definition at line 2102 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceFileDelete | ( | IN EFI_FILE_PROTOCOL * | This | ) |
Close and delete the file handle.
This | Protocol instance pointer. |
EFI_SUCCESS | The device was opened. |
EFI_WARN_DELETE_FAILURE | The handle was closed but the file was not deleted. |
Definition at line 2082 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceFileFlush | ( | IN EFI_FILE_PROTOCOL * | This | ) |
Flush data back for the file handle.
This | Protocol instance pointer. |
EFI_SUCCESS | Data was written. |
EFI_UNSUPPORT | Writes to Open directory are not supported. |
EFI_NO_MEDIA | The device has no media. |
EFI_DEVICE_ERROR | The device reported an error. |
EFI_VOLUME_CORRUPTED | The file system structures are corrupted. |
EFI_WRITE_PROTECTED | The device is write protected. |
EFI_ACCESS_DENIED | The file was open for read only. |
EFI_VOLUME_FULL | The volume is full. |
Definition at line 1948 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceFileGetInfo | ( | IN EFI_FILE_PROTOCOL * | This, |
IN EFI_GUID * | InformationType, | ||
IN OUT UINTN * | BufferSize, | ||
OUT VOID * | Buffer | ||
) |
Get information about a file.
This | Protocol instance pointer. |
InformationType | Type of information to return in Buffer. |
BufferSize | On input size of buffer, on output amount of data in buffer. |
Buffer | The buffer to return data. |
EFI_SUCCESS | Data was returned. |
EFI_UNSUPPORT | InformationType is not supported. |
EFI_NO_MEDIA | The device has no media. |
EFI_DEVICE_ERROR | The device reported an error. |
EFI_VOLUME_CORRUPTED | The file system structures are corrupted. |
EFI_WRITE_PROTECTED | The device is write protected. |
EFI_ACCESS_DENIED | The file was open for read only. |
EFI_BUFFER_TOO_SMALL | Buffer was too small; required size returned in BufferSize. |
Definition at line 1892 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceFileGetPosition | ( | IN EFI_FILE_PROTOCOL * | This, |
OUT UINT64 * | Position | ||
) |
Get a file's current position
This | Protocol instance pointer. |
Position | Byte position from the start of the file. |
EFI_SUCCESS | Data was written. |
EFI_UNSUPPORTED | Seek request for non-zero is not valid on open.. |
Definition at line 1864 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceFileOpen | ( | IN EFI_FILE_PROTOCOL * | This, |
OUT EFI_FILE_PROTOCOL ** | NewHandle, | ||
IN CHAR16 * | FileName, | ||
IN UINT64 | OpenMode, | ||
IN UINT64 | Attributes | ||
) |
Opens a new file relative to the source file's location.
[in] | This | The protocol instance pointer. |
[out] | NewHandle | Returns File Handle for FileName. |
[in] | FileName | Null terminated string. "\", ".", and ".." are supported. |
[in] | OpenMode | Open mode for file. |
[in] | Attributes | Only used for EFI_FILE_MODE_CREATE. |
EFI_SUCCESS | The device was opened. |
EFI_NOT_FOUND | The specified file could not be found on the device. |
EFI_NO_MEDIA | The device has no media. |
EFI_MEDIA_CHANGED | The media has changed. |
EFI_DEVICE_ERROR | The device reported an error. |
EFI_VOLUME_CORRUPTED | The file system structures are corrupted. |
EFI_ACCESS_DENIED | The service denied access to the file. |
EFI_OUT_OF_RESOURCES | The volume was not opened due to lack of resources. |
EFI_VOLUME_FULL | The volume is full. |
Definition at line 2060 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceFileRead | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
OUT VOID * | Buffer | ||
) |
Read data from the file.
This | Protocol instance pointer. |
BufferSize | On input size of buffer, on output amount of data in buffer. |
Buffer | The buffer in which data is read. |
EFI_SUCCESS | Data was read. |
EFI_NO_MEDIA | The device has no media. |
EFI_DEVICE_ERROR | The device reported an error. |
EFI_VOLUME_CORRUPTED | The file system structures are corrupted. |
EFI_BUFFER_TO_SMALL | BufferSize is too small. BufferSize contains required size. |
Definition at line 1971 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceFileSetInfo | ( | IN EFI_FILE_PROTOCOL * | This, |
IN EFI_GUID * | InformationType, | ||
IN UINTN | BufferSize, | ||
IN VOID * | Buffer | ||
) |
Set information about a file
This | Protocol instance pointer. |
InformationType | Type of information in Buffer. |
BufferSize | Size of buffer. |
Buffer | The data to write. |
EFI_SUCCESS | Data was returned. |
EFI_UNSUPPORT | InformationType is not supported. |
EFI_NO_MEDIA | The device has no media. |
EFI_DEVICE_ERROR | The device reported an error. |
EFI_VOLUME_CORRUPTED | The file system structures are corrupted. |
EFI_WRITE_PROTECTED | The device is write protected. |
EFI_ACCESS_DENIED | The file was open for read only. |
Definition at line 1921 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceFileSetPosition | ( | IN EFI_FILE_PROTOCOL * | This, |
IN UINT64 | Position | ||
) |
Set a files current position
This | Protocol instance pointer. |
Position | Byte position from the start of the file. |
EFI_SUCCESS | Data was written. |
EFI_UNSUPPORTED | Seek request for non-zero is not valid on open. |
Definition at line 1844 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceFileWrite | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
IN VOID * | Buffer | ||
) |
File style interface for File (Write).
If the file was opened with ASCII mode the data will be processed through AsciiSPrint before writing.
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
[in,out] | BufferSize | Size in bytes of Buffer. |
[in] | Buffer | The pointer to the buffer to write. |
EFI_SUCCESS | The data was written. |
Definition at line 2127 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceMemClose | ( | IN EFI_FILE_PROTOCOL * | This | ) |
File style interface for Mem (Close).
Frees all memory associated with this object.
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
EFI_SUCCESS | The 'file' was closed. |
Definition at line 1748 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceMemGetInfo | ( | IN EFI_FILE_PROTOCOL * | This, |
IN EFI_GUID * | InformationType, | ||
IN OUT UINTN * | BufferSize, | ||
OUT VOID * | Buffer | ||
) |
File style interface for Mem (GetInfo).
This | Protocol instance pointer. |
InformationType | Type of information to return in Buffer. |
BufferSize | On input size of buffer, on output amount of data in buffer. |
Buffer | The buffer to return data. |
EFI_SUCCESS | Data was returned. |
EFI_UNSUPPORT | InformationType is not supported. |
EFI_NO_MEDIA | The device has no media. |
EFI_DEVICE_ERROR | The device reported an error. |
EFI_VOLUME_CORRUPTED | The file system structures are corrupted. |
EFI_WRITE_PROTECTED | The device is write protected. |
EFI_ACCESS_DENIED | The file was open for read only. |
EFI_BUFFER_TOO_SMALL | Buffer was too small; required size returned in BufferSize. |
Definition at line 1611 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceMemGetPosition | ( | IN EFI_FILE_PROTOCOL * | This, |
OUT UINT64 * | Position | ||
) |
File style interface for Mem (GetPosition).
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
[out] | Position | The pointer to the position. |
EFI_SUCCESS | The position was retrieved. |
Definition at line 1582 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceMemRead | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
IN VOID * | Buffer | ||
) |
File style interface for Mem (Read).
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
[in,out] | BufferSize | Size in bytes of Buffer. |
[in] | Buffer | The pointer to the buffer to fill. |
EFI_SUCCESS | The data was read. |
Definition at line 1719 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceMemSetPosition | ( | IN EFI_FILE_PROTOCOL * | This, |
OUT UINT64 | Position | ||
) |
File style interface for Mem (SetPosition).
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
[out] | Position | The position to set. |
EFI_SUCCESS | The position was successfully changed. |
EFI_INVALID_PARAMETER | The Position was invalid. |
Definition at line 1559 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceMemWrite | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
IN VOID * | Buffer | ||
) |
File style interface for Mem (Write).
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
[in,out] | BufferSize | Size in bytes of Buffer. |
[in] | Buffer | The pointer to the buffer to write. |
EFI_OUT_OF_RESOURCES | The operation failed due to lack of resources. |
EFI_SUCCESS | The data was written. |
Definition at line 1653 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceNopGeneric | ( | IN EFI_FILE_PROTOCOL * | This | ) |
File style interface for console (Close, Delete, & Flush)
[in] | This | Ignored. |
EFI_SUCCESS |
Definition at line 50 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceNopGetInfo | ( | IN EFI_FILE_PROTOCOL * | This, |
IN EFI_GUID * | InformationType, | ||
IN OUT UINTN * | BufferSize, | ||
OUT VOID * | Buffer | ||
) |
File style interface for console (GetInfo).
[in] | This | Ignored. |
[in] | InformationType | Ignored. |
[in,out] | BufferSize | Ignored. |
[out] | Buffer | Ignored. |
EFI_UNSUPPORTED |
Definition at line 105 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceNopGetPosition | ( | IN EFI_FILE_PROTOCOL * | This, |
OUT UINT64 * | Position | ||
) |
File style interface for console (GetPosition).
[in] | This | Ignored. |
[out] | Position | Ignored. |
EFI_UNSUPPORTED |
Definition at line 67 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceNopSetInfo | ( | IN EFI_FILE_PROTOCOL * | This, |
IN EFI_GUID * | InformationType, | ||
IN UINTN | BufferSize, | ||
IN VOID * | Buffer | ||
) |
File style interface for console (SetInfo).
[in] | This | Ignored. |
[in] | InformationType | Ignored. |
[in] | BufferSize | Ignored. |
[in] | Buffer | Ignored. |
EFI_UNSUPPORTED |
Definition at line 127 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceNopSetPosition | ( | IN EFI_FILE_PROTOCOL * | This, |
IN UINT64 | Position | ||
) |
File style interface for console (SetPosition).
[in] | This | Ignored. |
[in] | Position | Ignored. |
EFI_UNSUPPORTED |
Definition at line 85 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceNulRead | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
OUT VOID * | Buffer | ||
) |
File style interface for NUL file (Read).
[in] | This | Ignored. |
[in,out] | BufferSize | Poiner to 0 upon return. |
[out] | Buffer | Ignored. |
EFI_SUCCESS | Always. |
Definition at line 261 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceNulWrite | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
IN VOID * | Buffer | ||
) |
File style interface for NUL file (Write).
[in] | This | Ignored. |
[in,out] | BufferSize | Ignored. |
[in] | Buffer | Ignored. |
EFI_SUCCESS |
Definition at line 282 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceOpenNotFound | ( | IN EFI_FILE_PROTOCOL * | This, |
OUT EFI_FILE_PROTOCOL ** | NewHandle, | ||
IN CHAR16 * | FileName, | ||
IN UINT64 | OpenMode, | ||
IN UINT64 | Attributes | ||
) |
File style interface for console (Open).
[in] | This | Ignored. |
[out] | NewHandle | Ignored. |
[in] | FileName | Ignored. |
[in] | OpenMode | Ignored. |
[in] | Attributes | Ignored. |
EFI_NOT_FOUND |
Definition at line 30 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceStdErrRead | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
OUT VOID * | Buffer | ||
) |
File style interface for console StdErr (Read).
[in] | This | Ignored. |
[in,out] | BufferSize | Ignored. |
[out] | Buffer | Ignored. |
EFI_UNSUPPORTED | Always. |
Definition at line 241 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceStdErrWrite | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
IN VOID * | Buffer | ||
) |
File style interface for console StdErr (Write).
Writes error to the error output.
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
[in,out] | BufferSize | Size in bytes of Buffer. |
[in] | Buffer | The pointer to the buffer to write. |
Definition at line 201 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceStdInRead | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
OUT VOID * | Buffer | ||
) |
File style interface for console (Read).
This will return a single line of input from the console.
This | A pointer to the EFI_FILE_PROTOCOL instance that is the file handle to read data from. Not used. |
BufferSize | On input, the size of the Buffer. On output, the amount of data returned in Buffer. In both cases, the size is measured in bytes. |
Buffer | The buffer into which the data is read. |
EFI_SUCCESS | The data was read. |
EFI_NO_MEDIA | The device has no medium. |
EFI_DEVICE_ERROR | The device reported an error. |
EFI_DEVICE_ERROR | An attempt was made to read from a deleted file. |
EFI_DEVICE_ERROR | On entry, the current file position is beyond the end of the file. |
EFI_VOLUME_CORRUPTED | The file system structures are corrupted. |
EFI_BUFFER_TOO_SMALL | The BufferSize is too small to read the current directory entry. BufferSize has been updated with the size needed to complete the request. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
Definition at line 458 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceStdInWrite | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
IN VOID * | Buffer | ||
) |
File style interface for StdIn (Write).
[in] | This | Ignored. |
[in,out] | BufferSize | Ignored. |
[in] | Buffer | Ignored. |
EFI_UNSUPPORTED |
Definition at line 179 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceStdOutRead | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
OUT VOID * | Buffer | ||
) |
File style interface for console StdOut (Read).
[in] | This | Ignored. |
[in,out] | BufferSize | Ignored. |
[out] | Buffer | Ignored. |
EFI_UNSUPPORTED |
Definition at line 221 of file FileHandleWrappers.c.
EFI_STATUS EFIAPI FileInterfaceStdOutWrite | ( | IN EFI_FILE_PROTOCOL * | This, |
IN OUT UINTN * | BufferSize, | ||
IN VOID * | Buffer | ||
) |
File style interface for StdOut (Write).
Writes data to the screen.
[in] | This | The pointer to the EFI_FILE_PROTOCOL object. |
[in,out] | BufferSize | Size in bytes of Buffer. |
[in] | Buffer | The pointer to the buffer to write. |
EFI_UNSUPPORTED | No output console is supported. |
Definition at line 151 of file FileHandleWrappers.c.
Move the cursor position one character backward.
[in] | LineLength | Length of a line. Get it by calling QueryMode |
[in,out] | Column | Current column of the cursor position |
[in,out] | Row | Current row of the cursor position |
Definition at line 1422 of file FileHandleWrappers.c.
VOID MoveCursorForward | ( | IN UINTN | LineLength, |
IN UINTN | TotalRow, | ||
IN OUT UINTN * | Column, | ||
IN OUT UINTN * | Row | ||
) |
Move the cursor position one character forward.
[in] | LineLength | Length of a line. |
[in] | TotalRow | Total row of a screen |
[in,out] | Column | Current column of the cursor position |
[in,out] | Row | Current row of the cursor position |
Definition at line 1453 of file FileHandleWrappers.c.
VOID PrintCommandHistory | ( | IN CONST UINTN | TotalCols, |
IN CONST UINTN | TotalRows, | ||
IN CONST UINTN | StartColumn | ||
) |
Prints out each previously typed command in the command list history log.
When each screen is full it will pause for a key before continuing.
[in] | TotalCols | How many columns are on the screen |
[in] | TotalRows | How many rows are on the screen |
[in] | StartColumn | which column to start at |
Definition at line 1484 of file FileHandleWrappers.c.
EFI_FILE_PROTOCOL FileInterfaceNulFile |
FILE style interface for NUL file.
Definition at line 1001 of file FileHandleWrappers.c.
EFI_FILE_PROTOCOL FileInterfaceStdErr |
FILE styte interfaces for StdErr.
Definition at line 987 of file FileHandleWrappers.c.
EFI_FILE_PROTOCOL FileInterfaceStdIn |
FILE styte interfaces for StdIn.
Definition at line 959 of file FileHandleWrappers.c.
EFI_FILE_PROTOCOL FileInterfaceStdOut |
FILE styte interfaces for StdOut.
Definition at line 973 of file FileHandleWrappers.c.