From 670d4d88ac2fdddf7d99d276610b194ce03effee Mon Sep 17 00:00:00 2001 From: lzeng14 Date: Thu, 26 Apr 2012 03:32:53 +0000 Subject: 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 Reviewed-by: Chao Zhang git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13222 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Dxe/Event/Timer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg/Core/Dxe/Event/Timer.c') diff --git a/MdeModulePkg/Core/Dxe/Event/Timer.c b/MdeModulePkg/Core/Dxe/Event/Timer.c index b1a5e3cdc8..1b20e327cd 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.
+Copyright (c) 2006 - 2012, 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 @@ -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); -- cgit v1.2.3