diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-03 07:50:48 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-03 07:50:48 +0000 |
commit | bb347ec2750f416da929f9995b1eb6b3fbe77cf7 (patch) | |
tree | 37c9ed1599e699e5d29ffb32e00dbe22f4a34f62 /MdePkg | |
parent | 4c6486b90ef74581b9b441a65f20b8ace8fda61c (diff) | |
download | edk2-platforms-bb347ec2750f416da929f9995b1eb6b3fbe77cf7.tar.xz |
Add more comments for DxeServicesTableLib library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5788 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
3 files changed, 7 insertions, 46 deletions
diff --git a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c index 423ade230f..2c5baea626 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 132654ea82..cbacc1c0ad 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 b9cea72439..0000000000 --- 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
|