summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/Dxe
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-01 23:54:52 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-01 23:54:52 +0000
commit51b02d81f01441e2aadae1d0bcd46560a93e6f12 (patch)
treee80ccd47405b6c2f360128d7737f7605de5b35d9 /MdeModulePkg/Core/Dxe
parente69a06299978b99051fc078ac3bc46c77f0d5821 (diff)
downloadedk2-platforms-51b02d81f01441e2aadae1d0bcd46560a93e6f12.tar.xz
Fix UEFI Boot Service CreateEvent() to follow UEFI Specification with respect to the use of TPL_APPLICATION
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5606 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Dxe')
-rw-r--r--MdeModulePkg/Core/Dxe/Event/Event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Core/Dxe/Event/Event.c b/MdeModulePkg/Core/Dxe/Event/Event.c
index e8d20c1161..5cf54199ed 100644
--- a/MdeModulePkg/Core/Dxe/Event/Event.c
+++ b/MdeModulePkg/Core/Dxe/Event/Event.c
@@ -305,7 +305,7 @@ CoreCreateEventEx (
INTN Index;
- if ((Event == NULL) || (NotifyTpl == TPL_APPLICATION)) {
+ if (Event == NULL) {
return EFI_INVALID_PARAMETER;
}
@@ -358,7 +358,7 @@ CoreCreateEventEx (
// Check for an invalid NotifyFunction or NotifyTpl
//
if ((NotifyFunction == NULL) ||
- (NotifyTpl < TPL_APPLICATION) ||
+ (NotifyTpl <= TPL_APPLICATION) ||
(NotifyTpl >= TPL_HIGH_LEVEL)) {
return EFI_INVALID_PARAMETER;
}