VirtualBox

Changeset 47671 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Aug 12, 2013 11:16:55 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87874
Message:

VMM: More debugging related stuff.

Location:
trunk/include/VBox/vmm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/dbgf.h

    r46217 r47671  
    4747 * @{
    4848 */
    49 VMMRZ_INT_DECL(int) DBGFRZTrap01Handler(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, RTGCUINTREG uDr6);
     49VMMRZ_INT_DECL(int) DBGFRZTrap01Handler(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, RTGCUINTREG uDr6, bool fAltStepping);
    5050VMMRZ_INT_DECL(int) DBGFRZTrap03Handler(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame);
    5151/** @} */
     
    418418VMM_INT_DECL(RTGCUINTREG)   DBGFBpGetDR2(PVM pVM);
    419419VMM_INT_DECL(RTGCUINTREG)   DBGFBpGetDR3(PVM pVM);
     420VMM_INT_DECL(bool)          DBGFBpIsHwArmed(PVM pVM);
    420421VMM_INT_DECL(bool)          DBGFIsStepping(PVMCPU pVCpu);
    421422
  • trunk/include/VBox/vmm/em.h

    r47619 r47671  
    234234/** @} */
    235235
     236
     237/** @name EM_ONE_INS_FLAGS_XXX - flags for EMR3HmSingleInstruction (et al).
     238 * @{ */
     239/** Return when CS:RIP changes or some other important event happens.
     240 * This means running whole REP and LOOP $ sequences for instance. */
     241#define EM_ONE_INS_FLAGS_RIP_CHANGE     RT_BIT_32(0)
     242/** Mask of valid flags. */
     243#define EM_ONE_INS_FLAGS_MASK           UINT32_C(0x00000001)
     244/** @} */
     245
     246
    236247#ifdef IN_RING3
    237248/** @defgroup grp_em_r3     The EM Host Context Ring-3 API
     
    274285VMMR3_INT_DECL(int)             EMR3NotifyResume(PVM pVM);
    275286VMMR3_INT_DECL(int)             EMR3NotifySuspend(PVM pVM);
    276 VMMR3_INT_DECL(VBOXSTRICTRC)    EMR3HmSingleInstruction(PVM pVM, PVMCPU pVCpu);
     287VMMR3_INT_DECL(VBOXSTRICTRC)    EMR3HmSingleInstruction(PVM pVM, PVMCPU pVCpu, uint32_t fFlags);
    277288
    278289/** @} */
  • trunk/include/VBox/vmm/vm.h

    r47123 r47671  
    463463#define VMCPU_FF_HM_TO_R3_MASK                  (VMCPU_FF_TO_R3 | VMCPU_FF_TIMER | VMCPU_FF_PDM_CRITSECT)
    464464
     465/** High priority ring-0 VM pre HM-mode execution mask. */
     466#define VM_FF_HP_R0_PRE_HM_MASK                 (VM_FF_HM_TO_R3_MASK | VM_FF_REQUEST | VM_FF_PGM_POOL_FLUSH_PENDING | VM_FF_PDM_DMA)
     467/** High priority ring-0 VMCPU pre HM-mode execution mask. */
     468#define VMCPU_FF_HP_R0_PRE_HM_MASK              ( VMCPU_FF_HM_TO_R3_MASK | VMCPU_FF_PGM_SYNC_CR3 \
     469                                                 | VMCPU_FF_PGM_SYNC_CR3_NON_GLOBAL | VMCPU_FF_REQUEST)
     470/** High priority ring-0 VM pre HM-mode execution mask, single stepping. */
     471#define VM_FF_HP_R0_PRE_HM_STEP_MASK            (VM_FF_HP_R0_PRE_HM_MASK & ~(  VM_FF_TM_VIRTUAL_SYNC | VM_FF_PDM_QUEUES  \
     472                                                                             | VM_FF_EMT_RENDEZVOUS | VM_FF_REQUEST \
     473                                                                             | VM_FF_PDM_DMA) )
     474/** High priority ring-0 VMCPU pre HM-mode execution mask, single stepping. */
     475#define VMCPU_FF_HP_R0_PRE_HM_STEP_MASK         (VMCPU_FF_HP_R0_PRE_HM_MASK & ~(  VMCPU_FF_TO_R3 | VMCPU_FF_TIMER \
     476                                                                                | VMCPU_FF_PDM_CRITSECT | VMCPU_FF_REQUEST) )
     477
    465478/** All the forced VM flags. */
    466479#define VM_FF_ALL_MASK                          (~0U)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette