]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiPalLib/UefiPalLib.c
EmulatorPkg: Removing ipf which is no longer supported from edk2.
[mirror_edk2.git] / MdePkg / Library / UefiPalLib / UefiPalLib.c
index 290488f73ccc81f6957dafe39434a8f7da846305..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
@@ -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