]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Bus/Usb/UsbMassStorage/Dxe/UsbMassStorage.c
Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
[mirror_edk2.git] / EdkModulePkg / Bus / Usb / UsbMassStorage / Dxe / UsbMassStorage.c
index 9caa006715feef8313ab104a531a0a54ed35dd2b..daaf3f8fe41d72d2449e608cd43b53d685e84d2c 100644 (file)
@@ -352,7 +352,7 @@ USBFloppyReset (
   EFI_STATUS              Status;\r
   EFI_TPL                 OldTpl;\r
 \r
-  OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);\r
+  OldTpl = gBS->RaiseTPL (TPL_CALLBACK);\r
 \r
   UsbFloppyDevice   = USB_FLOPPY_DEV_FROM_THIS (This);\r
 \r
@@ -426,7 +426,7 @@ USBFloppyReadBlocks (
     return EFI_SUCCESS;\r
   }\r
 \r
-  OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);\r
+  OldTpl = gBS->RaiseTPL (TPL_CALLBACK);\r
 \r
   UsbFloppyTestUnitReady (UsbFloppyDevice);\r
 \r
@@ -572,7 +572,7 @@ USBFloppyWriteBlocks (
     return EFI_SUCCESS;\r
   }\r
 \r
-  OldTpl = gBS->RaiseTPL (EFI_TPL_CALLBACK);\r
+  OldTpl = gBS->RaiseTPL (TPL_CALLBACK);\r
 \r
   UsbFloppyTestUnitReady (UsbFloppyDevice);\r
 \r