VirtualBox

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


Ignore:
Timestamp:
Aug 5, 2014 2:08:02 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95385
Message:

VMM/HMSVMR0: nits.

File:
1 edited

Legend:

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

    r52125 r52278  
    14231423     * Anyone single stepping on the host side? If so, we'll have to use the
    14241424     * trap flag in the guest EFLAGS since AMD-V doesn't have a trap flag on
    1425      * the VMM level like VT-x implementations does.
     1425     * the VMM level like the VT-x implementations does.
    14261426     */
    14271427    bool const fStepping = pVCpu->hm.s.fSingleInstruction || DBGFIsStepping(pVCpu);
     
    18131813    /* Clear any unused and reserved bits. */
    18141814    HMCPU_CF_CLEAR(pVCpu,   HM_CHANGED_GUEST_RIP                  /* Unused (loaded unconditionally). */
    1815                             | HM_CHANGED_GUEST_RSP
    1816                             | HM_CHANGED_GUEST_RFLAGS
    1817                             | HM_CHANGED_GUEST_SYSENTER_CS_MSR
    1818                             | HM_CHANGED_GUEST_SYSENTER_EIP_MSR
    1819                             | HM_CHANGED_GUEST_SYSENTER_ESP_MSR
    1820                             | HM_CHANGED_GUEST_LAZY_MSRS          /* Unused. */
    1821                             | HM_CHANGED_SVM_RESERVED1            /* Reserved. */
    1822                             | HM_CHANGED_SVM_RESERVED2
    1823                             | HM_CHANGED_SVM_RESERVED3
    1824                             | HM_CHANGED_SVM_RESERVED4);
     1815                          | HM_CHANGED_GUEST_RSP
     1816                          | HM_CHANGED_GUEST_RFLAGS
     1817                          | HM_CHANGED_GUEST_SYSENTER_CS_MSR
     1818                          | HM_CHANGED_GUEST_SYSENTER_EIP_MSR
     1819                          | HM_CHANGED_GUEST_SYSENTER_ESP_MSR
     1820                          | HM_CHANGED_GUEST_LAZY_MSRS            /* Unused. */
     1821                          | HM_CHANGED_SVM_RESERVED1              /* Reserved. */
     1822                          | HM_CHANGED_SVM_RESERVED2
     1823                          | HM_CHANGED_SVM_RESERVED3
     1824                          | HM_CHANGED_SVM_RESERVED4);
    18251825
    18261826    /* All the guest state bits should be loaded except maybe the host context and/or shared host/guest bits. */
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