]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Guid/MemoryStatusCodeRecord.h
IntelSiliconPkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Include / Guid / MemoryStatusCodeRecord.h
index 7599926f12e565e3f4b461e3680c4a078df1557e..27d39e185e996b0c24ccd7ef7c5dfeb1fbff3e43 100644 (file)
@@ -1,14 +1,15 @@
 /** @file\r
-  GUID used to identify status code records HOB that originate from the PEI status code    \r
+  GUID used to identify status code records HOB that originate from the PEI status code.    \r
   \r
-  Copyright (c) 2006 - 2009, 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
+Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+(C) Copyright 2016 Hewlett Packard Enterprise Development LP<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
+\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
 **/\r
 \r
@@ -17,7 +18,7 @@
 \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_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
 ///\r
 typedef struct {\r
   ///\r
-  /// Index of the packet\r
+  /// Index of the packet.\r
   ///\r
   UINT16  PacketIndex;\r
   ///\r
-  /// The number of active records in the packet\r
+  /// The number of active records in the packet.\r
   ///\r
   UINT16  RecordIndex;\r
   ///\r
-  /// The maximum number of records that the packet can store\r
+  /// The maximum number of records that the packet can store.\r
   ///\r
   UINT32  MaxRecordsNumber;\r
 } MEMORY_STATUSCODE_PACKET_HEADER;\r
 \r
+///\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
@@ -73,7 +93,7 @@ typedef struct {
 \r
   ///\r
   /// The enumeration of a hardware or software entity within\r
-  /// the system. Valid instance numbers start with 1\r
+  /// the system. Valid instance numbers start with the number 1.\r
   ///\r
   UINT32                 Instance;\r
 } MEMORY_STATUSCODE_RECORD;\r