/** @file\r
Main file for NULL named library for Profile1 shell command functions.\r
\r
- Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
#include <Library/PrintLib.h>\r
#include <Library/HandleParsingLib.h>\r
\r
-\r
-extern EFI_HANDLE gShellDebug1HiiHandle;\r
+extern EFI_HII_HANDLE gShellDebug1HiiHandle;\r
\r
/**\r
Function returns a system configuration table that is stored in the\r
**/\r
EFI_STATUS\r
GetSystemConfigurationTable (\r
- IN EFI_GUID *TableGuid,\r
- IN OUT VOID **Table\r
+ IN EFI_GUID *TableGuid,\r
+ IN OUT VOID **Table\r
);\r
\r
/**\r
\r
/**\r
Clear the line at the specified Row.\r
- \r
+\r
@param[in] Row The row number to be cleared ( start from 1 )\r
@param[in] LastCol The last printable column.\r
@param[in] LastRow The last printable row.\r
**/\r
VOID\r
EditorClearLine (\r
- IN UINTN Row,\r
- IN UINTN LastCol,\r
- IN UINTN LastRow\r
+ IN UINTN Row,\r
+ IN UINTN LastCol,\r
+ IN UINTN LastRow\r
);\r
\r
/**\r
Check if file name has illegal characters.\r
- \r
+\r
@param Name The filename to check.\r
\r
@retval TRUE The filename is ok.\r
**/\r
BOOLEAN\r
IsValidFileName (\r
- IN CONST CHAR16 *Name\r
+ IN CONST CHAR16 *Name\r
);\r
\r
/**\r
**/\r
CHAR16 *\r
EditGetDefaultFileName (\r
- IN CONST CHAR16 *Extension\r
+ IN CONST CHAR16 *Extension\r
);\r
\r
/**\r
- Read a file into an allocated buffer. The buffer is the responsibility \r
+ Read a file into an allocated buffer. The buffer is the responsibility\r
of the caller to free.\r
\r
@param[in] FileName The filename of the file to open.\r
- @param[out] Buffer Upon successful return, the pointer to the \r
- address of the allocated buffer. \r
+ @param[out] Buffer Upon successful return, the pointer to the\r
+ address of the allocated buffer.\r
@param[out] BufferSize If not NULL, then the pointer to the size\r
of the allocated buffer.\r
@param[out] ReadOnly Upon successful return TRUE if the file is\r
read only. FALSE otherwise.\r
\r
- @retval EFI_NOT_FOUND The filename did not represent a file in the \r
+ @retval EFI_NOT_FOUND The filename did not represent a file in the\r
file system. Directories cannot be read with\r
this method.\r
@retval EFI_SUCCESS The file was read into the buffer.\r
**/\r
EFI_STATUS\r
ReadFileIntoBuffer (\r
- IN CONST CHAR16 *FileName,\r
- OUT VOID **Buffer,\r
- OUT UINTN *BufferSize OPTIONAL,\r
- OUT BOOLEAN *ReadOnly\r
+ IN CONST CHAR16 *FileName,\r
+ OUT VOID **Buffer,\r
+ OUT UINTN *BufferSize OPTIONAL,\r
+ OUT BOOLEAN *ReadOnly\r
);\r
\r
#endif\r