X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FUniversal%2FDebugSupport%2FDxe%2Fipf%2FplDebugSupport.c;h=b79390a95f858421580c011cc1b8507568b166ad;hp=6f2ded213ea7855da82e5928f54abbd40e16ce77;hb=2ce311322c72857f73138c45358e722607a1e80c;hpb=dca84bbd419fdeaa8cf26ad4ab95e6f37588ea0b diff --git a/EdkModulePkg/Universal/DebugSupport/Dxe/ipf/plDebugSupport.c b/EdkModulePkg/Universal/DebugSupport/Dxe/ipf/plDebugSupport.c index 6f2ded213e..b79390a95f 100644 --- a/EdkModulePkg/Universal/DebugSupport/Dxe/ipf/plDebugSupport.c +++ b/EdkModulePkg/Universal/DebugSupport/Dxe/ipf/plDebugSupport.c @@ -191,7 +191,7 @@ Returns: { static BOOLEAN InHandler = FALSE; - DEBUG_CODE ( + DEBUG_CODE_BEGIN (); if (InHandler) { EfiDebugPrint (EFI_D_GENERIC, "ERROR: Re-entered debugger!\n" " ExceptionType == %X\n" @@ -205,7 +205,8 @@ Returns: Context.SystemContextIpf->CrIpsr, InHandler); } - ) + DEBUG_CODE_END (); + ASSERT (!InHandler); InHandler = TRUE; if (IvtEntryTable[ExceptionType].RegisteredCallback != NULL) {