VirtualBox

Ignore:
Timestamp:
Oct 18, 2022 11:09:55 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154172
Message:

VMM/PGM,IEM,EM: Changed FNPGMRZPHYSPFHANDLER, PGMTrap0eHandler and PGMR0Trap0eHandlerNPMisconfig to take PCPUMCTX instead of PCPUMCTXCORE parameters; dropped PCPUMCTXCORE parameters from IEMExecOneBypassEx, PGMInterpretInstruction and EMInterpretInstruction together with some associated cleanups.

File:
1 edited

Legend:

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

    r97193 r97197  
    200200 * @remarks The @a uUser argument is the PGMROMRANGE::GCPhys value.
    201201 */
    202 DECLCALLBACK(VBOXSTRICTRC) pgmPhysRomWritePfHandler(PVMCC pVM, PVMCPUCC pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame,
     202DECLCALLBACK(VBOXSTRICTRC) pgmPhysRomWritePfHandler(PVMCC pVM, PVMCPUCC pVCpu, RTGCUINT uErrorCode, PCPUMCTX pCtx,
    203203                                                    RTGCPTR pvFault, RTGCPHYS GCPhysFault, uint64_t uUser)
    204204
     
    234234                     * adding this kind of detection to DIS or EM. */
    235235                    case OP_MOV:
    236                         pRegFrame->rip += cbOp;
     236                        pCtx->rip += cbOp;
    237237                        STAM_COUNTER_INC(&pVCpu->pgm.s.Stats.StatRZGuestROMWriteHandled);
    238238                        return VINF_SUCCESS;
     
    435435 * @remarks The @a uUser is the MMIO2 index.
    436436 */
    437 DECLCALLBACK(VBOXSTRICTRC) pgmPhysMmio2WritePfHandler(PVMCC pVM, PVMCPUCC pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame,
     437DECLCALLBACK(VBOXSTRICTRC) pgmPhysMmio2WritePfHandler(PVMCC pVM, PVMCPUCC pVCpu, RTGCUINT uErrorCode, PCPUMCTX pCtx,
    438438                                                      RTGCPTR pvFault, RTGCPHYS GCPhysFault, uint64_t uUser)
    439439{
    440     RT_NOREF(pVCpu, uErrorCode, pRegFrame);
     440    RT_NOREF(pVCpu, uErrorCode, pCtx);
    441441    VBOXSTRICTRC rcStrict = PGM_LOCK(pVM); /* We should already have it, but just make sure we do. */
    442442    if (RT_SUCCESS(rcStrict))
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