EFI_SMM_COMMUNICATE_HEADER *CommunicateHeader;\r
EFI_PHYSICAL_ADDRESS *BufferPtrAddress;\r
\r
- DEBUG ((EFI_D_INFO, "PiSmmCommunicationHandler Enter\n"));\r
+ DEBUG ((DEBUG_INFO, "PiSmmCommunicationHandler Enter\n"));\r
\r
BufferPtrAddress = (EFI_PHYSICAL_ADDRESS *)(UINTN)mSmmCommunicationContext.BufferPtrAddress;\r
CommunicateHeader = (EFI_SMM_COMMUNICATE_HEADER *)(UINTN)*BufferPtrAddress;\r
- DEBUG ((EFI_D_INFO, "PiSmmCommunicationHandler CommunicateHeader - %x\n", CommunicateHeader));\r
+ DEBUG ((DEBUG_INFO, "PiSmmCommunicationHandler CommunicateHeader - %x\n", CommunicateHeader));\r
if (CommunicateHeader == NULL) {\r
- DEBUG ((EFI_D_INFO, "PiSmmCommunicationHandler is NULL, needn't to call dispatch function\n"));\r
+ DEBUG ((DEBUG_INFO, "PiSmmCommunicationHandler is NULL, needn't to call dispatch function\n"));\r
Status = EFI_SUCCESS;\r
} else {\r
if (!SmmIsBufferOutsideSmmValid ((UINTN)CommunicateHeader, OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, Data))) {\r
- DEBUG ((EFI_D_INFO, "PiSmmCommunicationHandler CommunicateHeader invalid - 0x%x\n", CommunicateHeader));\r
+ DEBUG ((DEBUG_INFO, "PiSmmCommunicationHandler CommunicateHeader invalid - 0x%x\n", CommunicateHeader));\r
Status = EFI_SUCCESS;\r
goto Done;\r
}\r
\r
CommSize = (UINTN)CommunicateHeader->MessageLength;\r
if (!SmmIsBufferOutsideSmmValid ((UINTN)&CommunicateHeader->Data[0], CommSize)) {\r
- DEBUG ((EFI_D_INFO, "PiSmmCommunicationHandler CommunicateData invalid - 0x%x\n", &CommunicateHeader->Data[0]));\r
+ DEBUG ((DEBUG_INFO, "PiSmmCommunicationHandler CommunicateData invalid - 0x%x\n", &CommunicateHeader->Data[0]));\r
Status = EFI_SUCCESS;\r
goto Done;\r
}\r
//\r
// Call dispatch function\r
//\r
- DEBUG ((EFI_D_INFO, "PiSmmCommunicationHandler Data - %x\n", &CommunicateHeader->Data[0]));\r
+ DEBUG ((DEBUG_INFO, "PiSmmCommunicationHandler Data - %x\n", &CommunicateHeader->Data[0]));\r
Status = gSmst->SmiManage (\r
&CommunicateHeader->HeaderGuid,\r
NULL,\r
}\r
\r
Done:\r
- DEBUG ((EFI_D_INFO, "PiSmmCommunicationHandler %r\n", Status));\r
- DEBUG ((EFI_D_INFO, "PiSmmCommunicationHandler Exit\n"));\r
+ DEBUG ((DEBUG_INFO, "PiSmmCommunicationHandler %r\n", Status));\r
+ DEBUG ((DEBUG_INFO, "PiSmmCommunicationHandler Exit\n"));\r
\r
return (Status == EFI_SUCCESS) ? EFI_SUCCESS : EFI_INTERRUPT_PENDING;\r
}\r
);\r
ASSERT_EFI_ERROR (Status);\r
\r
- DEBUG ((EFI_D_INFO, "SmmCommunication SwSmi: %x\n", (UINTN)SmmSwDispatchContext.SwSmiInputValue));\r
+ DEBUG ((DEBUG_INFO, "SmmCommunication SwSmi: %x\n", (UINTN)SmmSwDispatchContext.SwSmiInputValue));\r
\r
BufferPtrAddress = AllocateAcpiNvsMemoryBelow4G (sizeof(EFI_PHYSICAL_ADDRESS));\r
ASSERT (BufferPtrAddress != NULL);\r
- DEBUG ((EFI_D_INFO, "SmmCommunication BufferPtrAddress: 0x%016lx, BufferPtr: 0x%016lx\n", (EFI_PHYSICAL_ADDRESS)(UINTN)BufferPtrAddress, *BufferPtrAddress));\r
+ DEBUG ((DEBUG_INFO, "SmmCommunication BufferPtrAddress: 0x%016lx, BufferPtr: 0x%016lx\n", (EFI_PHYSICAL_ADDRESS)(UINTN)BufferPtrAddress, *BufferPtrAddress));\r
\r
//\r
// Save context\r