]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.h
MdeModulePkg: eliminate all implicit library dependencies for all modules in MdeModul...
[mirror_edk2.git] / MdeModulePkg / Universal / ReportStatusCodeRouter / RuntimeDxe / ReportStatusCodeRouterRuntimeDxe.h
index a87ad5fdb86ae91705736881ffb540a77eb35827..c82f296f8d207067aae6885e8c37e07d30784903 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Internal include file for Report Status Code Router Driver.\r
 \r
-  Copyright (c) 2009, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2009, Intel Corporation. All rights reserved.<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
   http://opensource.org/licenses/bsd-license.php\r
 #include <Library/BaseLib.h>\r
 #include <Library/SynchronizationLib.h>\r
 #include <Library/DebugLib.h>\r
-#include <Library/PcdLib.h>\r
 #include <Library/HobLib.h>\r
 #include <Library/UefiDriverEntryPoint.h>\r
 #include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
+#include <Library/BaseMemoryLib.h>\r
 #include <Library/UefiRuntimeLib.h>\r
+#include "Library/UefiLib.h"\r
 \r
 #define RSC_HANDLER_CALLBACK_ENTRY_SIGNATURE  SIGNATURE_32 ('r', 'h', 'c', 'e')\r
 \r
@@ -37,17 +38,21 @@ typedef struct {
   UINTN                     Signature;\r
   EFI_RSC_HANDLER_CALLBACK  RscHandlerCallback;\r
   EFI_TPL                   Tpl;\r
+  EFI_EVENT                 Event;\r
+  EFI_PHYSICAL_ADDRESS      StatusCodeDataBuffer;\r
+  UINTN                     BufferSize;\r
+  EFI_PHYSICAL_ADDRESS      EndPointer;\r
   LIST_ENTRY                Node;\r
 } RSC_HANDLER_CALLBACK_ENTRY;\r
 \r
 typedef struct {\r
-  EFI_RSC_HANDLER_CALLBACK RscHandlerCallback;\r
-  EFI_STATUS_CODE_TYPE     Type;\r
-  EFI_STATUS_CODE_VALUE    Value;\r
-  UINT32                   Instance;\r
-  EFI_GUID                 *CallerId;\r
-  EFI_STATUS_CODE_DATA     *Data;\r
-} RSC_EVENT_CONTEXT;\r
+  EFI_STATUS_CODE_TYPE      Type;\r
+  EFI_STATUS_CODE_VALUE     Value;\r
+  UINT32                    Instance;\r
+  UINT32                    Reserved;\r
+  EFI_GUID                  CallerId;\r
+  EFI_STATUS_CODE_DATA      Data;\r
+} RSC_DATA_ENTRY;\r
 \r
 /**\r
   Register the callback function for ReportStatusCode() notification.\r