Home
last modified time | relevance | path

Searched refs:OldTpl (Results 1 – 25 of 125) sorted by relevance

12345

/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Event/
DTpl.c65 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/
DMnpMain.c53 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/
DEmuSimpleFileSystem.c107 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/
DEmuBlockIo.c39 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/
DGopInput.c129 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/Universal/Network/ArpDxe/
DArpMain.c55 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/
DDhcp6Impl.c76 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/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/
DPs2KbdTextIn.c151 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/MdeModulePkg/Bus/Usb/UsbBusDxe/
DUsbBus.c77 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/NetworkPkg/DnsDxe/
DDnsProtocol.c61 EFI_TPL OldTpl; in Dns4GetModeData() local
85 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Dns4GetModeData()
89 gBS->RestoreTPL (OldTpl); in Dns4GetModeData()
100 gBS->RestoreTPL (OldTpl); in Dns4GetModeData()
140 gBS->RestoreTPL (OldTpl); in Dns4GetModeData()
172 EFI_TPL OldTpl; in Dns4Configure() local
192 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Dns4Configure()
240 gBS->RestoreTPL (OldTpl); in Dns4Configure()
256 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in Dns4Configure()
289 gBS->RestoreTPL (OldTpl); in Dns4Configure()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/
DMtc.c92 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/Udp6Dxe/
DUdp6Main.c66 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/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/
DMonotonicCounter.c68 EFI_TPL OldTpl; in MonotonicCounterDriverGetNextMonotonicCount() local
85 OldTpl = gBS->RaiseTPL (TPL_HIGH_LEVEL); in MonotonicCounterDriverGetNextMonotonicCount()
88 gBS->RestoreTPL (OldTpl); in MonotonicCounterDriverGetNextMonotonicCount()
140 EFI_TPL OldTpl; in MonotonicCounterDriverGetNextHighMonotonicCount() local
153 OldTpl = gBS->RaiseTPL (TPL_HIGH_LEVEL); in MonotonicCounterDriverGetNextHighMonotonicCount()
156 gBS->RestoreTPL (OldTpl); in MonotonicCounterDriverGetNextHighMonotonicCount()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Udp4Dxe/
DUdp4Main.c61 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/SecurityPkg/Hash2DxeCrypto/
DDriver.c48 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/Omap35xxPkg/Library/RealTimeClockLib/
DRealTimeClockLib.c55 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()
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Library/RealTimeClockLib/
DRealTimeClockLib.c55 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()
/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/
DSnpStart.c45 EFI_TPL OldTpl; in VirtioNetStart() local
53 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in VirtioNetStart()
62 gBS->RestoreTPL (OldTpl); in VirtioNetStart()
DSnpStop.c46 EFI_TPL OldTpl; in VirtioNetStop() local
54 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in VirtioNetStop()
63 gBS->RestoreTPL (OldTpl); in VirtioNetStop()
DSnpShutdown.c46 EFI_TPL OldTpl; in VirtioNetShutdown() local
54 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in VirtioNetShutdown()
76 gBS->RestoreTPL (OldTpl); in VirtioNetShutdown()
DSnpReceiveFilters.c67 EFI_TPL OldTpl; in VirtioNetReceiveFilters() local
75 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in VirtioNetReceiveFilters()
103 gBS->RestoreTPL (OldTpl); in VirtioNetReceiveFilters()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/
DEhci.c81 EFI_TPL OldTpl; in EhcGetCapability() local
87 OldTpl = gBS->RaiseTPL (EHC_TPL); in EhcGetCapability()
96 gBS->RestoreTPL (OldTpl); in EhcGetCapability()
122 EFI_TPL OldTpl; in EhcReset() local
139 OldTpl = gBS->RaiseTPL (EHC_TPL); in EhcReset()
195 gBS->RestoreTPL (OldTpl); in EhcReset()
220 EFI_TPL OldTpl; in EhcGetState() local
227 OldTpl = gBS->RaiseTPL (EHC_TPL); in EhcGetState()
236 gBS->RestoreTPL (OldTpl); in EhcGetState()
263 EFI_TPL OldTpl; in EhcSetState() local
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/
DUhci.c49 EFI_TPL OldTpl; in Uhci2Reset() local
69 OldTpl = gBS->RaiseTPL (UHCI_TPL); in Uhci2Reset()
111 gBS->RestoreTPL (OldTpl); in Uhci2Reset()
117 gBS->RestoreTPL (OldTpl); in Uhci2Reset()
189 EFI_TPL OldTpl; in Uhci2SetState() local
205 OldTpl = gBS->RaiseTPL (UHCI_TPL); in Uhci2SetState()
270 gBS->RestoreTPL (OldTpl); in Uhci2SetState()
439 EFI_TPL OldTpl; in Uhci2SetRootHubPortFeature() local
452 OldTpl = gBS->RaiseTPL (UHCI_TPL); in Uhci2SetRootHubPortFeature()
484 gBS->RestoreTPL (OldTpl); in Uhci2SetRootHubPortFeature()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/
DDhcp4Impl.c364 EFI_TPL OldTpl; in EfiDhcp4GetModeData() local
376 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EfiDhcp4GetModeData()
409 gBS->RestoreTPL (OldTpl); in EfiDhcp4GetModeData()
638 EFI_TPL OldTpl; in EfiDhcp4Configure() local
676 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EfiDhcp4Configure()
730 gBS->RestoreTPL (OldTpl); in EfiDhcp4Configure()
786 EFI_TPL OldTpl; in EfiDhcp4Start() local
801 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EfiDhcp4Start()
826 gBS->RestoreTPL (OldTpl); in EfiDhcp4Start()
839 gBS->RestoreTPL (OldTpl); in EfiDhcp4Start()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6Impl.c64 EFI_TPL OldTpl; in EfiIp6GetModeData() local
70 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EfiIp6GetModeData()
231 gBS->RestoreTPL (OldTpl); in EfiIp6GetModeData()
625 EFI_TPL OldTpl; in EfiIp6Configure() local
643 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EfiIp6Configure()
710 gBS->RestoreTPL (OldTpl); in EfiIp6Configure()
753 EFI_TPL OldTpl; in EfiIp6Groups() local
773 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); in EfiIp6Groups()
783 gBS->RestoreTPL (OldTpl); in EfiIp6Groups()
842 EFI_TPL OldTpl; in EfiIp6Routes() local
[all …]

12345