]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiPalLib/UefiPalLib.c
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Library / UefiPalLib / UefiPalLib.c
index f646fd40f849d0a32bc3b48a57abbe84aa19a355..26f0be660b81de5f3806c5881361f7d3ee86397b 100644 (file)
@@ -2,13 +2,13 @@
   PAL Library implementation retrieving the PAL Entry Point from the SAL System Table\r
   register in the EFI System Confguration Table.\r
 \r
-  Copyright (c) 2007 - 2008, Intel Corporation All rights\r
-  reserved. This program and the accompanying materials are\r
+  Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials are\r
   licensed and made available under the terms and conditions of\r
   the BSD License which accompanies this distribution.  The full\r
   text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-  \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
 \r
@@ -42,10 +42,10 @@ UINT64               mPalProcEntry;
   returned or undefined result may occur during the execution of the procedure.\r
   This function is only available on IPF.\r
 \r
-  @param  Index  The PAL procedure Index number.\r
-  @param  Arg2   The 2nd parameter for PAL procedure calls.\r
-  @param  Arg3   The 3rd parameter for PAL procedure calls.\r
-  @param  Arg4   The 4th parameter for PAL procedure calls.\r
+  @param Index  The PAL procedure Index number.\r
+  @param Arg2   The 2nd parameter for PAL procedure calls.\r
+  @param Arg3   The 3rd parameter for PAL procedure calls.\r
+  @param Arg4   The 4th parameter for PAL procedure calls.\r
 \r
   @return Structure returned from the PAL Call procedure, including the status and return value.\r
 \r
@@ -102,8 +102,8 @@ UefiPalLibConstructor (
              &gEfiSalSystemTableGuid,\r
              (VOID **) &SalSystemTable\r
              );\r
-\r
   ASSERT_EFI_ERROR (Status);\r
+  ASSERT (SalSystemTable != NULL);\r
 \r
   //\r
   // Check the first entry of SAL System Table,\r