]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Guid/MemoryStatusCodeRecord.h
MdePkg/SmiHandlerProfile: Add Context support in Unregister
[mirror_edk2.git] / MdeModulePkg / Include / Guid / MemoryStatusCodeRecord.h
index d6c3243094baa46b0327b2d2720c42894621829e..27d39e185e996b0c24ccd7ef7c5dfeb1fbff3e43 100644 (file)
@@ -2,13 +2,14 @@
   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
   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
+(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
 The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php.                                            \r
+http://opensource.org/licenses/bsd-license.php.\r
 \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
+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
 \r
 **/\r
 \r
@@ -55,6 +56,25 @@ typedef struct {
   UINT32  MaxRecordsNumber;\r
 } MEMORY_STATUSCODE_PACKET_HEADER;\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
 ///\r
 /// A structure that contains the parameters passed into the ReportStatusCode() \r
 /// service in the PEI Services Table.\r