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
This commit is contained in:
klu2 2008-09-03 07:50:48 +00:00
parent 4c6486b90e
commit bb347ec275
3 changed files with 7 additions and 46 deletions

View File

@ -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
//

View File

@ -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

View File

@ -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