- Timestamp:
- Jan 5, 2017 5:46:09 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r65106 r65134 6538 6538 /* 6539 6539 * If VT-x marks the segment as unusable, most other bits remain undefined: 6540 * 6541 * 6542 * 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. 6543 6543 * 6544 6544 * The present bit and the unusable bit has been observed to be set at the … … 6830 6830 * We assume all general purpose registers other than RSP are available. 6831 6831 * 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. 6843 6839 * 6844 6840 * Note! Before IEM dispatches an exception, it will call us to sync in everything. … … 8954 8950 /* 8955 8951 * 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. 8959 8955 * 8960 8956 * 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.