Changeset 86098 in vbox for trunk/include/VBox
- Timestamp:
- Sep 13, 2020 7:17:19 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 140330
- Location:
- trunk/include/VBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/dbg.h
r85121 r86098 682 682 DECLCALLBACKMEMBER(CPUMMODE, pfnGetCpuMode,(PDBGCCMDHLP pCmdHlp)); 683 683 684 /** 685 * Prints the register set of the given CPU. 686 * 687 * @returns VBox status code. 688 * @param pCmdHlp Pointer to the command callback structure. 689 * @param idCpu The CPU ID to print the register set of. 690 * @param f64BitMode True to dump 64-bit state, false to dump 32-bit state, 691 * -1 to use the current CPU mode. 692 * @param fTerse Flag to indicate whether to dump the complete register set. 693 */ 694 DECLCALLBACKMEMBER(int, pfnRegPrintf, (PDBGCCMDHLP pCmdHlp, VMCPUID idCpu, int f64BitMode, bool fTerse)); 695 684 696 /** End marker (DBGCCMDHLP_MAGIC). */ 685 697 uint32_t u32EndMarker; … … 982 994 { 983 995 return pCmdHlp->pfnGetCpuMode(pCmdHlp); 996 } 997 998 /** 999 * @copydoc DBGCCMDHLP::pfnRegPrintf 1000 */ 1001 DECLINLINE(int) DBGCCmdHlpRegPrintf(PDBGCCMDHLP pCmdHlp, VMCPUID idCpu, int f64BitMode, bool fTerse) 1002 { 1003 return pCmdHlp->pfnRegPrintf(pCmdHlp, idCpu, f64BitMode, fTerse); 984 1004 } 985 1005 -
trunk/include/VBox/err.h
r84858 r86098 276 276 * debugger to the VM. */ 277 277 #define VERR_DBGF_ALREADY_ATTACHED (-1201) 278 /** Tried to halt a debugger which was already halted. 279 * (This is a warning and not an error.) */ 278 /** Tried to halt a VM or CPU that was already halted. */ 280 279 #define VWRN_DBGF_ALREADY_HALTED 1202 281 280 /** The DBGF has no more free breakpoint slots. */ … … 323 322 /** Internal processing error \#1 in the DBGF event tracing code. */ 324 323 #define VERR_DBGF_TRACER_IPE_1 (-1221) 324 /** Tried to resume a VM or CPU that is already fully running. */ 325 #define VWRN_DBGF_ALREADY_RUNNING (-1222) 325 326 /** @} */ 326 327 -
trunk/include/VBox/vmm/dbgf.h
r85121 r86098 490 490 /** Context */ 491 491 DBGFEVENTCTX enmCtx; 492 /** The vCPU/EMT which generated the event. */ 493 VMCPUID idCpu; 494 /** Reserved. */ 495 uint32_t uReserved; 492 496 /** Type specific data. */ 493 497 union … … 534 538 /** Number of arguments. */ 535 539 uint8_t cArgs; 536 /** Alignm net padding. */540 /** Alignment padding. */ 537 541 uint8_t uPadding[7]; 538 542 /** Arguments. */ 539 uint64_t auArgs[ 6];543 uint64_t auArgs[5]; 540 544 } Generic; 541 545 542 546 /** Padding for ensuring that the structure is 8 byte aligned. */ 543 uint64_t au64Padding[ 7];547 uint64_t au64Padding[6]; 544 548 } u; 545 549 } DBGFEVENT; 546 550 AssertCompileSizeAlignment(DBGFEVENT, 8); 551 AssertCompileSize(DBGFEVENT, 64); 547 552 /** Pointer to VMM Debug Event. */ 548 553 typedef DBGFEVENT *PDBGFEVENT; … … 583 588 VMMR3DECL(int) DBGFR3Attach(PUVM pUVM); 584 589 VMMR3DECL(int) DBGFR3Detach(PUVM pUVM); 585 VMMR3DECL(int) DBGFR3EventWait(PUVM pUVM, RTMSINTERVAL cMillies, P CDBGFEVENT *ppEvent);586 VMMR3DECL(int) DBGFR3Halt(PUVM pUVM );587 VMMR3DECL(bool) DBGFR3IsHalted(PUVM pUVM );590 VMMR3DECL(int) DBGFR3EventWait(PUVM pUVM, RTMSINTERVAL cMillies, PDBGFEVENT pEvent); 591 VMMR3DECL(int) DBGFR3Halt(PUVM pUVM, VMCPUID idCpu); 592 VMMR3DECL(bool) DBGFR3IsHalted(PUVM pUVM, VMCPUID idCpu); 588 593 VMMR3DECL(int) DBGFR3QueryWaitable(PUVM pUVM); 589 VMMR3DECL(int) DBGFR3Resume(PUVM pUVM );594 VMMR3DECL(int) DBGFR3Resume(PUVM pUVM, VMCPUID idCpu); 590 595 VMMR3DECL(int) DBGFR3InjectNMI(PUVM pUVM, VMCPUID idCpu); 591 596 VMMR3DECL(int) DBGFR3Step(PUVM pUVM, VMCPUID idCpu); -
trunk/include/VBox/vmm/vm.h
r85965 r86098 251 251 struct DBGFCPU s; 252 252 #endif 253 uint8_t padding[ 256]; /* multiple of 64 */253 uint8_t padding[512]; /* multiple of 64 */ 254 254 } dbgf; 255 255 … … 285 285 286 286 /** Align the following members on page boundary. */ 287 uint8_t abAlignment2[3 448];287 uint8_t abAlignment2[3192]; 288 288 289 289 /** PGM part. */ -
trunk/include/VBox/vmm/vm.mac
r85965 r86098 69 69 .pdm resb 256 70 70 .iom resb 512 71 .dbgf resb 25671 .dbgf resb 512 72 72 .gim resb 512 73 73 .apic resb 3840
Note:
See TracChangeset
for help on using the changeset viewer.