VirtualBox

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


Ignore:
Timestamp:
Sep 6, 2013 2:40:11 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88791
Message:

VMM/HMVMXR0: Clarify that it's guest-CPU context CR0 and not VMCS CR0.

File:
1 edited

Legend:

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

    r48361 r48362  
    37043704 *                      before using them.
    37053705 *
    3706  * @remarks ASSUMES CR0 is up to date (strict builds validation).
     3706 * @remarks ASSUMES pMixedCtx->cr0 is up to date (strict builds validation).
    37073707 * @remarks No-long-jump zone!!!
    37083708 */
     
    71877187    AssertLogRelMsgRCReturn(rc, ("hmR0VmxLoadGuestCR3AndCR4: rc=%Rrc (pVM=%p pVCpu=%p)\n", rc, pVM, pVCpu), rc);
    71887188
    7189     /* Assumes CR0 is up-to-date (strict builds require CR0 for segment register validation checks). */
     7189    /* Assumes pMixedCtx->cr0 is up-to-date (strict builds require CR0 for segment register validation checks). */
    71907190    rc = hmR0VmxLoadGuestSegmentRegs(pVCpu, pMixedCtx);
    71917191    AssertLogRelMsgRCReturn(rc, ("hmR0VmxLoadGuestSegmentRegs: rc=%Rrc (pVM=%p pVCpu=%p)\n", rc, pVM, pVCpu), rc);
Note: See TracChangeset for help on using the changeset viewer.

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