/** @file\r
- GUID used to identify status code records HOB that originate from the PEI status code. \r
- \r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under \r
-the terms and conditions of the BSD License that accompanies this distribution. \r
-The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php. \r
+ GUID used to identify status code records HOB that originate from the PEI status code.\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
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
#define __MEMORY_STATUS_CODE_RECORD_H__\r
\r
///\r
-/// Global ID used to identify GUIDed HOBs that start with a structure of type \r
-/// MEMORY_STATUSCODE_PACKET_HEADER, followed by an array of structures of type \r
-/// MEMORY_STATUSCODE_RECORD. These GUIDed HOBs record all the information \r
+/// Global ID used to identify GUIDed HOBs that start with a structure of type\r
+/// MEMORY_STATUSCODE_PACKET_HEADER, followed by an array of structures of type\r
+/// MEMORY_STATUSCODE_RECORD. These GUIDed HOBs record all the information\r
/// passed into the ReportStatusCode() service of PEI Services Table.\r
///\r
/// <pre>\r
}\r
\r
///\r
-/// A header structure that is followed by an array of records that contain the \r
+/// A header structure that is followed by an array of records that contain the\r
/// parameters passed into the ReportStatusCode() service in the PEI Services Table.\r
///\r
typedef struct {\r
} MEMORY_STATUSCODE_PACKET_HEADER;\r
\r
///\r
-/// A structure that contains the parameters passed into the ReportStatusCode() \r
+/// A header structure that is followed by an array of records that contain the\r
+/// parameters passed into the ReportStatusCode() service in the DXE Services Table.\r
+///\r
+typedef struct {\r
+ ///\r
+ /// The index pointing to the last recored being stored.\r
+ ///\r
+ UINT32 RecordIndex;\r
+ ///\r
+ /// The number of records being stored.\r
+ ///\r
+ UINT32 NumberOfRecords;\r
+ ///\r
+ /// The maximum number of records that can be stored.\r
+ ///\r
+ UINT32 MaxRecordsNumber;\r
+} RUNTIME_MEMORY_STATUSCODE_HEADER;\r
+\r
+///\r
+/// A structure that contains the parameters passed into the ReportStatusCode()\r
/// service in the PEI Services Table.\r
///\r
typedef struct {\r