]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / Library / DxeServicesTableLib / DxeServicesTableLib.c
index e39cd1bc389c64ad9d1c74ed9c12866b50a7326e..7c379891be9158eb67c2cd992a2aa0561d35d147 100644 (file)
@@ -1,25 +1,19 @@
 /** @file\r
   This library implement library class DxeServiceTableLib.\r
   It produce EFI_DXE_SERVICE pointer in global variable gDS in library's constructure.\r
-  \r
+\r
   A DXE driver can use gDS pointer to access services in EFI_DXE_SERVICE, if this\r
-  DXE driver declare that use DxeServicesTableLib library class and link to this \r
+  DXE driver declare that use DxeServicesTableLib library class and link to this\r
   library instance.\r
 \r
-  Please attention this library instance can not be used util EFI_SYSTEM_TABLE was \r
+  Please attention this library instance can not be used util EFI_SYSTEM_TABLE was\r
   initialized.\r
-  \r
-  This library contains contruct function to retrieve EFI_DXE_SERIVCE, this construct\r
-  function will be invoked in DXE driver's autogen file.\r
 \r
-  Copyright (c) 2006 - 2008, 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
+  This library contains construct function to retrieve EFI_DXE_SERVICE, this construct\r
+  function will be invoked in DXE driver's autogen file.\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) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -32,7 +26,7 @@
 //\r
 // Cache copy of the DXE Services Table\r
 //\r
-EFI_DXE_SERVICES  *gDS      = NULL;\r
+EFI_DXE_SERVICES  *gDS = NULL;\r
 \r
 /**\r
   The constructor function caches the pointer of DXE Services Table.\r
@@ -60,7 +54,7 @@ DxeServicesTableLibConstructor (
   //\r
   // Cache copy of the DXE Services Table\r
   //\r
-  Status = EfiGetSystemConfigurationTable (&gEfiDxeServicesTableGuid, (VOID **) &gDS);\r
+  Status = EfiGetSystemConfigurationTable (&gEfiDxeServicesTableGuid, (VOID **)&gDS);\r
   ASSERT_EFI_ERROR (Status);\r
   ASSERT (gDS != NULL);\r
 \r