VirtualBox

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


Ignore:
Timestamp:
Jul 5, 2017 4:11:45 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116701
Message:

VMM/HMVMXR0: nit to r116700.

File:
1 edited

Legend:

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

    r67783 r67784  
    82308230
    82318231#ifdef VBOX_STRICT
    8232     /* Validate the error-code-valid bit for hardware exceptions. */
    8233     if (uIntType == VMX_EXIT_INTERRUPTION_INFO_TYPE_HW_XCPT)
     8232    /*
     8233     * Validate the error-code-valid bit for hardware exceptions.
     8234     * No error codes for exceptions in real-mode. See Intel spec. 20.1.4 "Interrupt and Exception Handling"
     8235     */
     8236    if (   uIntType == VMX_EXIT_INTERRUPTION_INFO_TYPE_HW_XCPT
     8237        && !CPUMIsGuestInRealModeEx(pMixedCtx))
    82348238    {
    82358239        switch (uVector)
     
    82428246            case X86_XCPT_GP:
    82438247            case X86_XCPT_AC:
    8244                 /* No error codes for exceptions in real-mode. See Intel spec. 20.1.4 "Interrupt and Exception Handling" */
    8245                 if (!CPUMIsGuestInRealModeEx(pMixedCtx))
    8246                     AssertMsg(VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID(u32IntInfo),
    8247                               ("Error-code-valid bit not set for exception that has an error code uVector=%#x\n", uVector));
     8248                AssertMsg(VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID(u32IntInfo),
     8249                          ("Error-code-valid bit not set for exception that has an error code uVector=%#x\n", uVector));
    82488250                /* fall thru */
    82498251            default:
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