mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 22:54:51 +02:00
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:
parent
ce02b0b901
commit
bf295af27c
@ -1,5 +1,6 @@
|
|||||||
/** @file
|
/** @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>
|
Copyright (c) 2006 - 2007, Intel Corporation<BR>
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
@ -17,7 +18,6 @@
|
|||||||
|
|
||||||
#include <Library/UefiBootServicesTableLib.h>
|
#include <Library/UefiBootServicesTableLib.h>
|
||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
#include "UefiBootServicesTableLibInternal.h"
|
|
||||||
|
|
||||||
EFI_HANDLE gImageHandle = NULL;
|
EFI_HANDLE gImageHandle = NULL;
|
||||||
EFI_SYSTEM_TABLE *gST = NULL;
|
EFI_SYSTEM_TABLE *gST = NULL;
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
#/** @file
|
#/** @file
|
||||||
# UEFI Boot Services Table Library
|
# 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.
|
# Copyright (c) 2007, Intel Corporation.
|
||||||
#
|
#
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. This program and the accompanying materials
|
||||||
@ -32,7 +34,6 @@
|
|||||||
|
|
||||||
[Sources.common]
|
[Sources.common]
|
||||||
UefiBootServicesTableLib.c
|
UefiBootServicesTableLib.c
|
||||||
UefiBootServicesTableLibInternal.h
|
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user