mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
Update EntryPoint library header
Remove UefiTcgPlatform.h from Uefi Directory to IndustryStandard Change EFI_OPTIONAL_POINTER to EFI_OPTIONAL_PTR aligned to UEFI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7014 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
963dbb3001
commit
f6d2bcc6fa
@ -16,7 +16,6 @@
|
|||||||
#define __UEFI_TCG_PLATFOMR_H__
|
#define __UEFI_TCG_PLATFOMR_H__
|
||||||
|
|
||||||
#include <IndustryStandard/Tpm12.h>
|
#include <IndustryStandard/Tpm12.h>
|
||||||
|
|
||||||
#include <Uefi.h>
|
#include <Uefi.h>
|
||||||
|
|
||||||
//
|
//
|
@ -91,7 +91,7 @@ EfiMain (
|
|||||||
The PEI Core must call this function with a NULL FileHandle value as soon as the initial PEI
|
The PEI Core must call this function with a NULL FileHandle value as soon as the initial PEI
|
||||||
Services Table has been established.
|
Services Table has been established.
|
||||||
|
|
||||||
@param FileHandle Handle of the file being invoked.Type EFI_PEI_FILE_HANDLE is defined in FfsFindNextFile().
|
@param FileHandle Handle of the file being invoked.
|
||||||
@param PeiServices Describes the list of possible PEI Services.
|
@param PeiServices Describes the list of possible PEI Services.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
@ -22,10 +22,13 @@ extern CONST UINT32 _gPeimRevision;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Image entry point of Peim.
|
The entry point of PE/COFF Image for a PEIM.
|
||||||
|
|
||||||
|
This function is the entry point for a PEIM. This function must call ProcessLibraryConstructorList()
|
||||||
|
and ProcessModuleEntryPointList(). The return value from ProcessModuleEntryPointList() is returned.
|
||||||
|
If _gPeimRevision is not zero and PeiServices->Hdr.Revision is less than _gPeimRevison, then ASSERT().
|
||||||
|
|
||||||
@param FileHandle Handle of the file being invoked.
|
@param FileHandle Handle of the file being invoked.
|
||||||
Type EFI_PEI_FILE_HANDLE is defined in FfsFindNextFile().
|
|
||||||
@param PeiServices Describes the list of possible PEI Services.
|
@param PeiServices Describes the list of possible PEI Services.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The PEIM executed normally.
|
@retval EFI_SUCCESS The PEIM executed normally.
|
||||||
@ -42,8 +45,9 @@ _ModuleEntryPoint (
|
|||||||
/**
|
/**
|
||||||
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().
|
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().
|
||||||
|
|
||||||
|
This function is required to call _ModuleEntryPoint() passing in FileHandle and PeiServices.
|
||||||
|
|
||||||
@param FileHandle Handle of the file being invoked.
|
@param FileHandle Handle of the file being invoked.
|
||||||
Type EFI_PEI_FILE_HANDLE is defined in FfsFindNextFile().
|
|
||||||
@param PeiServices Describes the list of possible PEI Services.
|
@param PeiServices Describes the list of possible PEI Services.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The PEIM executed normally.
|
@retval EFI_SUCCESS The PEIM executed normally.
|
||||||
@ -57,13 +61,20 @@ EfiMain (
|
|||||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Call constructs for all libraries. Automatics Generated by tool.
|
Autogenerated function that calls the library constructors for all of the module's
|
||||||
|
dependent libraries.
|
||||||
|
|
||||||
@param FileHandle Handle of the file being invoked.
|
This function must be called by the PEI Core once an initial PEI Services Table has been established.
|
||||||
Type EFI_PEI_FILE_HANDLE is defined in FfsFindNextFile().
|
This function calls the set of library constructors for the set of library instances that a
|
||||||
@param PeiServices Describes the list of possible PEI Services.
|
module depends on. This include library instances that a module depends on directly and library
|
||||||
|
instances that a module depends on indirectly through other libraries.
|
||||||
|
This function is autogenerated by build tools and those build tools are responsible for collecting
|
||||||
|
the set of library instances, determine which ones have constructors, and calling the library
|
||||||
|
constructors in the proper order based upon each of the library instances own dependencies.
|
||||||
|
|
||||||
|
@param FileHandle Handle of the file being invoked.
|
||||||
|
@param PeiServices Describes the list of possible PEI Services.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -73,28 +84,15 @@ ProcessLibraryConstructorList (
|
|||||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Call destructors for all libraries. Automatics Generated by tool.
|
Autogenerated function that calls a set of module entry points.
|
||||||
|
|
||||||
|
This function must be called by _ModuleEntryPoint().
|
||||||
|
This function calls the set of module entry points.
|
||||||
|
This function is autogenerated by build tools and those build tools are responsible
|
||||||
|
for collecting the module entry points and calling them in a specified order.
|
||||||
|
|
||||||
@param FileHandle Handle of the file being invoked.
|
@param FileHandle Handle of the file being invoked.
|
||||||
Type EFI_PEI_FILE_HANDLE is defined in FfsFindNextFile().
|
|
||||||
@param PeiServices Describes the list of possible PEI Services.
|
|
||||||
|
|
||||||
**/
|
|
||||||
VOID
|
|
||||||
EFIAPI
|
|
||||||
ProcessLibraryDestructorList (
|
|
||||||
IN EFI_PEI_FILE_HANDLE FileHandle,
|
|
||||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
Call the list of driver entry points. Automatics Generated by tool.
|
|
||||||
|
|
||||||
@param FileHandle Handle of the file being invoked.
|
|
||||||
Type EFI_PEI_FILE_HANDLE is defined in FfsFindNextFile().
|
|
||||||
@param PeiServices Describes the list of possible PEI Services.
|
@param PeiServices Describes the list of possible PEI Services.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The PEIM executed normally.
|
@retval EFI_SUCCESS The PEIM executed normally.
|
||||||
|
@ -66,7 +66,7 @@ EfiMain (
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Invokes the library destructors fror all dependent libraries and terminates
|
Invokes the library destructors for all dependent libraries and terminates
|
||||||
the UEFI Application.
|
the UEFI Application.
|
||||||
|
|
||||||
This function calls ProcessLibraryDestructorList() and the EFI Boot Service Exit()
|
This function calls ProcessLibraryDestructorList() and the EFI Boot Service Exit()
|
||||||
@ -132,12 +132,13 @@ ProcessLibraryDestructorList (
|
|||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Call driver entry point. For UEFI application, user
|
This function calls the set of module entry points. It must be called by _ModuleEntryPoint().
|
||||||
can only specify one entry point. Tool will automatically insert
|
|
||||||
this to Autogen.c.
|
|
||||||
|
|
||||||
@param ImageHandle ImageHandle of the loaded driver.
|
This function is autogenerated by build tools and those build tools are
|
||||||
@param SystemTable Pointer to the EFI System Table.
|
responsible for collecting the module entry points and calling them in a specified order.
|
||||||
|
|
||||||
|
@param ImageHandle The image handle of the UEFI Application.
|
||||||
|
@param SystemTable A pointer to the EFI System Table.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The UEFI Application executed normally.
|
@retval EFI_SUCCESS The UEFI Application executed normally.
|
||||||
@retval !EFI_SUCCESS The UEFI Application failed to execute normally.
|
@retval !EFI_SUCCESS The UEFI Application failed to execute normally.
|
||||||
|
@ -46,8 +46,8 @@ extern CONST UINT8 _gDriverUnloadImageCount;
|
|||||||
then return EFI_INCOMPATIBLE_VERSION.
|
then return EFI_INCOMPATIBLE_VERSION.
|
||||||
|
|
||||||
|
|
||||||
@param ImageHandle ImageHandle of the loaded driver.
|
@param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.
|
||||||
@param SystemTable Pointer to the EFI System Table.
|
@param SystemTable A pointer to the EFI System Table.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver,
|
@retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver,
|
||||||
or UEFI Driver exited normally.
|
or UEFI Driver exited normally.
|
||||||
@ -68,8 +68,8 @@ _ModuleEntryPoint (
|
|||||||
|
|
||||||
This function is required to call _ModuleEntryPoint() passing in ImageHandle, and SystemTable.
|
This function is required to call _ModuleEntryPoint() passing in ImageHandle, and SystemTable.
|
||||||
|
|
||||||
@param ImageHandle ImageHandle of the loaded driver.
|
@param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.
|
||||||
@param SystemTable Pointer to the EFI System Table.
|
@param SystemTable A pointer to the EFI System Table.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver,
|
@retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver,
|
||||||
or UEFI Driver exited normally.
|
or UEFI Driver exited normally.
|
||||||
@ -85,7 +85,7 @@ EfiMain (
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Invokes the library destructors fror all dependent libraries and terminates the
|
Invokes the library destructors for all dependent libraries and terminates the
|
||||||
DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.
|
DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.
|
||||||
|
|
||||||
This function calls ProcessLibraryDestructorList() and the EFI Boot Service Exit()
|
This function calls ProcessLibraryDestructorList() and the EFI Boot Service Exit()
|
||||||
@ -114,8 +114,8 @@ ExitDriver (
|
|||||||
and calling the library constructors in the proper order based upon each of the library
|
and calling the library constructors in the proper order based upon each of the library
|
||||||
instances own dependencies.
|
instances own dependencies.
|
||||||
|
|
||||||
@param ImageHandle ImageHandle of the loaded driver.
|
@param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.
|
||||||
@param SystemTable Pointer to the EFI System Table.
|
@param SystemTable A pointer to the EFI System Table.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -138,8 +138,8 @@ ProcessLibraryConstructorList (
|
|||||||
collecting the set of library instances, determine which ones have destructors, and calling
|
collecting the set of library instances, determine which ones have destructors, and calling
|
||||||
the library destructors in the proper order based upon each of the library instances own dependencies.
|
the library destructors in the proper order based upon each of the library instances own dependencies.
|
||||||
|
|
||||||
@param ImageHandle ImageHandle of the loaded driver.
|
@param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.
|
||||||
@param SystemTable Pointer to the EFI System Table.
|
@param SystemTable A pointer to the EFI System Table.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -158,11 +158,11 @@ ProcessLibraryDestructorList (
|
|||||||
This function is autogenerated by build tools and those build tools are responsible
|
This function is autogenerated by build tools and those build tools are responsible
|
||||||
for collecting the module entry points and calling them in a specified order.
|
for collecting the module entry points and calling them in a specified order.
|
||||||
|
|
||||||
@param ImageHandle ImageHandle of the loaded driver.
|
@param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.
|
||||||
@param SystemTable Pointer to the EFI System Table.
|
@param SystemTable A pointer to the EFI System Table.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The UEFI Application executed normally.
|
@retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver executed normally.
|
||||||
@retval !EFI_SUCCESS The UEFI Application failed to execute normally.
|
@retval !EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver failed to execute normally.
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
@ -180,7 +180,7 @@ ProcessModuleEntryPointList (
|
|||||||
This function is autogenerated by build tools and those build tools are responsible
|
This function is autogenerated by build tools and those build tools are responsible
|
||||||
for collecting the module unload handlers and calling them in a specified order.
|
for collecting the module unload handlers and calling them in a specified order.
|
||||||
|
|
||||||
@param ImageHandle ImageHandle of the loaded driver.
|
@param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The unoad handlers executed normally.
|
@retval EFI_SUCCESS The unoad handlers executed normally.
|
||||||
@retval !EFI_SUCCESS The unload handlers failed to execute normally.
|
@retval !EFI_SUCCESS The unload handlers failed to execute normally.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#ifndef _TCG_SERVICE_PROTOCOL_H_
|
#ifndef _TCG_SERVICE_PROTOCOL_H_
|
||||||
#define _TCG_SERVICE_PROTOCOL_H_
|
#define _TCG_SERVICE_PROTOCOL_H_
|
||||||
|
|
||||||
#include <Uefi/UefiTcgPlatform.h>
|
#include <IndustryStandard/UefiTcgPlatform.h>
|
||||||
|
|
||||||
#define EFI_TCG_PROTOCOL_GUID \
|
#define EFI_TCG_PROTOCOL_GUID \
|
||||||
{0xf541796d, 0xa62e, 0x4954, { 0xa7, 0x75, 0x95, 0x84, 0xf6, 0x1b, 0x9c, 0xdd } }
|
{0xf541796d, 0xa62e, 0x4954, { 0xa7, 0x75, 0x95, 0x84, 0xf6, 0x1b, 0x9c, 0xdd } }
|
||||||
|
@ -20,11 +20,10 @@
|
|||||||
/// located in LBA 1 (i.e., the second logical block).
|
/// located in LBA 1 (i.e., the second logical block).
|
||||||
///
|
///
|
||||||
#define PRIMARY_PART_HEADER_LBA 1
|
#define PRIMARY_PART_HEADER_LBA 1
|
||||||
|
|
||||||
///
|
///
|
||||||
/// EFI Partition Table Signature: "EFI PART"
|
/// EFI Partition Table Signature: "EFI PART"
|
||||||
///
|
///
|
||||||
#define EFI_PTAB_HEADER_ID 0x5452415020494645ULL
|
#define EFI_PTAB_HEADER_ID SIGNATURE_64 ('E','F','I',' ','P','A','R','T')
|
||||||
|
|
||||||
#pragma pack(1)
|
#pragma pack(1)
|
||||||
|
|
||||||
|
@ -328,7 +328,6 @@ EFI_STATUS
|
|||||||
// ConvertPointer DebugDisposition type.
|
// ConvertPointer DebugDisposition type.
|
||||||
//
|
//
|
||||||
#define EFI_OPTIONAL_PTR 0x00000001
|
#define EFI_OPTIONAL_PTR 0x00000001
|
||||||
#define EFI_OPTIONAL_POINTER EFI_OPTIONAL_PTR
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Determines the new virtual address that is to be used on subsequent memory accesses.
|
Determines the new virtual address that is to be used on subsequent memory accesses.
|
||||||
@ -1582,8 +1581,8 @@ typedef struct {
|
|||||||
UINT32 HeaderSize;
|
UINT32 HeaderSize;
|
||||||
///
|
///
|
||||||
/// Bit-mapped list describing the capsule attributes. The Flag values
|
/// Bit-mapped list describing the capsule attributes. The Flag values
|
||||||
/// of 0x0000 ¨C 0xFFFF are defined by CapsuleGuid. Flag values
|
/// of 0x0000 - 0xFFFF are defined by CapsuleGuid. Flag values
|
||||||
/// of 0x10000 ¨C 0xFFFF0000 are defined by this specification
|
/// of 0x10000 - 0xFFFF0000 are defined by this specification
|
||||||
///
|
///
|
||||||
UINT32 Flags;
|
UINT32 Flags;
|
||||||
///
|
///
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#/** @file
|
#/** @file
|
||||||
# Instance of Debug Library based on Serial Port Library.
|
# Instance of Debug Library based on Serial Port Library.
|
||||||
#
|
|
||||||
# Instance of Debug Library based on Serial Port Library.
|
|
||||||
# It uses Print Library to produce formatted output strings.
|
# It uses Print Library to produce formatted output strings.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 - 2008, Intel Corporation.
|
# Copyright (c) 2006 - 2008, Intel Corporation.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Resource Publication Library that uses PEI Core Services to publish system memory.
|
Resource Publication Library that uses PEI Core Services to publish system memory.
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation<BR>
|
Copyright (c) 2006 - 2008, 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
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -20,10 +20,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Image entry point of Peim.
|
The entry point of PE/COFF Image for a PEIM.
|
||||||
|
|
||||||
|
This function is the entry point for a PEIM. This function must call ProcessLibraryConstructorList()
|
||||||
|
and ProcessModuleEntryPointList(). The return value from ProcessModuleEntryPointList() is returned.
|
||||||
|
If _gPeimRevision is not zero and PeiServices->Hdr.Revision is less than _gPeimRevison, then ASSERT().
|
||||||
|
|
||||||
@param FileHandle Handle of the file being invoked.
|
@param FileHandle Handle of the file being invoked.
|
||||||
Type EFI_PEI_FILE_HANDLE is defined in FfsFindNextFile().
|
|
||||||
@param PeiServices Describes the list of possible PEI Services.
|
@param PeiServices Describes the list of possible PEI Services.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The PEIM executed normally.
|
@retval EFI_SUCCESS The PEIM executed normally.
|
||||||
@ -58,8 +61,9 @@ _ModuleEntryPoint (
|
|||||||
/**
|
/**
|
||||||
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().
|
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().
|
||||||
|
|
||||||
|
This function is required to call _ModuleEntryPoint() passing in FileHandle and PeiServices.
|
||||||
|
|
||||||
@param FileHandle Handle of the file being invoked.
|
@param FileHandle Handle of the file being invoked.
|
||||||
Type EFI_PEI_FILE_HANDLE is defined in FfsFindNextFile().
|
|
||||||
@param PeiServices Describes the list of possible PEI Services.
|
@param PeiServices Describes the list of possible PEI Services.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The PEIM executed normally.
|
@retval EFI_SUCCESS The PEIM executed normally.
|
||||||
|
@ -76,8 +76,8 @@ _DriverUnloadHandler (
|
|||||||
then return EFI_INCOMPATIBLE_VERSION.
|
then return EFI_INCOMPATIBLE_VERSION.
|
||||||
|
|
||||||
|
|
||||||
@param ImageHandle ImageHandle of the loaded driver.
|
@param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.
|
||||||
@param SystemTable Pointer to the EFI System Table.
|
@param SystemTable A pointer to the EFI System Table.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver,
|
@retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver,
|
||||||
or UEFI Driver exited normally.
|
or UEFI Driver exited normally.
|
||||||
@ -146,8 +146,8 @@ _ModuleEntryPoint (
|
|||||||
|
|
||||||
This function is required to call _ModuleEntryPoint() passing in ImageHandle, and SystemTable.
|
This function is required to call _ModuleEntryPoint() passing in ImageHandle, and SystemTable.
|
||||||
|
|
||||||
@param ImageHandle ImageHandle of the loaded driver.
|
@param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.
|
||||||
@param SystemTable Pointer to the EFI System Table.
|
@param SystemTable A pointer to the EFI System Table.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver,
|
@retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver,
|
||||||
or UEFI Driver exited normally.
|
or UEFI Driver exited normally.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user