diff options
author | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-04-26 03:32:53 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-04-26 03:32:53 +0000 |
commit | 670d4d88ac2fdddf7d99d276610b194ce03effee (patch) | |
tree | e827d538a9e81b713912337b72b67d28c8bcf70d /MdeModulePkg/Core/Dxe/Event/Timer.c | |
parent | 8d3000031dfc8b1d529e97d4471782bf636a84bf (diff) | |
download | edk2-670d4d88ac2fdddf7d99d276610b194ce03effee.zip edk2-670d4d88ac2fdddf7d99d276610b194ce03effee.tar.gz edk2-670d4d88ac2fdddf7d99d276610b194ce03effee.tar.bz2 |
Return EFI_INVALID_PARAMETER when Type has either EVT_NOTIFY_SIGNAL or EVT_NOTIFY_WAIT set and NotifyTpl is not a supported TPL level.
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13222 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Dxe/Event/Timer.c')
-rw-r--r-- | MdeModulePkg/Core/Dxe/Event/Timer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MdeModulePkg/Core/Dxe/Event/Timer.c b/MdeModulePkg/Core/Dxe/Event/Timer.c index b1a5e3c..1b20e32 100644 --- a/MdeModulePkg/Core/Dxe/Event/Timer.c +++ b/MdeModulePkg/Core/Dxe/Event/Timer.c @@ -1,7 +1,7 @@ /** @file
Core Timer Services
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
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
@@ -172,11 +172,12 @@ CoreInitializeTimer ( {
EFI_STATUS Status;
- Status = CoreCreateEvent (
+ Status = CoreCreateEventInternal (
EVT_NOTIFY_SIGNAL,
TPL_HIGH_LEVEL - 1,
CoreCheckTimers,
NULL,
+ NULL,
&mEfiCheckTimerEvent
);
ASSERT_EFI_ERROR (Status);
|