summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal/StatusCode/Dxe/Common/DxeStatusCodeCommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkModulePkg/Universal/StatusCode/Dxe/Common/DxeStatusCodeCommon.c')
-rw-r--r--EdkModulePkg/Universal/StatusCode/Dxe/Common/DxeStatusCodeCommon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/EdkModulePkg/Universal/StatusCode/Dxe/Common/DxeStatusCodeCommon.c b/EdkModulePkg/Universal/StatusCode/Dxe/Common/DxeStatusCodeCommon.c
index 43fe3fdfda..1ac1c74a5e 100644
--- a/EdkModulePkg/Universal/StatusCode/Dxe/Common/DxeStatusCodeCommon.c
+++ b/EdkModulePkg/Universal/StatusCode/Dxe/Common/DxeStatusCodeCommon.c
@@ -148,6 +148,9 @@ ReportDispatcher (
IN EFI_STATUS_CODE_DATA *Data OPTIONAL
)
{
+ volatile int tt = 1;
+ while (tt) {
+ }
//
// Use atom operation to avoid the reentant of report.
// If current status is not zero, then the function is reentrancy.