Re: [edk2-devel] Debug UEFI Event

2020-04-03 Thread Andrew Fish via groups.io
Stanley, There is not much to debug with EFI events and that is why there are not a lot of DEBUG_EVENT DEBUG prints. The only thing that can block your event is for the current TPL level being >= to the TPL level of your event, but that also blocks all forward progress in EFI. Usually the pro

[edk2-devel] Debug UEFI Event

2020-04-03 Thread Stanley Gan
I have an event callback function not called. So, I want to track event execution in UEFI. There is a "DEBUG_EVENT" debug level in EDKII. But no module in EDKII actually use this debug level. I add some debug print in "CoreCreateEventInternal" and "CoredispatchEventNotifies",it cause TPL ASSERT. Ca

[edk2-devel] debug UEFI Event

2020-04-03 Thread Stanley Gan
I have an event callback function not called. So, I want to track event execution in UEFI. There is a "DEBUG_EVENT" debug level in EDKII. But no module in EDKII actually use this debug level. I add some debug print in "CoreCreateEventInternal" and "CoredispatchEventNotifies",it cause TPL ASSERT. Ca