fixing errors found in code review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9450 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -26,12 +26,12 @@
|
||||
// replaced EFI_LIST_ENTRY with LIST_ENTRY for simplicity.
|
||||
// they are identical outside of the name.
|
||||
typedef struct {
|
||||
LIST_ENTRY Link; /// Linked list members
|
||||
EFI_STATUS Status; /// Status of opening the file. Valid only if Handle != NULL.
|
||||
CONST CHAR16 *FullName; /// Fully qualified filename.
|
||||
CONST CHAR16 *FileName; /// name of this file.
|
||||
EFI_FILE_HANDLE Handle; /// Handle for interacting with the opened file or NULL if closed.
|
||||
EFI_FILE_INFO *Info; /// Pointer to the FileInfo struct for this file or NULL.
|
||||
LIST_ENTRY Link; ///< Linked list members
|
||||
EFI_STATUS Status; ///< Status of opening the file. Valid only if Handle != NULL.
|
||||
CONST CHAR16 *FullName; ///< Fully qualified filename.
|
||||
CONST CHAR16 *FileName; ///< name of this file.
|
||||
EFI_FILE_HANDLE Handle; ///< Handle for interacting with the opened file or NULL if closed.
|
||||
EFI_FILE_INFO *Info; ///< Pointer to the FileInfo struct for this file or NULL.
|
||||
} EFI_SHELL_FILE_INFO;
|
||||
/**
|
||||
Returns whether any script files are currently being processed.
|
||||
|
@@ -21,10 +21,35 @@
|
||||
}
|
||||
|
||||
typedef struct _EFI_SHELL_PARAMETERS_PROTOCOL {
|
||||
///
|
||||
/// Points to an Argc-element array of points to null-terminated strings containing
|
||||
/// the command-line parameters. The first entry in the array is always the full file
|
||||
/// path of the executable. Any quotation marks that were used to preserve
|
||||
/// whitespace have been removed.
|
||||
///
|
||||
CHAR16 **Argv;
|
||||
|
||||
///
|
||||
/// The number of elements in the Argv array.
|
||||
///
|
||||
UINTN Argc;
|
||||
|
||||
///
|
||||
/// The file handle for the standard input for this executable. This may be different
|
||||
/// from the ConInHandle in the EFI_SYSTEM_TABLE.
|
||||
///
|
||||
EFI_FILE_HANDLE StdIn;
|
||||
|
||||
///
|
||||
/// The file handle for the standard output for this executable. This may be different
|
||||
/// from the ConOutHandle in the EFI_SYSTEM_TABLE.
|
||||
///
|
||||
EFI_FILE_HANDLE StdOut;
|
||||
|
||||
///
|
||||
/// The file handle for the standard error output for this executable. This may be
|
||||
/// different from the StdErrHandle in the EFI_SYSTEM_TABLE.
|
||||
///
|
||||
EFI_FILE_HANDLE StdErr;
|
||||
} EFI_SHELL_PARAMETERS_PROTOCOL;
|
||||
|
||||
|
Reference in New Issue
Block a user