]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/DataHub/DataHubStdErr/Dxe/DataHubStdErr.c
Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
[mirror_edk2.git] / EdkModulePkg / Universal / DataHub / DataHubStdErr / Dxe / DataHubStdErr.c
index 1a392ab7034076b6306ea2cdd72f55040862b10a..ac703fd09c7119e41b37e61c53188174399f904f 100644 (file)
@@ -1,13 +1,13 @@
 /*++\r
 \r
-Copyright (c) 2006, 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
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-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
+Copyright (c) 2006, 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
+http://opensource.org/licenses/bsd-license.php\r
+\r
+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
 Module Name:\r
 \r
@@ -15,7 +15,7 @@ Module Name:
 \r
 Abstract:\r
 \r
-  Data Hub filter driver that takes DEBUG () info from Data Hub and writes it \r
+  Data Hub filter driver that takes DEBUG () info from Data Hub and writes it\r
   to StdErr if it exists.\r
 \r
 --*/\r
@@ -42,7 +42,7 @@ Routine Description:
 Arguments:\r
   Event    - The event that occured, not used\r
   Context  - DataHub Protocol Pointer\r
-  \r
+\r
 Returns:\r
   None.\r
 \r
@@ -119,9 +119,9 @@ Arguments:
 Returns:\r
 \r
   EFI_SUCCESS             - The event handler was registered.\r
-  EFI_OUT_OF_RESOURCES    - The event hadler was not registered due to lack of \r
+  EFI_OUT_OF_RESOURCES    - The event hadler was not registered due to lack of\r
                             system resources.\r
-  \r
+\r
 --*/\r
 {\r
   EFI_STATUS  Status;\r
@@ -137,8 +137,8 @@ Returns:
   // Create an event and register it with the filter driver\r
   //\r
   Status = gBS->CreateEvent (\r
-                  EFI_EVENT_NOTIFY_SIGNAL,\r
-                  EFI_TPL_CALLBACK,\r
+                  EVT_NOTIFY_SIGNAL,\r
+                  TPL_CALLBACK,\r
                   DataHubStdErrEventHandler,\r
                   mDataHub,\r
                   &mDataHubStdErrEvent\r
@@ -151,7 +151,7 @@ Returns:
   Status = mDataHub->RegisterFilterDriver (\r
                       mDataHub,\r
                       mDataHubStdErrEvent,\r
-                      EFI_TPL_CALLBACK,\r
+                      TPL_CALLBACK,\r
                       DataClass,\r
                       NULL\r
                       );\r