]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OldMdePkg/Include/Ppi/StatusCode.h
Moved the MdePkg to OldMdePkg so that new code in MdePkg does not break existing...
[mirror_edk2.git] / OldMdePkg / Include / Ppi / StatusCode.h
diff --git a/OldMdePkg/Include/Ppi/StatusCode.h b/OldMdePkg/Include/Ppi/StatusCode.h
new file mode 100644 (file)
index 0000000..5470222
--- /dev/null
@@ -0,0 +1,42 @@
+/** @file\r
+  This file declares Status Code PPI.\r
+\r
+  Copyright (c) 2006, Intel Corporation                                                         \r
+  All rights reserved. This program and the accompanying materials                          \r
+  are licensed and made available under the terms and conditions of the BSD License         \r
+  which accompanies this distribution.  The full text of the license may be found at        \r
+  http://opensource.org/licenses/bsd-license.php                                            \r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+  Module Name:  StatusCode.h\r
+\r
+  @par Revision Reference:\r
+  This PPI is defined in PEI CIS.\r
+  Version 0.91.\r
+\r
+**/\r
+\r
+#ifndef __STATUS_CODE_PPI_H__\r
+#define __STATUS_CODE_PPI_H__\r
+\r
+#define EFI_PEI_REPORT_PROGRESS_CODE_PPI_GUID \\r
+  { 0x229832d3, 0x7a30, 0x4b36, {0xb8, 0x27, 0xf4, 0xc, 0xb7, 0xd4, 0x54, 0x36 } }\r
+\r
+/**\r
+  @par Ppi Description:\r
+  This ppi provides the sevice to report status code. There can be only one instance \r
+  of this service in the system.\r
+\r
+  @param ReportStatusCode\r
+  Service that allows PEIMs to report status codes. This function is defined in Peicis.h\r
+\r
+**/\r
+typedef struct {\r
+  EFI_PEI_REPORT_STATUS_CODE  ReportStatusCode;\r
+} EFI_PEI_PROGRESS_CODE_PPI;\r
+\r
+extern EFI_GUID gEfiPeiStatusCodePpiGuid;\r
+\r
+#endif\r