]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.h
MdeModulePkg/MemoryStatusCode: Expose the DXE memory status code table.
[mirror_edk2.git] / MdeModulePkg / Universal / StatusCodeHandler / RuntimeDxe / StatusCodeHandlerRuntimeDxe.h
index 2bf341202e390b4160544f39968c04cc527398c8..a3185f5b5260b621c7927ca17207a0080764216e 100644 (file)
@@ -2,6 +2,7 @@
   Internal include file for Status Code Handler Driver.\r
 \r
   Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+  (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
   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
 //\r
 #define MAX_DEBUG_MESSAGE_LENGTH 0x100\r
 \r
-//\r
-// Runtime memory status code worker definition\r
-//\r
-typedef struct {\r
-  UINT32   RecordIndex;\r
-  UINT32   NumberOfRecords;\r
-  UINT32   MaxRecordsNumber;\r
-} RUNTIME_MEMORY_STATUSCODE_HEADER;\r
-\r
 extern RUNTIME_MEMORY_STATUSCODE_HEADER  *mRtMemoryStatusCodeTable;\r
 \r
 /**\r
@@ -65,7 +57,7 @@ EfiSerialStatusCodeInitializeWorker (
 \r
 /**\r
   Convert status code value and extended data to readable ASCII string, send string to serial I/O device.\r
\r
+\r
   @param  CodeType         Indicates the type of status code being reported.\r
   @param  Value            Describes the current status of a hardware or software entity.\r
                            This included information about the class and subclass that is used to\r
@@ -96,6 +88,7 @@ SerialStatusCodeReportWorker (
   Initialize runtime memory status code table as initialization for runtime memory status code worker\r
  \r
   @retval EFI_SUCCESS  Runtime memory status code table successfully initialized.\r
+  @retval others       Errors from gBS->InstallConfigurationTable().\r
 \r
 **/\r
 EFI_STATUS\r
@@ -106,7 +99,7 @@ RtMemoryStatusCodeInitializeWorker (
 /**\r
   Report status code into runtime memory. If the runtime pool is full, roll back to the \r
   first record and overwrite it.\r
\r
+\r
   @param  CodeType                Indicates the type of status code being reported.\r
   @param  Value                   Describes the current status of a hardware or software entity.\r
                                   This included information about the class and subclass that is used to\r
@@ -117,7 +110,7 @@ RtMemoryStatusCodeInitializeWorker (
                                   This parameter allows the status code driver to apply different rules to\r
                                   different callers.\r
   @param  Data                    This optional parameter may be used to pass additional data.\r
\r
+\r
   @retval EFI_SUCCESS             Status code successfully recorded in runtime memory status code table.\r
 \r
 **/\r