Move Crc32GuidedSectionExtraction from Protocol to Guid directory
Move DiskInfo protocol from MdeModulePkg to IntelFrameworkModulePkg Retire unused FvbExtension protocol. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7638 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#include <PiDxe.h>
|
||||
#include <Protocol/Crc32GuidedSectionExtraction.h>
|
||||
#include <Guid/Crc32GuidedSectionExtraction.h>
|
||||
#include <Protocol/SecurityPolicy.h>
|
||||
#include <Library/ExtractGuidedSectionLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
@@ -62,7 +62,7 @@ Crc32GuidedSectionGetInfo (
|
||||
// Check whether the input guid section is recognized.
|
||||
//
|
||||
if (!CompareGuid (
|
||||
&gEfiCrc32GuidedSectionExtractionProtocolGuid,
|
||||
&gEfiCrc32GuidedSectionExtractionGuid,
|
||||
&(((EFI_GUID_DEFINED_SECTION *) InputSection)->SectionDefinitionGuid))) {
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
@@ -113,7 +113,7 @@ Crc32GuidedSectionHandler (
|
||||
// Check whether the input guid section is recognized.
|
||||
//
|
||||
if (!CompareGuid (
|
||||
&gEfiCrc32GuidedSectionExtractionProtocolGuid,
|
||||
&gEfiCrc32GuidedSectionExtractionGuid,
|
||||
&(((EFI_GUID_DEFINED_SECTION *) InputSection)->SectionDefinitionGuid))) {
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
@@ -185,7 +185,7 @@ DxeCrc32GuidedSectionExtractLibConstructor (
|
||||
)
|
||||
{
|
||||
return ExtractGuidedSectionRegisterHandlers (
|
||||
&gEfiCrc32GuidedSectionExtractionProtocolGuid,
|
||||
&gEfiCrc32GuidedSectionExtractionGuid,
|
||||
Crc32GuidedSectionGetInfo,
|
||||
Crc32GuidedSectionHandler
|
||||
);
|
||||
|
Reference in New Issue
Block a user