Changeset 77662 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/SourceLevelDebugPkg/DebugAgentDxe
- Timestamp:
- Mar 12, 2019 12:40:12 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 129295
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776 /vendor/edk2/current 103735-103757,103769-103776,129194-129237
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.c
r58466 r77662 2 2 Initialize Debug Agent in DXE by invoking Debug Agent Library. 3 3 4 Copyright (c) 2013 - 201 4, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR> 5 5 This program and the accompanying materials 6 6 are licensed and made available under the terms and conditions of the BSD License … … 17 17 #include <Library/UefiBootServicesTableLib.h> 18 18 #include <Library/DebugAgentLib.h> 19 #include <Library/UefiLib.h> 19 20 20 21 EFI_EVENT mExitBootServiceEvent; … … 59 60 EFI_STATUS Status; 60 61 62 if (gST->ConOut != NULL) { 63 Print (L"If the Debug Port is serial port, please make sure this serial port isn't connected by"); 64 Print (L" ISA Serial driver\r\n"); 65 Print (L"You could do the following steps to disconnect the serial port:\r\n"); 66 Print (L"1: Shell> drivers\r\n"); 67 Print (L" ...\r\n"); 68 Print (L" V VERSION E G G #D #C DRIVER NAME IMAGE NAME\r\n"); 69 Print (L" == ======== = = = == == =================================== ===================\r\n"); 70 Print (L" 8F 0000000A B - - 1 14 PCI Bus Driver PciBusDxe\r\n"); 71 Print (L" 91 00000010 ? - - - - ATA Bus Driver AtaBusDxe\r\n"); 72 Print (L" ...\r\n"); 73 Print (L" A7 0000000A B - - 1 1 ISA Serial Driver IsaSerialDxe\r\n"); 74 Print (L" ...\r\n"); 75 Print (L"2: Shell> dh -d A7\r\n"); 76 Print (L" A7: Image(IsaSerialDxe) ImageDevPath (..9FB3-11D4-9A3A-0090273FC14D))DriverBinding"); 77 Print (L" ComponentName ComponentName2\r\n"); 78 Print (L" Driver Name : ISA Serial Driver\r\n"); 79 Print (L" Image Name : FvFile(93B80003-9FB3-11D4-9A3A-0090273FC14D)\r\n"); 80 Print (L" Driver Version : 0000000A\r\n"); 81 Print (L" Driver Type : BUS\r\n"); 82 Print (L" Configuration : NO\r\n"); 83 Print (L" Diagnostics : NO\r\n"); 84 Print (L" Managing :\r\n"); 85 Print (L" Ctrl[EA] : PciRoot(0x0)/Pci(0x1F,0x0)/Serial(0x0)\r\n"); 86 Print (L" Child[EB] : PciRoot(0x0)/Pci(0x1F,0x0)/Serial(0x0)/Uart(115200,8,N,1)\r\n"); 87 Print (L"3: Shell> disconnect EA\r\n"); 88 Print (L"4: Shell> load -nc DebugAgentDxe.efi\r\n\r\n"); 89 } 61 90 Status = EFI_UNSUPPORTED; 62 91 InitializeDebugAgent (DEBUG_AGENT_INIT_DXE_LOAD, &Status, NULL); 63 92 if (EFI_ERROR (Status)) { 64 93 return Status; 94 } 95 if (gST->ConOut != NULL) { 96 Print (L"Debug Agent: Initialized successfully!\r\n\r\n"); 65 97 } 66 98 // … … 99 131 Status = EFI_UNSUPPORTED; 100 132 InitializeDebugAgent (DEBUG_AGENT_INIT_DXE_UNLOAD, &Status, NULL); 133 switch (Status) { 134 case EFI_ACCESS_DENIED: 135 Print (L"Debug Agent: Host is still connected, please de-attach TARGET firstly!\r\n"); 136 break; 137 case EFI_NOT_STARTED: 138 Print (L"Debug Agent: It hasn't been initialized, cannot unload it!\r\n"); 139 break; 140 } 101 141 102 142 return Status; -
trunk/src/VBox/Devices/EFI/FirmwareNew/SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.uni
r58464 r77662 1 // /** @file1 // /** @file 2 2 // Initialized Debug Agent in one separated DXE driver. 3 3 // -
trunk/src/VBox/Devices/EFI/FirmwareNew/SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxeExtra.uni
r58464 r77662 1 // /** @file1 // /** @file 2 2 // DebugAgentDxe Localized Strings and Content 3 3 //
Note:
See TracChangeset
for help on using the changeset viewer.