]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Event/Tpl.c
Enable print error info when execute the application.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Event / Tpl.c
index 265204f3160d591e4860ab8ba747f6c6c16ad27b..240e8e453d0763359dd1fd568961950d137fa198 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Task priority (TPL) functions.\r
 \r
-Copyright (c) 2006 - 2010, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -118,7 +118,7 @@ CoreRestoreTpl (
   // Dispatch any pending events\r
   //\r
   while (((-2 << NewTpl) & gEventPending) != 0) {\r
-    gEfiCurrentTpl = HighBitSet64 (gEventPending);\r
+    gEfiCurrentTpl = (UINTN) HighBitSet64 (gEventPending);\r
     if (gEfiCurrentTpl < TPL_HIGH_LEVEL) {\r
       CoreSetInterruptState (TRUE);\r
     }\r