SourceLevelDebugPkg: Change use of EFI_D_* to DEBUG_*
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3739 Update all use of EFI_D_* defines in DEBUG() macros to DEBUG_* defines. Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
4a1aee13d8
commit
586fda4800
@@ -283,8 +283,8 @@ VerifyMailboxChecksum (
|
|||||||
// and ToBeCheckSum field to validate the mail box.
|
// and ToBeCheckSum field to validate the mail box.
|
||||||
//
|
//
|
||||||
if (CheckSum != Mailbox->CheckSum && CheckSum != Mailbox->ToBeCheckSum) {
|
if (CheckSum != Mailbox->CheckSum && CheckSum != Mailbox->ToBeCheckSum) {
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: Mailbox checksum error, stack or heap crashed!\n"));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: Mailbox checksum error, stack or heap crashed!\n"));
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: CheckSum = %x, Mailbox->CheckSum = %x, Mailbox->ToBeCheckSum = %x\n", CheckSum, Mailbox->CheckSum, Mailbox->ToBeCheckSum));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: CheckSum = %x, Mailbox->CheckSum = %x, Mailbox->ToBeCheckSum = %x\n", CheckSum, Mailbox->CheckSum, Mailbox->ToBeCheckSum));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2637,4 +2637,3 @@ InterruptProcess (
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,10 +48,10 @@ InitializeDebugTimer (
|
|||||||
DisableApicTimerInterrupt ();
|
DisableApicTimerInterrupt ();
|
||||||
|
|
||||||
if (DumpFlag) {
|
if (DumpFlag) {
|
||||||
DEBUG ((EFI_D_INFO, "Debug Timer: FSB Clock = %d\n", PcdGet32(PcdFSBClock)));
|
DEBUG ((DEBUG_INFO, "Debug Timer: FSB Clock = %d\n", PcdGet32(PcdFSBClock)));
|
||||||
DEBUG ((EFI_D_INFO, "Debug Timer: Divisor = %d\n", ApicTimerDivisor));
|
DEBUG ((DEBUG_INFO, "Debug Timer: Divisor = %d\n", ApicTimerDivisor));
|
||||||
DEBUG ((EFI_D_INFO, "Debug Timer: Frequency = %d\n", ApicTimerFrequency));
|
DEBUG ((DEBUG_INFO, "Debug Timer: Frequency = %d\n", ApicTimerFrequency));
|
||||||
DEBUG ((EFI_D_INFO, "Debug Timer: InitialCount = %d\n", InitialCount));
|
DEBUG ((DEBUG_INFO, "Debug Timer: InitialCount = %d\n", InitialCount));
|
||||||
}
|
}
|
||||||
if (TimerFrequency != NULL) {
|
if (TimerFrequency != NULL) {
|
||||||
*TimerFrequency = ApicTimerFrequency;
|
*TimerFrequency = ApicTimerFrequency;
|
||||||
@@ -140,4 +140,3 @@ IsDebugTimerTimeout (
|
|||||||
|
|
||||||
return (BOOLEAN) (Delta >= TimeoutTicker);
|
return (BOOLEAN) (Delta >= TimeoutTicker);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -73,7 +73,7 @@ InternalConstructorWorker (
|
|||||||
//
|
//
|
||||||
Status = gBS->InstallConfigurationTable (&gEfiVectorHandoffTableGuid, (VOID *) &mVectorHandoffInfoDebugAgent[0]);
|
Status = gBS->InstallConfigurationTable (&gEfiVectorHandoffTableGuid, (VOID *) &mVectorHandoffInfoDebugAgent[0]);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: Cannot install configuration table for persisted vector handoff info!\n"));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: Cannot install configuration table for persisted vector handoff info!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -91,7 +91,7 @@ InternalConstructorWorker (
|
|||||||
&Address
|
&Address
|
||||||
);
|
);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: Cannot install configuration table for mailbox!\n"));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: Cannot install configuration table for mailbox!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -115,7 +115,7 @@ InternalConstructorWorker (
|
|||||||
|
|
||||||
Status = gBS->InstallConfigurationTable (&gEfiDebugAgentGuid, (VOID *) mMailboxPointer);
|
Status = gBS->InstallConfigurationTable (&gEfiDebugAgentGuid, (VOID *) mMailboxPointer);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: Failed to install configuration for mailbox!\n"));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: Failed to install configuration for mailbox!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -402,7 +402,7 @@ InitializeDebugAgent (
|
|||||||
// Check if Debug Agent has been initialized before
|
// Check if Debug Agent has been initialized before
|
||||||
//
|
//
|
||||||
if (IsDebugAgentInitialzed ()) {
|
if (IsDebugAgentInitialzed ()) {
|
||||||
DEBUG ((EFI_D_INFO, "Debug Agent: The former agent will be overwritten by the new one!\n"));
|
DEBUG ((DEBUG_INFO, "Debug Agent: The former agent will be overwritten by the new one!\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
mMultiProcessorDebugSupport = TRUE;
|
mMultiProcessorDebugSupport = TRUE;
|
||||||
@@ -537,7 +537,7 @@ InitializeDebugAgent (
|
|||||||
// Only DEBUG_AGENT_INIT_PREMEM_SEC and DEBUG_AGENT_INIT_POSTMEM_SEC are allowed for this
|
// Only DEBUG_AGENT_INIT_PREMEM_SEC and DEBUG_AGENT_INIT_POSTMEM_SEC are allowed for this
|
||||||
// Debug Agent library instance.
|
// Debug Agent library instance.
|
||||||
//
|
//
|
||||||
DEBUG ((EFI_D_ERROR, "Debug Agent: The InitFlag value is not allowed!\n"));
|
DEBUG ((DEBUG_ERROR, "Debug Agent: The InitFlag value is not allowed!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@@ -368,7 +368,7 @@ InstallSerialIo (
|
|||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "Debug Agent: Failed to install EFI Serial IO Protocol on Debug Port!\n"));
|
DEBUG ((DEBUG_ERROR, "Debug Agent: Failed to install EFI Serial IO Protocol on Debug Port!\n"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -411,7 +411,7 @@ InitializeDebugAgent (
|
|||||||
//
|
//
|
||||||
// If reaches here, it means Debug Port initialization failed.
|
// If reaches here, it means Debug Port initialization failed.
|
||||||
//
|
//
|
||||||
DEBUG ((EFI_D_ERROR, "Debug Agent: Debug port initialization failed.\n"));
|
DEBUG ((DEBUG_ERROR, "Debug Agent: Debug port initialization failed.\n"));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -432,7 +432,7 @@ InitializeDebugAgent (
|
|||||||
//
|
//
|
||||||
Status = PeiServicesInstallPpi (&mVectorHandoffInfoPpiList[0]);
|
Status = PeiServicesInstallPpi (&mVectorHandoffInfoPpiList[0]);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: Failed to install Vector Handoff Info PPI!\n"));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: Failed to install Vector Handoff Info PPI!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
@@ -464,7 +464,7 @@ InitializeDebugAgent (
|
|||||||
&Address
|
&Address
|
||||||
);
|
);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: Failed to allocate pages!\n"));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: Failed to allocate pages!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
}
|
}
|
||||||
NewMailbox = (DEBUG_AGENT_MAILBOX *) (UINTN) Address;
|
NewMailbox = (DEBUG_AGENT_MAILBOX *) (UINTN) Address;
|
||||||
@@ -494,14 +494,14 @@ InitializeDebugAgent (
|
|||||||
|
|
||||||
case DEBUG_AGENT_INIT_PEI:
|
case DEBUG_AGENT_INIT_PEI:
|
||||||
if (Context == NULL) {
|
if (Context == NULL) {
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: Input parameter Context cannot be NULL!\n"));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: Input parameter Context cannot be NULL!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
// Check if Debug Agent has initialized before
|
// Check if Debug Agent has initialized before
|
||||||
//
|
//
|
||||||
if (IsDebugAgentInitialzed()) {
|
if (IsDebugAgentInitialzed()) {
|
||||||
DEBUG ((EFI_D_WARN, "Debug Agent: It has already initialized in SEC Core!\n"));
|
DEBUG ((DEBUG_WARN, "Debug Agent: It has already initialized in SEC Core!\n"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
@@ -509,7 +509,7 @@ InitializeDebugAgent (
|
|||||||
//
|
//
|
||||||
Status = PeiServicesInstallPpi (&mVectorHandoffInfoPpiList[0]);
|
Status = PeiServicesInstallPpi (&mVectorHandoffInfoPpiList[0]);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: Failed to install Vector Handoff Info PPI!\n"));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: Failed to install Vector Handoff Info PPI!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
@@ -521,7 +521,7 @@ InitializeDebugAgent (
|
|||||||
//
|
//
|
||||||
Mailbox = AllocateZeroPool (sizeof (DEBUG_AGENT_MAILBOX));
|
Mailbox = AllocateZeroPool (sizeof (DEBUG_AGENT_MAILBOX));
|
||||||
if (Mailbox == NULL) {
|
if (Mailbox == NULL) {
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: Failed to allocate memory!\n"));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: Failed to allocate memory!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
} else {
|
} else {
|
||||||
MailboxLocation = (UINT64)(UINTN)Mailbox;
|
MailboxLocation = (UINT64)(UINTN)Mailbox;
|
||||||
@@ -550,7 +550,7 @@ InitializeDebugAgent (
|
|||||||
//
|
//
|
||||||
Status = PeiServicesNotifyPpi (&mDebugAgentMemoryDiscoveredNotifyList[0]);
|
Status = PeiServicesNotifyPpi (&mDebugAgentMemoryDiscoveredNotifyList[0]);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: Failed to register memory discovered callback function!\n"));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: Failed to register memory discovered callback function!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
@@ -571,7 +571,7 @@ InitializeDebugAgent (
|
|||||||
|
|
||||||
case DEBUG_AGENT_INIT_THUNK_PEI_IA32TOX64:
|
case DEBUG_AGENT_INIT_THUNK_PEI_IA32TOX64:
|
||||||
if (Context == NULL) {
|
if (Context == NULL) {
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: Input parameter Context cannot be NULL!\n"));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: Input parameter Context cannot be NULL!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
} else {
|
} else {
|
||||||
Ia32Idtr = (IA32_DESCRIPTOR *) Context;
|
Ia32Idtr = (IA32_DESCRIPTOR *) Context;
|
||||||
@@ -604,7 +604,7 @@ InitializeDebugAgent (
|
|||||||
// Only DEBUG_AGENT_INIT_PREMEM_SEC and DEBUG_AGENT_INIT_POSTMEM_SEC are allowed for this
|
// Only DEBUG_AGENT_INIT_PREMEM_SEC and DEBUG_AGENT_INIT_POSTMEM_SEC are allowed for this
|
||||||
// Debug Agent library instance.
|
// Debug Agent library instance.
|
||||||
//
|
//
|
||||||
DEBUG ((EFI_D_ERROR, "Debug Agent: The InitFlag value is not allowed!\n"));
|
DEBUG ((DEBUG_ERROR, "Debug Agent: The InitFlag value is not allowed!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@@ -203,7 +203,7 @@ InitializeDebugAgent (
|
|||||||
sizeof (EFI_VECTOR_HANDOFF_INFO) * mVectorHandoffInfoCount
|
sizeof (EFI_VECTOR_HANDOFF_INFO) * mVectorHandoffInfoCount
|
||||||
);
|
);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: Cannot install configuration table for persisted vector handoff info!\n"));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: Cannot install configuration table for persisted vector handoff info!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
@@ -336,7 +336,7 @@ InitializeDebugAgent (
|
|||||||
|
|
||||||
case DEBUG_AGENT_INIT_THUNK_PEI_IA32TOX64:
|
case DEBUG_AGENT_INIT_THUNK_PEI_IA32TOX64:
|
||||||
if (Context == NULL) {
|
if (Context == NULL) {
|
||||||
DEBUG ((EFI_D_ERROR, "DebugAgent: Input parameter Context cannot be NULL!\n"));
|
DEBUG ((DEBUG_ERROR, "DebugAgent: Input parameter Context cannot be NULL!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
} else {
|
} else {
|
||||||
Ia32Idtr = (IA32_DESCRIPTOR *) Context;
|
Ia32Idtr = (IA32_DESCRIPTOR *) Context;
|
||||||
@@ -378,9 +378,8 @@ InitializeDebugAgent (
|
|||||||
// Only DEBUG_AGENT_INIT_PREMEM_SEC and DEBUG_AGENT_INIT_POSTMEM_SEC are allowed for this
|
// Only DEBUG_AGENT_INIT_PREMEM_SEC and DEBUG_AGENT_INIT_POSTMEM_SEC are allowed for this
|
||||||
// Debug Agent library instance.
|
// Debug Agent library instance.
|
||||||
//
|
//
|
||||||
DEBUG ((EFI_D_ERROR, "Debug Agent: The InitFlag value is not allowed!\n"));
|
DEBUG ((DEBUG_ERROR, "Debug Agent: The InitFlag value is not allowed!\n"));
|
||||||
CpuDeadLoop ();
|
CpuDeadLoop ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -59,7 +59,7 @@ DebugPortInitialize (
|
|||||||
|
|
||||||
Status = SerialPortInitialize ();
|
Status = SerialPortInitialize ();
|
||||||
if (RETURN_ERROR(Status)) {
|
if (RETURN_ERROR(Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "Debug Serial Port: Initialization failed!\n"));
|
DEBUG ((DEBUG_ERROR, "Debug Serial Port: Initialization failed!\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Function != NULL) {
|
if (Function != NULL) {
|
||||||
@@ -151,4 +151,3 @@ DebugPortPollBuffer (
|
|||||||
{
|
{
|
||||||
return SerialPortPoll ();
|
return SerialPortPoll ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -617,7 +617,7 @@ InitializeUsbDebugHardware (
|
|||||||
if (((MmioRead32((UINTN)&UsbDebugPortRegister->ControlStatus) & (USB_DEBUG_PORT_OWNER | USB_DEBUG_PORT_IN_USE))
|
if (((MmioRead32((UINTN)&UsbDebugPortRegister->ControlStatus) & (USB_DEBUG_PORT_OWNER | USB_DEBUG_PORT_IN_USE))
|
||||||
!= (USB_DEBUG_PORT_OWNER | USB_DEBUG_PORT_IN_USE)) || (Handle->Initialized == USBDBG_RESET)) {
|
!= (USB_DEBUG_PORT_OWNER | USB_DEBUG_PORT_IN_USE)) || (Handle->Initialized == USBDBG_RESET)) {
|
||||||
DEBUG ((
|
DEBUG ((
|
||||||
EFI_D_INFO,
|
DEBUG_INFO,
|
||||||
"UsbDbg: Need to reset the host controller. ControlStatus = %08x\n",
|
"UsbDbg: Need to reset the host controller. ControlStatus = %08x\n",
|
||||||
MmioRead32((UINTN)&UsbDebugPortRegister->ControlStatus)
|
MmioRead32((UINTN)&UsbDebugPortRegister->ControlStatus)
|
||||||
));
|
));
|
||||||
@@ -625,7 +625,7 @@ InitializeUsbDebugHardware (
|
|||||||
// If the host controller is halted, then reset and restart it.
|
// If the host controller is halted, then reset and restart it.
|
||||||
//
|
//
|
||||||
if ((MmioRead32((UINTN)UsbStatus) & BIT12) != 0) {
|
if ((MmioRead32((UINTN)UsbStatus) & BIT12) != 0) {
|
||||||
DEBUG ((EFI_D_INFO, "UsbDbg: Reset the host controller.\n"));
|
DEBUG ((DEBUG_INFO, "UsbDbg: Reset the host controller.\n"));
|
||||||
//
|
//
|
||||||
// reset the host controller.
|
// reset the host controller.
|
||||||
//
|
//
|
||||||
@@ -662,7 +662,7 @@ InitializeUsbDebugHardware (
|
|||||||
|
|
||||||
if (Handle->Initialized != USBDBG_INIT_DONE ||
|
if (Handle->Initialized != USBDBG_INIT_DONE ||
|
||||||
(MmioRead32 ((UINTN) &UsbDebugPortRegister->ControlStatus) & USB_DEBUG_PORT_ENABLE) == 0) {
|
(MmioRead32 ((UINTN) &UsbDebugPortRegister->ControlStatus) & USB_DEBUG_PORT_ENABLE) == 0) {
|
||||||
DEBUG ((EFI_D_INFO, "UsbDbg: Reset the debug port.\n"));
|
DEBUG ((DEBUG_INFO, "UsbDbg: Reset the debug port.\n"));
|
||||||
//
|
//
|
||||||
// Reset the debug port
|
// Reset the debug port
|
||||||
//
|
//
|
||||||
@@ -1058,7 +1058,7 @@ DebugPortInitialize (
|
|||||||
|
|
||||||
Status = CalculateUsbDebugPortBar(&Handle.DebugPortOffset, &Handle.DebugPortBarNumber);
|
Status = CalculateUsbDebugPortBar(&Handle.DebugPortOffset, &Handle.DebugPortBarNumber);
|
||||||
if (RETURN_ERROR (Status)) {
|
if (RETURN_ERROR (Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "UsbDbg: the pci device pointed by PcdUsbEhciPciAddress is not EHCI host controller or does not support debug port capability!\n"));
|
DEBUG ((DEBUG_ERROR, "UsbDbg: the pci device pointed by PcdUsbEhciPciAddress is not EHCI host controller or does not support debug port capability!\n"));
|
||||||
goto Exit;
|
goto Exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1085,10 +1085,10 @@ DebugPortInitialize (
|
|||||||
Handle.Initialized = USBDBG_RESET;
|
Handle.Initialized = USBDBG_RESET;
|
||||||
|
|
||||||
if (NeedReinitializeHardware(&Handle)) {
|
if (NeedReinitializeHardware(&Handle)) {
|
||||||
DEBUG ((EFI_D_ERROR, "UsbDbg: Start EHCI debug port initialization!\n"));
|
DEBUG ((DEBUG_ERROR, "UsbDbg: Start EHCI debug port initialization!\n"));
|
||||||
Status = InitializeUsbDebugHardware (&Handle);
|
Status = InitializeUsbDebugHardware (&Handle);
|
||||||
if (RETURN_ERROR(Status)) {
|
if (RETURN_ERROR(Status)) {
|
||||||
DEBUG ((EFI_D_ERROR, "UsbDbg: Failed, please check if USB debug cable is plugged into EHCI debug port correctly!\n"));
|
DEBUG ((DEBUG_ERROR, "UsbDbg: Failed, please check if USB debug cable is plugged into EHCI debug port correctly!\n"));
|
||||||
goto Exit;
|
goto Exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1103,4 +1103,3 @@ Exit:
|
|||||||
|
|
||||||
return (DEBUG_PORT_HANDLE)(UINTN)&mDebugCommunicationLibUsbDebugPortHandle;
|
return (DEBUG_PORT_HANDLE)(UINTN)&mDebugCommunicationLibUsbDebugPortHandle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -64,7 +64,7 @@ PeCoffLoaderExtraActionCommon (
|
|||||||
ASSERT (ImageContext != NULL);
|
ASSERT (ImageContext != NULL);
|
||||||
|
|
||||||
if (ImageContext->PdbPointer != NULL) {
|
if (ImageContext->PdbPointer != NULL) {
|
||||||
DEBUG((EFI_D_ERROR, " PDB = %a\n", ImageContext->PdbPointer));
|
DEBUG((DEBUG_ERROR, " PDB = %a\n", ImageContext->PdbPointer));
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user