]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/ReportStatusCodeLibInternal.h
Leverages SMM Status Code Protocol, instead of OemHookStatusCodeLib.
[mirror_edk2.git] / IntelFrameworkModulePkg / Library / SmmRuntimeDxeReportStatusCodeLibFramework / ReportStatusCodeLibInternal.h
index f241cd1bc92839ce1ce9483dd45ae04451552597..74318220ffa43fb75dde4ea93cf33f737b7c71d2 100644 (file)
@@ -2,7 +2,7 @@
   Internal Header file of Report Status Code Library for RUNTIME\r
   DXE Phase.\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2010, Intel Corporation<BR>\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
 #include <Library/UefiRuntimeServicesTableLib.h>\r
 #include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/DevicePathLib.h>\r
-#include <Library/OemHookStatusCodeLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
 \r
 #include <Guid/StatusCodeDataTypeId.h>\r
 #include <Guid/StatusCodeDataTypeDebug.h>\r
 #include <Guid/EventGroup.h>\r
 \r
+#include <Protocol/SmmStatusCode.h>\r
 #include <Protocol/StatusCode.h>\r
 #include <Protocol/SmmBase.h>\r
 \r
 \r
 extern EFI_STATUS_CODE_DATA    *mStatusCodeData;\r
 \r
-/**\r
-  Locate the report status code service.\r
-\r
-  In SMM, it retrieves OemHookStatusCodeReport() from customized OEM Hook Status Code Lib.\r
-  Otherwise, it first tries to retrieve ReportStatusCode() in Runtime Services Table.\r
-  If not found, it then tries to retrieve ReportStatusCode() API of Report Status Code Protocol.\r
-\r
-  @return   Function pointer to the report status code service.\r
-            NULL is returned if no status code service is available.\r
-\r
-**/\r
-EFI_REPORT_STATUS_CODE\r
-InternalGetReportStatusCode (\r
-  VOID\r
-  );\r
-\r
 /**\r
   Internal worker function that reports a status code through the status code service.\r
 \r