VirtualBox

Changeset 97196 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Oct 18, 2022 10:42:52 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154171
Message:

VMM/DBGF: Changed the PCPUMCTXCORE arguments to PCPUMCTX for DBGFTrap01Handler and DBGFTrap03Handler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r97193 r97196  
    85568556     * handler expects. See AMD spec. 15.12.2 "#DB (Debug)".
    85578557     */
    8558     PVMCC      pVM   = pVCpu->CTX_SUFF(pVM);
     8558    PVMCC    pVM   = pVCpu->CTX_SUFF(pVM);
    85598559    PSVMVMCB pVmcb = pVCpu->hmr0.s.svm.pVmcb;
    8560     PCPUMCTX pCtx  = &pVCpu->cpum.GstCtx;
    8561     int rc = DBGFTrap01Handler(pVM, pVCpu, CPUMCTX2CORE(pCtx), pVmcb->guest.u64DR6, pVCpu->hm.s.fSingleInstruction);
     8560    int rc = DBGFTrap01Handler(pVM, pVCpu, &pVCpu->cpum.GstCtx, pVmcb->guest.u64DR6, pVCpu->hm.s.fSingleInstruction);
    85628561    if (rc == VINF_EM_RAW_GUEST_TRAP)
    85638562    {
     
    86228621    STAM_COUNTER_INC(&pVCpu->hm.s.StatExitGuestBP);
    86238622
    8624     PCPUMCTX pCtx = &pVCpu->cpum.GstCtx;
    8625     VBOXSTRICTRC rc = DBGFTrap03Handler(pVCpu->CTX_SUFF(pVM), pVCpu, CPUMCTX2CORE(pCtx));
     8623    VBOXSTRICTRC rc = DBGFTrap03Handler(pVCpu->CTX_SUFF(pVM), pVCpu, &pVCpu->cpum.GstCtx);
    86268624    if (rc == VINF_EM_RAW_GUEST_TRAP)
    86278625    {
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