X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FUefiPalLib%2FUefiPalLib.c;h=26f0be660b81de5f3806c5881361f7d3ee86397b;hb=9095d37b8fe5bfc3d02adad6ba7fd7359ebc0107;hp=f646fd40f849d0a32bc3b48a57abbe84aa19a355;hpb=e43e4b3e8cb381cffa146ac8c0f329bbb4c4b593;p=mirror_edk2.git diff --git a/MdePkg/Library/UefiPalLib/UefiPalLib.c b/MdePkg/Library/UefiPalLib/UefiPalLib.c index f646fd40f8..26f0be660b 100644 --- a/MdePkg/Library/UefiPalLib/UefiPalLib.c +++ b/MdePkg/Library/UefiPalLib/UefiPalLib.c @@ -2,13 +2,13 @@ PAL Library implementation retrieving the PAL Entry Point from the SAL System Table register in the EFI System Confguration Table. - Copyright (c) 2007 - 2008, Intel Corporation All rights - reserved. This program and the accompanying materials are + Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
+ This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php - + http://opensource.org/licenses/bsd-license.php. + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. @@ -42,10 +42,10 @@ UINT64 mPalProcEntry; returned or undefined result may occur during the execution of the procedure. This function is only available on IPF. - @param Index The PAL procedure Index number. - @param Arg2 The 2nd parameter for PAL procedure calls. - @param Arg3 The 3rd parameter for PAL procedure calls. - @param Arg4 The 4th parameter for PAL procedure calls. + @param Index The PAL procedure Index number. + @param Arg2 The 2nd parameter for PAL procedure calls. + @param Arg3 The 3rd parameter for PAL procedure calls. + @param Arg4 The 4th parameter for PAL procedure calls. @return Structure returned from the PAL Call procedure, including the status and return value. @@ -102,8 +102,8 @@ UefiPalLibConstructor ( &gEfiSalSystemTableGuid, (VOID **) &SalSystemTable ); - ASSERT_EFI_ERROR (Status); + ASSERT (SalSystemTable != NULL); // // Check the first entry of SAL System Table,