Changeset 54102 in vbox
- Timestamp:
- Feb 6, 2015 6:04:25 PM (10 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
-
HMSVMR0.cpp (modified) (2 diffs)
-
HMVMXR0.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r54065 r54102 1778 1778 1779 1779 /** 1780 * Loads the guest state into the VMCB. The CPU state will be loaded from these1781 * fields on every successful VM-entry.1782 * 1780 * Loads the guest state into the VMCB. 1781 * 1782 * The CPU state will be loaded from these fields on every successful VM-entry. 1783 1783 * Also sets up the appropriate VMRUN function to execute guest code based on 1784 1784 * the guest CPU mode. … … 3971 3971 3972 3972 /** 3973 * Determines if an exception is a contributory exception. Contributory 3974 * exceptions are ones which can cause double-faults. Page-fault is 3975 * intentionally not included here as it's a conditional contributory exception. 3973 * Determines if an exception is a contributory exception. 3974 * 3975 * Contributory exceptions are ones which can cause double-faults unless the 3976 * original exception was a benign exception. Page-fault is intentionally not 3977 * included here as it's a conditional contributory exception. 3976 3978 * 3977 3979 * @returns true if the exception is contributory, false otherwise. -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r54098 r54102 4689 4689 /** 4690 4690 * Loads certain guest MSRs into the VM-entry MSR-load and VM-exit MSR-store 4691 * areas. These MSRs will automatically be loaded to the host CPU on every4692 * successful VM-entry and stored from the host CPU on every successful VM-exit.4693 * 4694 * This also creates/updates MSR slots for the host MSRs. The actual host4695 * MSR values are -not- updated here for performance reasons. See4696 * hmR0VmxSaveHostMsrs().4691 * areas. 4692 * 4693 * These MSRs will automatically be loaded to the host CPU on every successful 4694 * VM-entry and stored from the host CPU on every successful VM-exit. This also 4695 * creates/updates MSR slots for the host MSRs. The actual host MSR values are 4696 * -not- updated here for performance reasons. See hmR0VmxSaveHostMsrs(). 4697 4697 * 4698 4698 * Also loads the sysenter MSRs into the guest-state area in the VMCS. … … 5323 5323 5324 5324 /** 5325 * Initialize the VMCS-Read cache. The VMCS cache is used for 32-bit hosts 5326 * running 64-bit guests (except 32-bit Darwin which runs with 64-bit paging in 5327 * 32-bit mode) for 64-bit fields that cannot be accessed in 32-bit mode. Some 5328 * 64-bit fields -can- be accessed (those that have a 32-bit FULL & HIGH part). 5325 * Initialize the VMCS-Read cache. 5326 * 5327 * The VMCS cache is used for 32-bit hosts running 64-bit guests (except 32-bit 5328 * Darwin which runs with 64-bit paging in 32-bit mode) for 64-bit fields that 5329 * cannot be accessed in 32-bit mode. Some 64-bit fields -can- be accessed 5330 * (those that have a 32-bit FULL & HIGH part). 5329 5331 * 5330 5332 * @returns VBox status code. … … 5516 5518 5517 5519 /** 5518 * Queue up a VMWRITE by using the VMCS write cache. This is only used on 32-bit5519 * hosts (except darwin) for 64-bit guests.5520 * Queue up a VMWRITE by using the VMCS write cache. 5521 * This is only used on 32-bit hosts (except darwin) for 64-bit guests. 5520 5522 * 5521 5523 * @param pVCpu Pointer to the VMCPU. … … 5591 5593 5592 5594 /** 5593 * Sets up the usage of TSC-offsetting and updates the VMCS. If offsetting is 5594 * not possible, cause VM-exits on RDTSC(P)s. Also sets up the VMX preemption 5595 * timer. 5595 * Sets up the usage of TSC-offsetting and updates the VMCS. 5596 * 5597 * If offsetting is not possible, cause VM-exits on RDTSC(P)s. Also sets up the 5598 * VMX preemption timer. 5596 5599 * 5597 5600 * @returns VBox status code.
Note:
See TracChangeset
for help on using the changeset viewer.

