/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Event/ |
D | Tpl.c | 65 EFI_TPL OldTpl; in CoreRaiseTpl() local 67 OldTpl = gEfiCurrentTpl; in CoreRaiseTpl() 68 if (OldTpl > NewTpl) { in CoreRaiseTpl() 69 …DEBUG ((EFI_D_ERROR, "FATAL ERROR - RaiseTpl with OldTpl(0x%x) > NewTpl(0x%x)\n", OldTpl, NewTpl)); in CoreRaiseTpl() 77 if (NewTpl >= TPL_HIGH_LEVEL && OldTpl < TPL_HIGH_LEVEL) { in CoreRaiseTpl() 86 return OldTpl; in CoreRaiseTpl() 105 EFI_TPL OldTpl; in CoreRestoreTpl() local 107 OldTpl = gEfiCurrentTpl; in CoreRestoreTpl() 108 if (NewTpl > OldTpl) { in CoreRestoreTpl() 109 …BUG ((EFI_D_ERROR, "FATAL ERROR - RestoreTpl with NewTpl(0x%x) > OldTpl(0x%x)\n", NewTpl, OldTpl)); in CoreRestoreTpl() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/ |
D | MnpMain.c | 53 EFI_TPL OldTpl; in MnpGetModeData() local 63 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in MnpGetModeData() 92 gBS->RestoreTPL (OldTpl); in MnpGetModeData() 158 EFI_TPL OldTpl; in MnpConfigure() local 171 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in MnpConfigure() 187 gBS->RestoreTPL (OldTpl); in MnpConfigure() 235 EFI_TPL OldTpl; in MnpMcastIpToMac() local 255 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in MnpMcastIpToMac() 308 gBS->RestoreTPL (OldTpl); in MnpMcastIpToMac() 363 EFI_TPL OldTpl; in MnpGroups() local [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/EmuSimpleFileSystemDxe/ |
D | EmuSimpleFileSystem.c | 107 EFI_TPL OldTpl; in EmuSimpleFileSystemClose() local 115 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EmuSimpleFileSystemClose() 122 gBS->RestoreTPL (OldTpl); in EmuSimpleFileSystemClose() 145 EFI_TPL OldTpl; in EmuSimpleFileSystemDelete() local 151 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EmuSimpleFileSystemDelete() 160 gBS->RestoreTPL (OldTpl); in EmuSimpleFileSystemDelete() 190 EFI_TPL OldTpl; in EmuSimpleFileSystemRead() local 201 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EmuSimpleFileSystemRead() 207 gBS->RestoreTPL (OldTpl); in EmuSimpleFileSystemRead() 240 EFI_TPL OldTpl; in EmuSimpleFileSystemWrite() local [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/EmuBlockIoDxe/ |
D | EmuBlockIo.c | 39 EFI_TPL OldTpl; in EmuBlockIo2Reset() local 43 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EmuBlockIo2Reset() 47 gBS->RestoreTPL (OldTpl); in EmuBlockIo2Reset() 97 EFI_TPL OldTpl; in EmuBlockIo2ReadBlocksEx() local 101 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EmuBlockIo2ReadBlocksEx() 105 gBS->RestoreTPL (OldTpl); in EmuBlockIo2ReadBlocksEx() 154 EFI_TPL OldTpl; in EmuBlockIo2WriteBlocksEx() local 158 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EmuBlockIo2WriteBlocksEx() 162 gBS->RestoreTPL (OldTpl); in EmuBlockIo2WriteBlocksEx() 199 EFI_TPL OldTpl; in EmuBlockIo2Flush() local [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/EmuGopDxe/ |
D | GopInput.c | 129 EFI_TPL OldTpl; in EmuGopSimpleTextInReset() local 139 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in EmuGopSimpleTextInReset() 150 gBS->RestoreTPL (OldTpl); in EmuGopSimpleTextInReset() 178 EFI_TPL OldTpl; in EmuGopSimpleTextInReadKeyStroke() local 189 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in EmuGopSimpleTextInReadKeyStroke() 204 gBS->RestoreTPL (OldTpl); in EmuGopSimpleTextInReadKeyStroke() 227 EFI_TPL OldTpl; in EmuGopSimpleTextInWaitForKey() local 237 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in EmuGopSimpleTextInWaitForKey() 249 gBS->RestoreTPL (OldTpl); in EmuGopSimpleTextInWaitForKey() 385 EFI_TPL OldTpl; in EmuGopSimpleTextInExReadKeyStrokeEx() local [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/ |
D | Ps2KbdTextIn.c | 151 EFI_TPL OldTpl; in KeyboardReadKeyStrokeWorker() local 160 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in KeyboardReadKeyStrokeWorker() 170 gBS->RestoreTPL (OldTpl); in KeyboardReadKeyStrokeWorker() 192 EFI_TPL OldTpl; in KeyboardEfiReset() local 208 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in KeyboardEfiReset() 218 gBS->RestoreTPL (OldTpl); in KeyboardEfiReset() 225 gBS->RestoreTPL (OldTpl); in KeyboardEfiReset() 323 EFI_TPL OldTpl; in KeyboardWaitForKey() local 332 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in KeyboardWaitForKey() 363 gBS->RestoreTPL (OldTpl); in KeyboardWaitForKey() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/ |
D | Ps2KbdTextIn.c | 151 EFI_TPL OldTpl; in KeyboardReadKeyStrokeWorker() local 160 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in KeyboardReadKeyStrokeWorker() 170 gBS->RestoreTPL (OldTpl); in KeyboardReadKeyStrokeWorker() 192 EFI_TPL OldTpl; in KeyboardEfiReset() local 208 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in KeyboardEfiReset() 218 gBS->RestoreTPL (OldTpl); in KeyboardEfiReset() 225 gBS->RestoreTPL (OldTpl); in KeyboardEfiReset() 323 EFI_TPL OldTpl; in KeyboardWaitForKey() local 332 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in KeyboardWaitForKey() 363 gBS->RestoreTPL (OldTpl); in KeyboardWaitForKey() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/MarvellYukonDxe/ |
D | Snp.c | 125 EFI_TPL OldTpl; in SnpGetStatus() local 142 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in SnpGetStatus() 161 gBS->RestoreTPL (OldTpl); in SnpGetStatus() 209 EFI_TPL OldTpl; in SnpInitialize() local 225 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in SnpInitialize() 258 gBS->RestoreTPL (OldTpl); in SnpInitialize() 301 EFI_TPL OldTpl; in SnpMcastIpToMac() local 318 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in SnpMcastIpToMac() 336 gBS->RestoreTPL (OldTpl); in SnpMcastIpToMac() 404 EFI_TPL OldTpl; in SnpNvData() local [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/ArpDxe/ |
D | ArpMain.c | 55 EFI_TPL OldTpl; in ArpConfigure() local 70 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in ArpConfigure() 77 gBS->RestoreTPL (OldTpl); in ArpConfigure() 145 EFI_TPL OldTpl; in ArpAdd() local 181 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in ArpAdd() 275 gBS->RestoreTPL (OldTpl); in ArpAdd() 329 EFI_TPL OldTpl; in ArpFind() local 343 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in ArpFind() 358 gBS->RestoreTPL (OldTpl); in ArpFind() 391 EFI_TPL OldTpl; in ArpDelete() local [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/ |
D | Dhcp6Impl.c | 76 EFI_TPL OldTpl; in EfiDhcp6Start() local 103 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EfiDhcp6Start() 129 gBS->RestoreTPL (OldTpl); in EfiDhcp6Start() 146 gBS->RestoreTPL (OldTpl); in EfiDhcp6Start() 172 EFI_TPL OldTpl; in EfiDhcp6Stop() local 209 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EfiDhcp6Stop() 213 gBS->RestoreTPL (OldTpl); in EfiDhcp6Stop() 233 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EfiDhcp6Stop() 235 gBS->RestoreTPL (OldTpl); in EfiDhcp6Stop() 264 EFI_TPL OldTpl; in EfiDhcp6GetModeData() local [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/ |
D | UsbBus.c | 77 EFI_TPL OldTpl; in UsbIoControlTransfer() local 84 OldTpl = gBS->RaiseTPL (USB_BUS_TPL); in UsbIoControlTransfer() 199 gBS->RestoreTPL (OldTpl); in UsbIoControlTransfer() 236 EFI_TPL OldTpl; in UsbIoBulkTransfer() local 245 OldTpl = gBS->RaiseTPL (USB_BUS_TPL); in UsbIoBulkTransfer() 294 gBS->RestoreTPL (OldTpl); in UsbIoBulkTransfer() 329 EFI_TPL OldTpl; in UsbIoSyncInterruptTransfer() local 339 OldTpl = gBS->RaiseTPL (USB_BUS_TPL); in UsbIoSyncInterruptTransfer() 369 gBS->RestoreTPL (OldTpl); in UsbIoSyncInterruptTransfer() 409 EFI_TPL OldTpl; in UsbIoAsyncInterruptTransfer() local [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/ |
D | Mtc.c | 92 EFI_TPL OldTpl; in LibMtcGetNextHighMonotonicCount() local 104 OldTpl = gBS->RaiseTPL (EFI_TPL_HIGH_LEVEL); in LibMtcGetNextHighMonotonicCount() 111 gBS->RestoreTPL (OldTpl); in LibMtcGetNextHighMonotonicCount() 135 EFI_TPL OldTpl; in LibMtcGetNextMonotonicCount() local 189 OldTpl = gBS->RaiseTPL (EFI_TPL_HIGH_LEVEL); in LibMtcGetNextMonotonicCount() 192 gBS->RestoreTPL (OldTpl); in LibMtcGetNextMonotonicCount()
|
/device/linaro/bootloader/edk2/NetworkPkg/TlsDxe/ |
D | TlsConfigProtocol.c | 54 EFI_TPL OldTpl; in TlsConfigurationSetData() local 62 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in TlsConfigurationSetData() 83 gBS->RestoreTPL (OldTpl); in TlsConfigurationSetData() 121 EFI_TPL OldTpl; in TlsConfigurationGetData() local 129 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in TlsConfigurationGetData() 150 gBS->RestoreTPL (OldTpl); in TlsConfigurationGetData()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/ |
D | NvmExpressBlockIo.c | 176 EFI_TPL OldTpl; in NvmeRead() local 182 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in NvmeRead() 184 gBS->RestoreTPL (OldTpl); in NvmeRead() 254 EFI_TPL OldTpl; in NvmeWrite() local 260 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in NvmeWrite() 262 gBS->RestoreTPL (OldTpl); in NvmeWrite() 447 EFI_TPL OldTpl; in AsyncReadSectors() local 518 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in AsyncReadSectors() 521 gBS->RestoreTPL (OldTpl); in AsyncReadSectors() 586 EFI_TPL OldTpl; in AsyncWriteSectors() local [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/ |
D | MonotonicCounter.c | 68 EFI_TPL OldTpl; in MonotonicCounterDriverGetNextMonotonicCount() local 85 OldTpl = gBS->RaiseTPL (TPL_HIGH_LEVEL); in MonotonicCounterDriverGetNextMonotonicCount() 88 gBS->RestoreTPL (OldTpl); in MonotonicCounterDriverGetNextMonotonicCount() 141 EFI_TPL OldTpl; in MonotonicCounterDriverGetNextHighMonotonicCount() local 154 OldTpl = gBS->RaiseTPL (TPL_HIGH_LEVEL); in MonotonicCounterDriverGetNextHighMonotonicCount() 157 gBS->RestoreTPL (OldTpl); in MonotonicCounterDriverGetNextHighMonotonicCount()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcDxe/ |
D | EmmcBlockIo.c | 328 EFI_TPL OldTpl; in EmmcSetExtCsd() local 342 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in EmmcSetExtCsd() 344 gBS->RestoreTPL (OldTpl); in EmmcSetExtCsd() 385 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in EmmcSetExtCsd() 387 gBS->RestoreTPL (OldTpl); in EmmcSetExtCsd() 398 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in EmmcSetExtCsd() 400 gBS->RestoreTPL (OldTpl); in EmmcSetExtCsd() 434 EFI_TPL OldTpl; in EmmcSetBlkCount() local 448 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in EmmcSetBlkCount() 450 gBS->RestoreTPL (OldTpl); in EmmcSetBlkCount() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/Udp6Dxe/ |
D | Udp6Main.c | 66 EFI_TPL OldTpl; in Udp6GetModeData() local 79 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Udp6GetModeData() 95 gBS->RestoreTPL (OldTpl); in Udp6GetModeData() 147 EFI_TPL OldTpl; in Udp6Configure() local 168 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Udp6Configure() 290 gBS->RestoreTPL (OldTpl); in Udp6Configure() 332 EFI_TPL OldTpl; in Udp6Groups() local 359 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Udp6Groups() 386 gBS->RestoreTPL (OldTpl); in Udp6Groups() 458 EFI_TPL OldTpl; in Udp6Transmit() local [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/ |
D | DnsProtocol.c | 63 EFI_TPL OldTpl; in Dns4GetModeData() local 87 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Dns4GetModeData() 153 gBS->RestoreTPL (OldTpl); in Dns4GetModeData() 192 EFI_TPL OldTpl; in Dns4Configure() local 212 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Dns4Configure() 260 gBS->RestoreTPL (OldTpl); in Dns4Configure() 276 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Dns4Configure() 311 gBS->RestoreTPL (OldTpl); in Dns4Configure() 359 EFI_TPL OldTpl; in Dns4HostNameToIp() local 374 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Dns4HostNameToIp() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Udp4Dxe/ |
D | Udp4Main.c | 61 EFI_TPL OldTpl; in Udp4GetModeData() local 74 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Udp4GetModeData() 90 gBS->RestoreTPL (OldTpl); in Udp4GetModeData() 139 EFI_TPL OldTpl; in Udp4Configure() local 160 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Udp4Configure() 287 gBS->RestoreTPL (OldTpl); in Udp4Configure() 333 EFI_TPL OldTpl; in Udp4Groups() local 361 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Udp4Groups() 388 gBS->RestoreTPL (OldTpl); in Udp4Groups() 507 EFI_TPL OldTpl; in Udp4Transmit() local [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdDxe/ |
D | SdBlockIo.c | 331 EFI_TPL OldTpl; in SdRwSingleBlock() local 343 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in SdRwSingleBlock() 345 gBS->RestoreTPL (OldTpl); in SdRwSingleBlock() 406 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in SdRwSingleBlock() 408 gBS->RestoreTPL (OldTpl); in SdRwSingleBlock() 419 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in SdRwSingleBlock() 421 gBS->RestoreTPL (OldTpl); in SdRwSingleBlock() 492 EFI_TPL OldTpl; in SdRwMultiBlocks() local 505 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in SdRwMultiBlocks() 507 gBS->RestoreTPL (OldTpl); in SdRwMultiBlocks() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Keyboard/VirtualKeyboardDxe/ |
D | VirtualKeyboard.c | 555 EFI_TPL OldTpl; in VirtualKeyboardReset() local 562 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in VirtualKeyboardReset() 573 gBS->RestoreTPL (OldTpl); in VirtualKeyboardReset() 598 EFI_TPL OldTpl; in VirtualKeyboardResetEx() local 610 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in VirtualKeyboardResetEx() 612 gBS->RestoreTPL (OldTpl); in VirtualKeyboardResetEx() 640 EFI_TPL OldTpl; in KeyboardReadKeyStrokeWorker() local 661 OldTpl = gBS->RaiseTPL (TPL_NOTIFY); in KeyboardReadKeyStrokeWorker() 669 gBS->RestoreTPL (OldTpl); in KeyboardReadKeyStrokeWorker() 675 gBS->RestoreTPL (OldTpl); in KeyboardReadKeyStrokeWorker() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Hash2DxeCrypto/ |
D | Driver.c | 48 EFI_TPL OldTpl; in Hash2ServiceBindingCreateChild() local 87 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Hash2ServiceBindingCreateChild() 91 gBS->RestoreTPL (OldTpl); in Hash2ServiceBindingCreateChild() 129 EFI_TPL OldTpl; in Hash2ServiceBindingDestroyChild() local 182 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Hash2ServiceBindingDestroyChild() 189 gBS->RestoreTPL (OldTpl); in Hash2ServiceBindingDestroyChild()
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/ |
D | SnpStop.c | 46 EFI_TPL OldTpl; in VirtioNetStop() local 54 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in VirtioNetStop() 63 gBS->RestoreTPL (OldTpl); in VirtioNetStop()
|
D | SnpStart.c | 45 EFI_TPL OldTpl; in VirtioNetStart() local 53 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in VirtioNetStart() 62 gBS->RestoreTPL (OldTpl); in VirtioNetStart()
|
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/RealTimeClockLib/ |
D | RealTimeClockLib.c | 55 EFI_TPL OldTpl; in LibGetTime() local 61 OldTpl = gBS->RaiseTPL(TPL_NOTIFY); in LibGetTime() 112 gBS->RestoreTPL(OldTpl); in LibGetTime() 136 EFI_TPL OldTpl; in LibSetTime() local 153 OldTpl = gBS->RaiseTPL(TPL_NOTIFY); in LibSetTime() 182 gBS->RestoreTPL(OldTpl); in LibSetTime() 253 EFI_TPL OldTpl; in LibRtcInitialize() local 258 OldTpl = gBS->RaiseTPL(TPL_NOTIFY); in LibRtcInitialize() 262 gBS->RestoreTPL(OldTpl); in LibRtcInitialize()
|