]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Refine comments.
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 24 Jun 2009 06:13:43 +0000 (06:13 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 24 Jun 2009 06:13:43 +0000 (06:13 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8642 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErr.c
IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErrDxe.inf

index d0ee4493ed4765ee0221af863518cd1183a5a727..d814c6716d993c21665d626b3f39f6a10dcf9a4d 100644 (file)
@@ -2,7 +2,7 @@
   Data Hub filter driver that takes DEBUG () info from Data Hub and writes it\r
   to StdErr if it exists.\r
 \r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2009, Intel Corporation\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
@@ -13,10 +13,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 **/\r
 \r
-\r
 #include <FrameworkDxe.h>\r
-\r
-\r
 #include <Guid/DataHubStatusCodeRecord.h>\r
 #include <Guid/StatusCodeDataTypeId.h>\r
 #include <Guid/StatusCodeDataTypeDebug.h>\r
@@ -36,8 +33,8 @@ EFI_EVENT             mDataHubStdErrEvent;
   Event handler registered with the Data Hub to parse EFI_DEBUG_CODE. This\r
   handler reads the Data Hub and sends any DEBUG info to StdErr.\r
 \r
-  @param Event    - The event that occured, not used\r
-  @param Context  - DataHub Protocol Pointer\r
+  @param Event      The event that occured, not used\r
+  @param Context    DataHub Protocol Pointer\r
 **/\r
 VOID\r
 EFIAPI\r
@@ -68,6 +65,7 @@ DataHubStdErrEventHandler (
   if (gST->StdErr == NULL) {\r
     return ;\r
   }\r
+  \r
   //\r
   // Mtc of zero means return the next record that has not been read by the\r
   // event handler.\r
@@ -100,12 +98,11 @@ DataHubStdErrEventHandler (
   Register an event handler with the Data Hub to parse EFI_DEBUG_CODE. This\r
   handler reads the Data Hub and sends any DEBUG info to StdErr.\r
 \r
-  @param ImageHandle - Image handle of this driver.\r
-  @param SystemTable - Pointer to EFI system table.\r
+  @param ImageHandle                Image handle of this driver.\r
+  @param SystemTable                Pointer to EFI system table.\r
 \r
-  @retval EFI_SUCCESS             - The event handler was registered.\r
-  @retval EFI_OUT_OF_RESOURCES    - The event hadler was not registered due to lack of\r
-                            system resources.\r
+  @retval EFI_SUCCESS               The event handler was registered.\r
+  @retval EFI_OUT_OF_RESOURCES      The event hadler was not registered due to lack of system resources.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
index 03be3e8b7c02afc89231e0546fccf27cd578879c..9a79d02b075552eedde5becf4f95b4a38e46a930 100644 (file)
@@ -1,7 +1,6 @@
 #/** @file\r
-#  Component description file for Data Hub filter driver.\r
-#\r
 #  This driver takes DEBUG () info from Data Hub and writes it to StdErr if it exists.\r
+#\r
 #  Copyright (c) 2006 - 2009, Intel Corporation\r
 #\r
 #  All rights reserved. This program and the accompanying materials\r
@@ -11,7 +10,6 @@
 #  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
 [Defines]\r
   IntelFrameworkPkg/IntelFrameworkPkg.dec\r
   IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec\r
 \r
-\r
-\r
-\r
 [LibraryClasses]\r
   UefiBootServicesTableLib\r
   BaseMemoryLib\r
   UefiDriverEntryPoint\r
   DebugLib\r
 \r
-\r
 [Guids]\r
   gEfiStatusCodeDataTypeDebugGuid               # SOMETIMES_CONSUMED\r
   gEfiDataHubStatusCodeRecordGuid               # SOMETIMES_CONSUMED\r
 \r
 \r
 [Protocols]\r
-  gEfiDataHubProtocolGuid                       # PROTOCOL ALWAYS_CONSUMED\r
-\r
+  gEfiDataHubProtocolGuid                       # PROTOCOL CONSUMED\r
 \r
 [Depex]\r
   gEfiDataHubProtocolGuid\r