Changeset 105670 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/SourceLevelDebugPkg
- Timestamp:
- Aug 14, 2024 1:16:30 PM (6 months ago)
- svn:sync-xref-src-repo-rev:
- 164367
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 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,129194-159268 /vendor/edk2/current 103735-103757,103769-103776,129194-164365
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/SmmDebugAgentLib.c
r99404 r105670 160 160 and initialize debug port. It will get debug agent Mailbox from GUIDed HOB, 161 161 it it exists, debug agent wiil copied it into the local Mailbox in SMM space. 162 it will override IDT table entries and initialize debug port. Context will be 163 NULL. 162 it will override IDT table entries and initialize debug port. Context must 163 point to a BOOLEAN if it's not NULL, which indicates SMM Debug Agent supported 164 or not. 164 165 If InitFlag is DEBUG_AGENT_INIT_ENTER_SMI, debug agent will save Debug 165 166 Registers and get local Mailbox in SMM space. Context will be NULL. … … 206 207 if (EFI_ERROR (Status)) { 207 208 DEBUG ((DEBUG_ERROR, "DebugAgent: Cannot install configuration table for persisted vector handoff info!\n")); 209 if (Context != NULL) { 210 *(BOOLEAN *)Context = FALSE; 211 } 212 208 213 CpuDeadLoop (); 209 214 } … … 216 221 VerifyMailboxChecksum (Mailbox); 217 222 mMailboxPointer = Mailbox; 223 if (Context != NULL) { 224 *(BOOLEAN *)Context = TRUE; 225 } 226 218 227 break; 219 228 } … … 225 234 if (Mailbox != NULL) { 226 235 mMailboxPointer = Mailbox; 236 if (Context != NULL) { 237 *(BOOLEAN *)Context = TRUE; 238 } 239 227 240 break; 228 241 } … … 275 288 // 276 289 CopyMem ((VOID *)IdtDescriptor.Base, &IdtEntry, 33 * sizeof (IA32_IDT_GATE_DESCRIPTOR)); 290 291 if (Context != NULL) { 292 *(BOOLEAN *)Context = TRUE; 293 } 277 294 278 295 break;
Note:
See TracChangeset
for help on using the changeset viewer.