From f6d2bcc6fa8161d20ff2b3601c94c566b5a9bc35 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Fri, 12 Dec 2008 08:51:16 +0000 Subject: 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 --- .../Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | 2 -- .../PeiResourcePublicationLib/PeiResourcePublicationLib.c | 2 +- MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c | 10 +++++++--- MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c | 8 ++++---- 4 files changed, 12 insertions(+), 10 deletions(-) (limited to 'MdePkg/Library') diff --git a/MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf b/MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf index b80f420d70..3fb668b453 100644 --- a/MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf +++ b/MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf @@ -1,7 +1,5 @@ #/** @file # 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. # # Copyright (c) 2006 - 2008, Intel Corporation. diff --git a/MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c b/MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c index 68e4f6acec..bb038b71d6 100644 --- a/MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c +++ b/MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c @@ -1,7 +1,7 @@ /** @file Resource Publication Library that uses PEI Core Services to publish system memory. - Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 2008, Intel Corporation
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 diff --git a/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c b/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c index a03c377059..59503e4b77 100644 --- a/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c +++ b/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c @@ -20,10 +20,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include /** - 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. - Type EFI_PEI_FILE_HANDLE is defined in FfsFindNextFile(). @param PeiServices Describes the list of possible PEI Services. @retval EFI_SUCCESS The PEIM executed normally. @@ -57,9 +60,10 @@ _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. - Type EFI_PEI_FILE_HANDLE is defined in FfsFindNextFile(). @param PeiServices Describes the list of possible PEI Services. @retval EFI_SUCCESS The PEIM executed normally. diff --git a/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c b/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c index 68d6a4bb94..9d925ef70b 100644 --- a/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c +++ b/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c @@ -76,8 +76,8 @@ _DriverUnloadHandler ( then return EFI_INCOMPATIBLE_VERSION. - @param ImageHandle ImageHandle of the loaded driver. - @param SystemTable Pointer to the EFI System Table. + @param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver. + @param SystemTable A pointer to the EFI System Table. @retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver exited normally. @@ -146,8 +146,8 @@ _ModuleEntryPoint ( This function is required to call _ModuleEntryPoint() passing in ImageHandle, and SystemTable. - @param ImageHandle ImageHandle of the loaded driver. - @param SystemTable Pointer to the EFI System Table. + @param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver. + @param SystemTable A pointer to the EFI System Table. @retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver exited normally. -- cgit v1.2.3