diff --git a/EdkCompatibilityPkg/Foundation/Framework/Include/PeiApi.h b/EdkCompatibilityPkg/Foundation/Framework/Include/PeiApi.h index 372ebf177b..674855640f 100644 --- a/EdkCompatibilityPkg/Foundation/Framework/Include/PeiApi.h +++ b/EdkCompatibilityPkg/Foundation/Framework/Include/PeiApi.h @@ -100,19 +100,6 @@ struct _EFI_PEI_NOTIFY_DESCRIPTOR { }; - -typedef -EFI_STATUS -(EFIAPI *EFI_REPORT_STATUS_CODE) ( - IN EFI_STATUS_CODE_TYPE Type, - IN EFI_STATUS_CODE_VALUE Value, - IN UINT32 Instance, - IN EFI_GUID *CallerId OPTIONAL, - IN EFI_STATUS_CODE_DATA *Data OPTIONAL - ); - - - #if (PI_SPECIFICATION_VERSION < 0x00010000) // diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/RtMemoryStatusCode.h b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/RtMemoryStatusCode.h index 15db58cf16..cf21b29588 100644 --- a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/RtMemoryStatusCode.h +++ b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/RtMemoryStatusCode.h @@ -32,6 +32,12 @@ Abstract: #include "EfiHobLib.h" #include "RtPlatformStatusCodeLib.h" +// +// Referenced protocols +// +#include EFI_ARCH_PROTOCOL_DEFINITION (StatusCode) + + // // Consumed protocols //