diff options
-rw-r--r-- | MdeModulePkg/Core/Dxe/Event/Event.c | 4 |
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;
}
|