X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FUefiSalLib%2FUefiSalLib.c;h=3cfc89fc5258e32deaeaf1a85cddf5659ffa6386;hp=f4319ed11c55f3963e46b596acfd4a5327f754fe;hb=9095d37b8fe5bfc3d02adad6ba7fd7359ebc0107;hpb=e43e4b3e8cb381cffa146ac8c0f329bbb4c4b593 diff --git a/MdePkg/Library/UefiSalLib/UefiSalLib.c b/MdePkg/Library/UefiSalLib/UefiSalLib.c index f4319ed11c..3cfc89fc52 100644 --- a/MdePkg/Library/UefiSalLib/UefiSalLib.c +++ b/MdePkg/Library/UefiSalLib/UefiSalLib.c @@ -1,14 +1,14 @@ /** @file SAL Library implementation retrieving the SAL Entry Point from the SAL System Table - register in the EFI System Confguration Table. + register in the EFI System Configuration 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. @@ -40,14 +40,14 @@ SAL_PROC mSalProcEntry; or undefined result may occur during the execution of the procedure. This function is only available on IPF. - @param Index The SAL procedure Index number - @param Arg2 The 2nd parameter for SAL procedure calls - @param Arg3 The 3rd parameter for SAL procedure calls - @param Arg4 The 4th parameter for SAL procedure calls - @param Arg5 The 5th parameter for SAL procedure calls - @param Arg6 The 6th parameter for SAL procedure calls - @param Arg7 The 7th parameter for SAL procedure calls - @param Arg8 The 8th parameter for SAL procedure calls + @param Index The SAL procedure Index number. + @param Arg2 The 2nd parameter for SAL procedure calls. + @param Arg3 The 3rd parameter for SAL procedure calls. + @param Arg4 The 4th parameter for SAL procedure calls. + @param Arg5 The 5th parameter for SAL procedure calls. + @param Arg6 The 6th parameter for SAL procedure calls. + @param Arg7 The 7th parameter for SAL procedure calls. + @param Arg8 The 8th parameter for SAL procedure calls. @return SAL returned registers. @@ -111,8 +111,8 @@ UefiSalLibConstructor ( &gEfiSalSystemTableGuid, (VOID **) &SalSystemTable ); - ASSERT_EFI_ERROR (Status); + ASSERT (SalSystemTable != NULL); // // Check the first entry of SAL System Table,