mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
Drop log lines if we can't get the spin lock. Not nice, but better than risking a deadlock. Some background: Most of edk2 runs single-threaded on the BSP, so if something holds the lock it is rather unlikely that waiting is going to help. Specifically I think a deadlock can happen if (a) a timer interrupt arrives while the lock is held, and (b) some higher-TPL timer handler tries to print something to the debug log. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> |
||
|---|---|---|
| .. | ||
| MemDebugLogCommon.c | ||
| MemDebugLogDxe.c | ||
| MemDebugLogDxeLib.inf | ||
| MemDebugLogLibNull.inf | ||
| MemDebugLogNull.c | ||
| MemDebugLogPei.c | ||
| MemDebugLogPeiCore.c | ||
| MemDebugLogPeiCoreLib.inf | ||
| MemDebugLogPeiLib.inf | ||
| MemDebugLogRt.c | ||
| MemDebugLogRtLib.inf | ||
| MemDebugLogSec.c | ||
| MemDebugLogSecLib.inf | ||