]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Bus/Pci/PciBus/Dxe/PciEnumeratorSupport.c
Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
[mirror_edk2.git] / EdkModulePkg / Bus / Pci / PciBus / Dxe / PciEnumeratorSupport.c
index 52a3a7bee5bed9769504d89093ca7474113306ee..8020ab120f3e38d38ae887206162218b9bf1f0af 100644 (file)
@@ -693,7 +693,7 @@ Returns:
   //\r
   // Raise TPL to high level to disable timer interrupt while the BAR is probed\r
   //\r
-  OldTpl = gBS->RaiseTPL (EFI_TPL_HIGH_LEVEL);\r
+  OldTpl = gBS->RaiseTPL (TPL_HIGH_LEVEL);\r
 \r
   PciIoWrite (PciIo, EfiPciIoWidthUint32, (UINT8) Offset, 1, &gAllOne);\r
   PciIoRead (PciIo, EfiPciIoWidthUint32, (UINT8) Offset, 1, &Value);\r
@@ -759,7 +759,7 @@ Returns:
   //\r
   // Raise TPL to high level to disable timer interrupt while the BAR is probed\r
   //\r
-  OldTpl = gBS->RaiseTPL (EFI_TPL_HIGH_LEVEL);\r
+  OldTpl = gBS->RaiseTPL (TPL_HIGH_LEVEL);\r
 \r
   PciSetCommandRegister (PciIoDevice, *Command);\r
   PciReadCommandRegister (PciIoDevice, Command);\r
@@ -784,7 +784,7 @@ Returns:
     //\r
     // Raise TPL to high level to disable timer interrupt while the BAR is probed\r
     //\r
-    OldTpl = gBS->RaiseTPL (EFI_TPL_HIGH_LEVEL);\r
+    OldTpl = gBS->RaiseTPL (TPL_HIGH_LEVEL);\r
 \r
     PciSetBridgeControlRegister (PciIoDevice, *BridgeControl);\r
     PciReadBridgeControlRegister (PciIoDevice, BridgeControl);\r