X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FDxeServicesTableLib%2FDxeServicesTableLib.c;h=af19099def63b4e9a09c694fd7f32456fa4a2e4e;hb=9dac0c36b6b45f4e89958b663ae0db7331f5fbab;hp=fac2dde8dc7341707214715cdabd50e287ba569c;hpb=9f73d38da4a01da1c5ff6679565d426f1c4bbe98;p=mirror_edk2.git diff --git a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c index fac2dde8dc..af19099def 100644 --- a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c +++ b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c @@ -16,16 +16,16 @@ // -// Cached copy of the System Configuration Table +// Cache copy of the DXE Services Table // EFI_DXE_SERVICES *gDS = NULL; /** - The constructor function caches the pointer of System Configuration Table. + The constructor function caches the pointer of DXE Services Table. - The constructor function caches the pointer of System Configuration Table. + The constructor function caches the pointer of DXE Services Table. It will ASSERT() if that operation fails. - It will ASSERT() if the pointer of System Configuration Table is NULL. + It will ASSERT() if the pointer of DXE Services Table is NULL. It will always return EFI_SUCCESS. @param ImageHandle The firmware allocated handle for the EFI image. @@ -35,6 +35,7 @@ EFI_DXE_SERVICES *gDS = NULL; **/ EFI_STATUS +EFIAPI DxeServicesTableLibConstructor ( IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable @@ -43,7 +44,7 @@ DxeServicesTableLibConstructor ( EFI_STATUS Status; // - // Cached copy of the System Configuration Table + // Cache copy of the DXE Services Table // Status = EfiGetSystemConfigurationTable (&gEfiDxeServicesTableGuid, (VOID **) &gDS); ASSERT_EFI_ERROR (Status);