mirror of https://github.com/acidanthera/audk.git
Add more file comments for PeiServiceTableLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5790 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
afa223265a
commit
7292888e44
|
@ -1,6 +1,9 @@
|
||||||
/** @file
|
/** @file
|
||||||
PEI Services Table Pointer Library.
|
PEI Services Table Pointer Library.
|
||||||
|
|
||||||
|
This library is used for PEIM which does executed from flash device directly but
|
||||||
|
executed in memory.
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation<BR>
|
Copyright (c) 2006, Intel Corporation<BR>
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -16,8 +19,6 @@
|
||||||
#include <Library/PeiServicesTablePointerLib.h>
|
#include <Library/PeiServicesTablePointerLib.h>
|
||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
|
|
||||||
#include "PeiServicesTablePointerInternal.h"
|
|
||||||
|
|
||||||
STATIC EFI_PEI_SERVICES **gPeiServices;
|
STATIC EFI_PEI_SERVICES **gPeiServices;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,37 +0,0 @@
|
||||||
/** @file
|
|
||||||
Internal Header file for PEI Services Table Pointer Library.
|
|
||||||
|
|
||||||
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 _PEI_SERVICE_TABLE_POINTER_INTERNAL_H_
|
|
||||||
#define _PEI_SERVICE_TABLE_POINTER_INTERNAL_H_
|
|
||||||
|
|
||||||
/**
|
|
||||||
The constructor function caches the pointer to PEI services.
|
|
||||||
|
|
||||||
The constructor function caches the pointer to PEI services.
|
|
||||||
It will always return EFI_SUCCESS.
|
|
||||||
|
|
||||||
@param FileHandle Handle of FFS header the loaded driver.
|
|
||||||
@param PeiServices Pointer to the PEI services.
|
|
||||||
|
|
||||||
@retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
|
|
||||||
|
|
||||||
**/
|
|
||||||
EFI_STATUS
|
|
||||||
EFIAPI
|
|
||||||
PeiServicesTablePointerLibConstructor (
|
|
||||||
IN EFI_PEI_FILE_HANDLE FileHandle,
|
|
||||||
IN EFI_PEI_SERVICES **PeiServices
|
|
||||||
)
|
|
||||||
;
|
|
||||||
#endif
|
|
|
@ -4,6 +4,7 @@
|
||||||
# PEI Services Table Library implementation that retrieves a pointer to the
|
# PEI Services Table Library implementation that retrieves a pointer to the
|
||||||
# PEI Services Table from a global variable. Not available to modules that execute from
|
# PEI Services Table from a global variable. Not available to modules that execute from
|
||||||
# read-only memory.
|
# read-only memory.
|
||||||
|
#
|
||||||
# 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
|
||||||
|
|
Loading…
Reference in New Issue