Make EdkModulePkg pass Intel IPF compiler with /W4 /WX switches, solving warning #1419.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2338 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -27,13 +27,6 @@ Abstract:
|
||||
#include <GuidedSection.h>
|
||||
#include <Crc32SectionExtract.h>
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
InitializeCrc32GuidedSectionExtractionProtocol (
|
||||
IN EFI_HANDLE ImageHandle,
|
||||
IN EFI_SYSTEM_TABLE *SystemTable
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
InitializeCrc32GuidedSectionExtractionProtocol (
|
||||
|
@ -63,4 +63,33 @@ Returns:
|
||||
--*/
|
||||
;
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
InitializeCrc32GuidedSectionExtractionProtocol (
|
||||
IN EFI_HANDLE ImageHandle,
|
||||
IN EFI_SYSTEM_TABLE *SystemTable
|
||||
)
|
||||
/*++
|
||||
|
||||
Routine Description:
|
||||
|
||||
Entry point of the CRC32 GUIDed section extraction protocol.
|
||||
Creates and initializes an instance of the GUIDed section
|
||||
extraction protocol with CRC32 GUID.
|
||||
|
||||
Arguments:
|
||||
|
||||
ImageHandle EFI_HANDLE: A handle for the image that is initializing
|
||||
this driver
|
||||
SystemTable EFI_SYSTEM_TABLE: A pointer to the EFI system table
|
||||
|
||||
Returns:
|
||||
|
||||
EFI_SUCCESS: Driver initialized successfully
|
||||
EFI_LOAD_ERROR: Failed to Initialize or has been loaded
|
||||
EFI_OUT_OF_RESOURCES: Could not allocate needed resources
|
||||
|
||||
--*/
|
||||
;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user