Add more comment for library instance and remove unused internal header file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5798 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2008-09-03 08:42:16 +00:00
parent ce02b0b901
commit bf295af27c
3 changed files with 6 additions and 39 deletions

View File

@ -1,5 +1,6 @@
/** @file
UEFI Boot Services Table Library.
This library retrieve the EFI_BOOT_SERVICES pointer from EFI system table in
library's constructor.
Copyright (c) 2006 - 2007, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
@ -17,7 +18,6 @@
#include <Library/UefiBootServicesTableLib.h>
#include <Library/DebugLib.h>
#include "UefiBootServicesTableLibInternal.h"
EFI_HANDLE gImageHandle = NULL;
EFI_SYSTEM_TABLE *gST = NULL;

View File

@ -1,7 +1,9 @@
#/** @file
# UEFI Boot Services Table Library
#
# Library to abstract Framework extensions that conflict with UEFI 2.0 Specification
#
# This library retrieve the EFI_BOOT_SERVICES pointer from EFI system table in
# library's constructor.
#
# Copyright (c) 2007, Intel Corporation.
#
# All rights reserved. This program and the accompanying materials
@ -32,7 +34,6 @@
[Sources.common]
UefiBootServicesTableLib.c
UefiBootServicesTableLibInternal.h
[Packages]
MdePkg/MdePkg.dec

View File

@ -1,34 +0,0 @@
/** @file
UEFI Boot Services Table Library internal header
Copyright (c) 2006 - 2007, 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 _UEFIBOOTSERVICESTABLE_LIB_H_
#define _UEFIBOOTSERVICESTABLE_LIB_H_
/**
Initialize gBS.
@param ImageHandle ImageHandle of the loaded driver.
@param SystemTable Pointer to the EFI System Table.
@retval EFI_SUCCESS One or more of the drivers returned a success code.
@retval !EFI_SUCESS The return status from the last driver entry point in the list.
**/
EFI_STATUS
EFIAPI
UefiBootServicesTableLibConstructor (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
;
#endif