]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/DebugSupport/Dxe/ipf/plDebugSupport.c
Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
[mirror_edk2.git] / EdkModulePkg / Universal / DebugSupport / Dxe / ipf / plDebugSupport.c
index ca2a1e83d2930082db034f5c73ebaea739dc4591..33233d68e526d254528f9d012cb7aea669cbc281 100644 (file)
@@ -285,7 +285,7 @@ Returns:
       //\r
       // else remove the previously installed handler\r
       //\r
-      OldTpl          = gBS->RaiseTPL (EFI_TPL_HIGH_LEVEL);\r
+      OldTpl          = gBS->RaiseTPL (TPL_HIGH_LEVEL);\r
       InterruptFlags  = ProgramInterruptFlags (DISABLE_INTERRUPTS);\r
       if (ExceptionType == EXCEPT_IPF_EXTERNAL_INTERRUPT) {\r
         UnchainExternalInterrupt ();\r
@@ -305,7 +305,7 @@ Returns:
     // no user handler installed on this vector\r
     //\r
     if (NewCallback != NULL) {\r
-      OldTpl          = gBS->RaiseTPL (EFI_TPL_HIGH_LEVEL);\r
+      OldTpl          = gBS->RaiseTPL (TPL_HIGH_LEVEL);\r
       InterruptFlags  = ProgramInterruptFlags (DISABLE_INTERRUPTS);\r
       if (ExceptionType == EXCEPT_IPF_EXTERNAL_INTERRUPT) {\r
         ChainExternalInterrupt (NewCallback);\r