summaryrefslogtreecommitdiffstats
path: root/EdkModulePkg/Universal/DataHub
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-25 08:54:54 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-25 08:54:54 +0000
commit93b0fbc8a1731a3c4ae789bebac4b1d8966719c3 (patch)
tree800e8a6512892d5de738f0c86bf8f5bc3ab9063b /EdkModulePkg/Universal/DataHub
parenta197b1ad17703a117e5b67c50c311325a2b3bdcb (diff)
downloadedk2-93b0fbc8a1731a3c4ae789bebac4b1d8966719c3.tar.gz
edk2-93b0fbc8a1731a3c4ae789bebac4b1d8966719c3.tar.bz2
edk2-93b0fbc8a1731a3c4ae789bebac4b1d8966719c3.zip
Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
Changed old event definitions reference to these new event definitions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2729 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal/DataHub')
-rw-r--r--EdkModulePkg/Universal/DataHub/DataHub/Dxe/DataHub.c2
-rw-r--r--EdkModulePkg/Universal/DataHub/DataHubStdErr/Dxe/DataHubStdErr.c30
2 files changed, 16 insertions, 16 deletions
diff --git a/EdkModulePkg/Universal/DataHub/DataHub/Dxe/DataHub.c b/EdkModulePkg/Universal/DataHub/DataHub/Dxe/DataHub.c
index dd4a5a6b51..aa0cced530 100644
--- a/EdkModulePkg/Universal/DataHub/DataHub/Dxe/DataHub.c
+++ b/EdkModulePkg/Universal/DataHub/DataHub/Dxe/DataHub.c
@@ -632,7 +632,7 @@ Returns:
InitializeListHead (&mPrivateData.DataListHead);
InitializeListHead (&mPrivateData.FilterDriverListHead);
- EfiInitializeLock (&mPrivateData.DataLock, EFI_TPL_NOTIFY);
+ EfiInitializeLock (&mPrivateData.DataLock, TPL_NOTIFY);
//
// Make sure we get a bigger MTC number on every boot!
diff --git a/EdkModulePkg/Universal/DataHub/DataHubStdErr/Dxe/DataHubStdErr.c b/EdkModulePkg/Universal/DataHub/DataHubStdErr/Dxe/DataHubStdErr.c
index 1a392ab703..ac703fd09c 100644
--- a/EdkModulePkg/Universal/DataHub/DataHubStdErr/Dxe/DataHubStdErr.c
+++ b/EdkModulePkg/Universal/DataHub/DataHubStdErr/Dxe/DataHubStdErr.c
@@ -1,13 +1,13 @@
/*++
-Copyright (c) 2006, Intel Corporation
-All rights reserved. This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+Copyright (c) 2006, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name:
@@ -15,7 +15,7 @@ Module Name:
Abstract:
- Data Hub filter driver that takes DEBUG () info from Data Hub and writes it
+ Data Hub filter driver that takes DEBUG () info from Data Hub and writes it
to StdErr if it exists.
--*/
@@ -42,7 +42,7 @@ Routine Description:
Arguments:
Event - The event that occured, not used
Context - DataHub Protocol Pointer
-
+
Returns:
None.
@@ -119,9 +119,9 @@ Arguments:
Returns:
EFI_SUCCESS - The event handler was registered.
- EFI_OUT_OF_RESOURCES - The event hadler was not registered due to lack of
+ EFI_OUT_OF_RESOURCES - The event hadler was not registered due to lack of
system resources.
-
+
--*/
{
EFI_STATUS Status;
@@ -137,8 +137,8 @@ Returns:
// Create an event and register it with the filter driver
//
Status = gBS->CreateEvent (
- EFI_EVENT_NOTIFY_SIGNAL,
- EFI_TPL_CALLBACK,
+ EVT_NOTIFY_SIGNAL,
+ TPL_CALLBACK,
DataHubStdErrEventHandler,
mDataHub,
&mDataHubStdErrEvent
@@ -151,7 +151,7 @@ Returns:
Status = mDataHub->RegisterFilterDriver (
mDataHub,
mDataHubStdErrEvent,
- EFI_TPL_CALLBACK,
+ TPL_CALLBACK,
DataClass,
NULL
);