]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c
SourceLevelDebugPkg/DebugAgentDxe: Move help info from DxeDebugAgent
[mirror_edk2.git] / SourceLevelDebugPkg / Library / DebugAgent / DxeDebugAgent / DxeDebugAgentLib.c
index f1cb7d5601b2e74f74cf4e6f14092c7dd0c8d188..8fa0f5c545b8136837a9012bc294ce3862aaec07 100644 (file)
@@ -437,39 +437,11 @@ InitializeDebugAgent (
 \r
     *(EFI_STATUS *)Context = EFI_SUCCESS;\r
 \r
-    if (gST->ConOut != NULL) {\r
-      Print (L"Debug Agent: Initialized successfully!\r\n");\r
-      Print (L"If the Debug Port is serial port, please make sure this serial port isn't connected by ISA Serial driver\r\n");\r
-      Print (L"You could do the following steps to disconnect the serial port:\r\n");\r
-      Print (L"1: Shell> drivers\r\n");\r
-      Print (L"   ...\r\n");\r
-      Print (L"   V  VERSION  E G G #D #C DRIVER NAME                         IMAGE NAME\r\n");\r
-      Print (L"   == ======== = = = == == =================================== ===================\r\n");\r
-      Print (L"   8F 0000000A B - -  1 14 PCI Bus Driver                      PciBusDxe\r\n");\r
-      Print (L"   91 00000010 ? - -  -  - ATA Bus Driver                      AtaBusDxe\r\n");\r
-      Print (L"   ...\r\n");\r
-      Print (L"   A7 0000000A B - -  1  1 ISA Serial Driver                   IsaSerialDxe\r\n");\r
-      Print (L"   ...\r\n");\r
-      Print (L"2: Shell> dh -d A7\r\n");\r
-      Print (L"   A7: Image(IsaSerialDxe) ImageDevPath (..9FB3-11D4-9A3A-0090273FC14D))DriverBinding ComponentName ComponentName2\r\n");\r
-      Print (L"        Driver Name    : ISA Serial Driver\r\n");\r
-      Print (L"        Image Name     : FvFile(93B80003-9FB3-11D4-9A3A-0090273FC14D)\r\n");\r
-      Print (L"        Driver Version : 0000000A\r\n");\r
-      Print (L"        Driver Type    : BUS\r\n");\r
-      Print (L"        Configuration  : NO\r\n");\r
-      Print (L"        Diagnostics    : NO\r\n");\r
-      Print (L"        Managing       :\r\n");\r
-      Print (L"          Ctrl[EA] : PciRoot(0x0)/Pci(0x1F,0x0)/Serial(0x0)\r\n");\r
-      Print (L"            Child[EB] : PciRoot(0x0)/Pci(0x1F,0x0)/Serial(0x0)/Uart(115200,8,N,1)\r\n");\r
-      Print (L"3: Shell> disconnect EA\r\n");\r
-      Print (L"4: Shell> load -nc DebugAgentDxe.efi\r\n\r\n");\r
-    }\r
     break;\r
 \r
   case DEBUG_AGENT_INIT_DXE_UNLOAD:\r
     if (mDebugAgentInitialized) {\r
       if (IsHostAttached ()) {\r
-        Print (L"Debug Agent: Host is still connected, please de-attach TARGET firstly!\r\n");\r
         *(EFI_STATUS *)Context = EFI_ACCESS_DENIED;\r
         //\r
         // Enable Debug Timer interrupt again\r
@@ -488,7 +460,6 @@ InitializeDebugAgent (
         *(EFI_STATUS *)Context = EFI_SUCCESS;\r
       }\r
     } else {\r
-      Print (L"Debug Agent: It hasn't been initialized, cannot unload it!\r\n");\r
       *(EFI_STATUS *)Context = EFI_NOT_STARTED;\r
     }\r
 \r