diff options
3 files changed, 7 insertions, 46 deletions
diff --git a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c index 423ade2..2c5baea 100644 --- a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c +++ b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c @@ -1,5 +1,9 @@ /** @file
- DXE Library.
+ This library produce EFI_DXE_SERVICE pointer in global EFI system table. It should
+ be linked to a DXE driver who use gBS.
+
+ This library contains contruct function to retrieve EFI_DXE_SERIVCE, this construct
+ function will be invoked in DXE driver's autogen file.
Copyright (c) 2006, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
@@ -18,8 +22,6 @@ #include <Library/DebugLib.h>
#include <Library/UefiLib.h>
-#include "DxeServicesTableLibInternal.h"
-
//
// Cache copy of the DXE Services Table
//
diff --git a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf index 132654e..cbacc1c 100644 --- a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf +++ b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf @@ -1,8 +1,7 @@ #/** @file
-# Component description file for Dxe Services Table Library.
-#
# DXE Services Table Library that retrieves a pointer to the DXE Services
-# Table from the Configuration Table in the EFI System Table.
+# Table from the Configuration Table in the EFI System Table.
+#
# Copyright (c) 2007, Intel Corporation.
#
# All rights reserved. This program and the accompanying materials
diff --git a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h deleted file mode 100644 index b9cea72..0000000 --- a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLibInternal.h +++ /dev/null @@ -1,40 +0,0 @@ -/** @file
- Internal Header file for Dxe Services Table Library Instance.
-
- Copyright (c) 2006, Intel Corporation<BR>
- 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
-
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-**/
-
-#ifndef _DXE_SERVICE_TABLE_LIB_INTERNAL_H_
-#define _DXE_SERVICE_TABLE_LIB_INTERNAL_H_
-
-
-/**
- The constructor function caches the pointer of DXE Services 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 DXE Services Table is NULL.
- It will always return EFI_SUCCESS.
-
- @param ImageHandle The firmware allocated handle for the EFI image.
- @param SystemTable A pointer to the EFI System Table.
-
- @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
-
-**/
-EFI_STATUS
-EFIAPI
-DxeServicesTableLibConstructor (
- IN EFI_HANDLE ImageHandle,
- IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
-#endif
|