VirtualBox

Changeset 65134 in vbox for trunk/src


Ignore:
Timestamp:
Jan 5, 2017 5:46:09 AM (8 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Comment nits.

File:
1 edited

Legend:

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

    r65106 r65134  
    65386538    /*
    65396539     * If VT-x marks the segment as unusable, most other bits remain undefined:
    6540      *    - For CS the L, D and G bits have meaning.
    6541      *    - For SS the DPL has meaning (it -is- the CPL for Intel and VBox).
    6542      *    - For the remaining data segments no bits are defined.
     6540     *   - For CS the L, D and G bits have meaning.
     6541     *   - For SS the DPL has meaning (it -is- the CPL for Intel and VBox).
     6542     *   - For the remaining data segments no bits are defined.
    65436543     *
    65446544     * The present bit and the unusable bit has been observed to be set at the
     
    68306830     * We assume all general purpose registers other than RSP are available.
    68316831     *
    6832      * RIP is a must, as it will be incremented or otherwise changed.
    6833      *
    6834      * RFLAGS are always required to figure the CPL.
    6835      *
    6836      * RSP isn't always required, however it's a GPR, so frequently required.
    6837      *
    6838      * SS and CS are the only segment register needed if IEM doesn't do memory
    6839      * access (CPL + 16/32/64-bit mode), but we can only get all segment registers.
    6840      *
    6841      * CR0 is always required by IEM for the CPL, while CR3 and CR4 will only
    6842      * be required for memory accesses.
     6832     *   - RIP is a must, as it will be incremented or otherwise changed.
     6833     *   - RFLAGS are always required to figure the CPL.
     6834     *   - RSP isn't always required, however it's a GPR, so frequently required.
     6835     *   - SS and CS are the only segment register needed if IEM doesn't do memory
     6836     *     access (CPL + 16/32/64-bit mode), but we can only get all segment registers.
     6837     *   - CR0 is always required by IEM for the CPL, while CR3 and CR4 will only
     6838     *     be required for memory accesses.
    68436839     *
    68446840     * Note! Before IEM dispatches an exception, it will call us to sync in everything.
     
    89548950    /*
    89558951     * Update the VM-exit history array here even if the VM-entry failed due to:
    8956      *  - Invalid guest state.
    8957      *  - MSR loading.
    8958      *  - Machine-check event.
     8952     *   - Invalid guest state.
     8953     *   - MSR loading.
     8954     *   - Machine-check event.
    89598955     *
    89608956     * In any of the above cases we will still have a "valid" VM-exit reason
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