]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / UefiShellDebug1CommandsLib.h
index 80a8476a5ef54cacdc6566185cfcef7ecfc1d150..e738b3449014cd8f8a88aed6c786957ee7d8d5d0 100644 (file)
@@ -1,14 +1,8 @@
 /** @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
@@ -57,8 +51,7 @@
 #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
@@ -72,8 +65,8 @@ extern        EFI_HANDLE                        gShellDebug1HiiHandle;
 **/\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
@@ -312,21 +305,21 @@ ShellCommandRunHexEdit (
 \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
@@ -334,7 +327,7 @@ EditorClearLine (
 **/\r
 BOOLEAN\r
 IsValidFileName (\r
-  IN CONST CHAR16 *Name\r
+  IN CONST CHAR16  *Name\r
   );\r
 \r
 /**\r
@@ -347,22 +340,22 @@ IsValidFileName (
 **/\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
@@ -374,10 +367,10 @@ EditGetDefaultFileName (
 **/\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