Home | History | Annotate | Download | only in UefiLib

Lines Matching refs:Tpl

123   If NotifyTpl is not a legal TPL value, then ASSERT().

197 If NotifyTpl is not a legal TPL value, then ASSERT().
351 Returns the current TPL.
353 This function returns the current TPL. There is no EFI service to directly
354 retrieve the current TPL. Instead, the RaiseTPL() function is used to raise
355 the TPL to TPL_HIGH_LEVEL. This will return the current TPL. The TPL level
356 can then immediately be restored back to the current TPL level with a call
359 @return The current TPL.
368 EFI_TPL Tpl;
370 Tpl = gBS->RaiseTPL (TPL_HIGH_LEVEL);
371 gBS->RestoreTPL (Tpl);
373 return Tpl;
383 acquiring the lock only consists of raising to the locks TPL.
385 If Priority is not a valid TPL value, then ASSERT().
388 @param Priority EFI TPL is associated with the lock.
403 Lock->Tpl = Priority;
431 Lock->OwnerTpl = gBS->RaiseTPL (Lock->Tpl);
468 Lock->OwnerTpl = gBS->RaiseTPL (Lock->Tpl);
494 EFI_TPL Tpl;
499 Tpl = Lock->OwnerTpl;
503 gBS->RestoreTPL (Tpl);