]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.h
Adjust the code so that global variable placed at beginning of file.
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / StatusCode / Dxe / DxeStatusCode.h
index 8f92a7de6cf2edb70d0859e3829897ea92f0896e..4004deb484c8386b36aeb4467675c699a0707d86 100644 (file)
@@ -1,4 +1,4 @@
-/*++\r
+/** @file\r
 \r
   Copyright (c) 2006, Intel Corporation\r
   All rights reserved. This program and the accompanying materials\r
@@ -9,28 +9,24 @@
   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
 #ifndef __DXE_STATUS_CODE_H__\r
 #define __DXE_STATUS_CODE_H__\r
 \r
-//\r
-// The package level header files this module uses\r
-//\r
+\r
 #include <FrameworkDxe.h>\r
-//\r
-// The protocols, PPI and GUID defintions for this module\r
-//\r
+#include <FrameworkModuleDxe.h>\r
 #include <Guid/DataHubStatusCodeRecord.h>\r
 #include <Protocol/DataHub.h>\r
 #include <Protocol/SerialIo.h>\r
 #include <Guid/MemoryStatusCodeRecord.h>\r
 #include <Protocol/StatusCode.h>\r
 #include <Guid/StatusCodeDataTypeId.h>\r
-//\r
-// The Library classes this module consumes\r
-//\r
+#include <Guid/EventGroup.h>\r
+\r
 #include <Library/BaseLib.h>\r
+#include <Library/SynchronizationLib.h>\r
 #include <Library/BaseMemoryLib.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/ReportStatusCodeLib.h>\r
@@ -51,7 +47,7 @@
 #define MAX_NUMBER_DATAHUB_RECORDS                1000\r
 #define DATAHUB_BYTES_PER_RECORD                  EFI_STATUS_CODE_DATA_MAX_SIZE\r
 #define EMPTY_RECORD_TAG                          0xFF\r
-#define DATAHUB_STATUS_CODE_SIGNATURE             EFI_SIGNATURE_32 ('B', 'D', 'H', 'S')\r
+#define DATAHUB_STATUS_CODE_SIGNATURE             SIGNATURE_32 ('B', 'D', 'H', 'S')\r
 \r
 //\r
 // Address type of pointer.\r
@@ -138,7 +134,7 @@ EfiSerialStatusCodeInitializeWorker (
 \r
   @param  CallerId      This optional parameter may be used to identify the caller.\r
                         This parameter allows the status code driver to apply different rules to different callers.\r
-                        Type EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.\r
+                        Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0 Specification.\r
 \r
 \r
   @param  Data          This optional parameter may be used to pass additional data\r
@@ -232,7 +228,7 @@ DataHubStatusCodeInitializeWorker (
 \r
   @param  CallerId      This optional parameter may be used to identify the caller.\r
                         This parameter allows the status code driver to apply different rules to different callers.\r
-                        Type EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.\r
+                        Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0 Specification.\r
 \r
 \r
   @param  Data          This optional parameter may be used to pass additional data\r
@@ -276,5 +272,4 @@ DxeStatusCodeDriverEntry (
 // declaration of DXE status code controller.\r
 //\r
 extern DXE_STATUS_CODE_CONTROLLER gDxeStatusCode;\r
-\r
 #endif\r