]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c
Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
[mirror_edk2.git] / EdkModulePkg / Core / Dxe / SectionExtraction / CoreSectionExtraction.c
index a3e20e69e846f30496facbbf8fc611a14f9b79e3..817dbd8fb8cfa3b3bf73b53aa327a3f0e04302dc 100644 (file)
@@ -383,7 +383,7 @@ Returns:
   UINTN                                                 SectionSize;\r
   \r
 \r
-  OldTpl = CoreRaiseTpl (EFI_TPL_NOTIFY);\r
+  OldTpl = CoreRaiseTpl (TPL_NOTIFY);\r
   Instance = SectionInstance + 1;\r
   \r
   //\r
@@ -484,7 +484,7 @@ Returns:
   LIST_ENTRY                                    *Link;\r
   CORE_SECTION_CHILD_NODE                       *ChildNode;\r
   \r
-  OldTpl = CoreRaiseTpl (EFI_TPL_NOTIFY);\r
+  OldTpl = CoreRaiseTpl (TPL_NOTIFY);\r
   \r
   //\r
   // Locate target stream\r
@@ -1025,7 +1025,7 @@ Returns:
  \r
   Context->Event = CoreCreateProtocolNotifyEvent (\r
                     Context->ChildNode->EncapsulationGuid,\r
-                    EFI_TPL_NOTIFY,\r
+                    TPL_NOTIFY,\r
                     NotifyGuidedExtraction,\r
                     Context,\r
                     &Context->Registration,\r
@@ -1234,7 +1234,7 @@ OpenSectionStreamEx (
   //\r
   // Add new stream to stream list\r
   //\r
-  OldTpl = CoreRaiseTpl (EFI_TPL_NOTIFY);\r
+  OldTpl = CoreRaiseTpl (TPL_NOTIFY);\r
   InsertTailList (&mStreamRoot, &NewStream->Link);\r
   CoreRestoreTpl (OldTpl);\r
 \r