VirtualBox

Changeset 108995 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Apr 16, 2025 6:35:42 AM (3 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168518
Message:

VMM: bugref:3409 Use TRPMGetTrapAll in VMX and SVM code since they already check for existing trap in the caller and doesn't expect failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/VMXAllTemplate.cpp.h

    r107113 r108995  
    44844484    bool        fIcebp;
    44854485
    4486     int rc = TRPMQueryTrapAll(pVCpu, &uVector, &enmTrpmEvent, &uErrCode, &GCPtrFaultAddress, &cbInstr, &fIcebp);
    4487     AssertRC(rc);
     4486    uVector = TRPMGetTrapAll(pVCpu, &enmTrpmEvent, &uErrCode, &GCPtrFaultAddress, &cbInstr, &fIcebp);
    44884487
    44894488    uint32_t u32IntInfo;
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