Lines Matching defs:OldTpl
65 EFI_TPL OldTpl;
67 OldTpl = gEfiCurrentTpl;
68 if (OldTpl > NewTpl) {
69 DEBUG ((EFI_D_ERROR, "FATAL ERROR - RaiseTpl with OldTpl(0x%x) > NewTpl(0x%x)\n", OldTpl, NewTpl));
77 if (NewTpl >= TPL_HIGH_LEVEL && OldTpl < TPL_HIGH_LEVEL) {
86 return OldTpl;
105 EFI_TPL OldTpl;
107 OldTpl = gEfiCurrentTpl;
108 if (NewTpl > OldTpl) {
109 DEBUG ((EFI_D_ERROR, "FATAL ERROR - RestoreTpl with NewTpl(0x%x) > OldTpl(0x%x)\n", NewTpl, OldTpl));
119 if (OldTpl >= TPL_HIGH_LEVEL && NewTpl < TPL_HIGH_LEVEL) {