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
\r
- Module Name: DxeServicesTableLib.c\r
-\r
**/\r
\r
+#include <PiDxe.h>\r
+#include <Guid/DxeServices.h>\r
+#include <Library/DxeServicesTableLib.h>\r
+#include <Library/DebugLib.h>\r
+#include <Library/UefiLib.h>\r
+\r
+#include "DxeServicesTableLibInternal.h"\r
\r
//\r
-// Cached copy of the System Configuration Table\r
+// Cache copy of the DXE Services Table\r
//\r
EFI_DXE_SERVICES *gDS = NULL;\r
\r
/**\r
- The constructor function caches the pointer of System Configuration Table.\r
+ The constructor function caches the pointer of DXE Services Table.\r
\r
- The constructor function caches the pointer of System Configuration Table.\r
+ The constructor function caches the pointer of DXE Services Table.\r
It will ASSERT() if that operation fails.\r
- It will ASSERT() if the pointer of System Configuration Table is NULL.\r
+ It will ASSERT() if the pointer of DXE Services Table is NULL.\r
It will always return EFI_SUCCESS.\r
\r
@param ImageHandle The firmware allocated handle for the EFI image.\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
DxeServicesTableLibConstructor (\r
IN EFI_HANDLE ImageHandle,\r
IN EFI_SYSTEM_TABLE *SystemTable\r
EFI_STATUS Status;\r
\r
//\r
- // Cached copy of the System Configuration Table\r
+ // Cache copy of the DXE Services Table\r
//\r
Status = EfiGetSystemConfigurationTable (&gEfiDxeServicesTableGuid, (VOID **) &gDS);\r
ASSERT_EFI_ERROR (Status);\r