VirtualBox

Ignore:
Timestamp:
May 5, 2016 3:24:46 PM (9 years ago)
Author:
vboxsync
Message:

IOM: New way of defer RC+R0 I/O port writes, prepping for MMIO writes.

File:
1 edited

Legend:

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

    r60812 r60847  
    49864986                hmR0SvmSetPendingXcptDB(pVCpu);
    49874987            }
    4988             /* rcStrict is VINF_SUCCESS or in [VINF_EM_FIRST..VINF_EM_LAST]. */
     4988            /* rcStrict is VINF_SUCCESS, VINF_IOM_R3_IOPORT_COMMIT_WRITE, or in [VINF_EM_FIRST..VINF_EM_LAST],
     4989               however we can ditch VINF_IOM_R3_IOPORT_COMMIT_WRITE as it has VMCPU_FF_IOM as backup. */
    49894990            else if (   rcStrict2 != VINF_SUCCESS
    49904991                     && (rcStrict == VINF_SUCCESS || rcStrict2 < rcStrict))
    49914992                rcStrict = rcStrict2;
     4993            AssertCompile(VINF_EM_LAST < VINF_IOM_R3_IOPORT_COMMIT_WRITE);
    49924994
    49934995            HM_RESTORE_PREEMPT();
     
    50015003    if (rcStrict == VINF_IOM_R3_IOPORT_READ)
    50025004        Assert(IoExitInfo.n.u1Type == SVM_IOIO_READ);
    5003     else if (rcStrict == VINF_IOM_R3_IOPORT_WRITE)
     5005    else if (rcStrict == VINF_IOM_R3_IOPORT_WRITE || rcStrict == VINF_IOM_R3_IOPORT_COMMIT_WRITE)
    50045006        Assert(IoExitInfo.n.u1Type == SVM_IOIO_WRITE);
    50055007    else
Note: See TracChangeset for help on using the changeset viewer.

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