From 48a59ce09ad58145d83ab63f02efcf3b95273327 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Fri, 28 Nov 2008 01:21:54 +0000 Subject: [PATCH] Update the entry point function's prototype. Add Doxygen function header. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6769 6f19259b-4bc3-4df7-8a09-765794883524 --- ...ReadOnlyVariable2ToReadOnlyVariableThunk.c | 31 +++++++------------ 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2ToReadOnlyVariableThunk/ReadOnlyVariable2ToReadOnlyVariableThunk.c b/EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2ToReadOnlyVariableThunk/ReadOnlyVariable2ToReadOnlyVariableThunk.c index 56b801227a..2de6c92785 100644 --- a/EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2ToReadOnlyVariableThunk/ReadOnlyVariable2ToReadOnlyVariableThunk.c +++ b/EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2ToReadOnlyVariableThunk/ReadOnlyVariable2ToReadOnlyVariableThunk.c @@ -75,29 +75,22 @@ EFI_PEI_PPI_DESCRIPTOR mReadOnlyVariableThunkPresent = { NULL }; +/** + User entry for this PEIM driver. + + @param FileHandle Handle of the file being invoked. + @param PeiServices Describes the list of possible PEI Services. + + @retval EFI_SUCCESS ReadOnlyVariable2 PPI is successfully installed. + @return Others ReadOnlyVariable2 PPI is not successfully installed. + +**/ EFI_STATUS EFIAPI PeimInitializeReadOnlyVariable2 ( - IN EFI_FFS_FILE_HEADER *FfsHeader, - IN EFI_PEI_SERVICES **PeiServices + IN EFI_PEI_FILE_HANDLE FfsHeader, + IN CONST EFI_PEI_SERVICES **PeiServices ) -/*++ - -Routine Description: - - Provide the functionality of the variable services. - -Arguments: - - FfsHeadher - The FFS file header - PeiServices - General purpose services available to every PEIM. - -Returns: - - Status - EFI_SUCCESS if the interface could be successfully - installed - ---*/ { VOID *Interface; EFI_STATUS Status;