summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-11 23:18:07 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-11 23:18:07 +0000
commitd196f44fdcc485873d0cdc357c9c066c798f9040 (patch)
tree4b900d3066e8ce044c9d6ff28c65f3f1f66474ce
parentc69e4df4de68049665c7d8f27bbae1e7dd4a2fd2 (diff)
downloadedk2-platforms-d196f44fdcc485873d0cdc357c9c066c798f9040.tar.xz
Remove duplicate definition of EFI_REPORT_STATUS_CODE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5053 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EdkCompatibilityPkg/Foundation/Framework/Include/PeiApi.h13
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/RtMemoryStatusCode.h6
2 files changed, 6 insertions, 13 deletions
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
@@ -33,6 +33,12 @@ Abstract:
#include "RtPlatformStatusCodeLib.h"
//
+// Referenced protocols
+//
+#include EFI_ARCH_PROTOCOL_DEFINITION (StatusCode)
+
+
+//
// Consumed protocols
//
#include EFI_PPI_CONSUMER (StatusCodeMemory)