From: qwang12 Date: Fri, 28 Nov 2008 01:21:54 +0000 (+0000) Subject: Update the entry point function's prototype. X-Git-Tag: edk2-stable201903~19476 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=48a59ce09ad58145d83ab63f02efcf3b95273327 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 --- 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;