diff --git a/MdePkg/Include/Library/DxeServicesTableLib.h b/MdePkg/Include/Library/DxeServicesTableLib.h index fc39725c92..9d3f7c888a 100644 --- a/MdePkg/Include/Library/DxeServicesTableLib.h +++ b/MdePkg/Include/Library/DxeServicesTableLib.h @@ -18,7 +18,7 @@ #define __DXE_SERVICES_TABLE_LIB_H__ // -// Cached copy of the System Configuration Table +// Cache copy of the DXE Services Table // extern EFI_DXE_SERVICES *gDS; diff --git a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c index fac2dde8dc..829e74f280 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. @@ -43,7 +43,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);