VirtualBox

Changeset 17546 in vbox


Ignore:
Timestamp:
Mar 9, 2009 2:29:49 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43982
Message:

VMM: Don't make host calls for Assertion or logging purposes when we're already in one, it will kind of screw things up in really weird ways. Increased the size of VMM::szRing0AssertMsg1, it was too small for some of the more elaborate assertions.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vm.h

    r15583 r17546  
    597597        struct VMM  s;
    598598#endif
    599         char        padding[1536];       /* multiple of 32 */
     599        char        padding[1600];       /* multiple of 32 */
    600600    } vmm;
    601601
  • trunk/src/VBox/VMM/VMMInternal.h

    r17284 r17546  
    283283     * Used for saving the assertion message text for the release log and guru
    284284     * meditation dump. */
    285     char                        szRing0AssertMsg1[256];
     285    char                        szRing0AssertMsg1[512];
    286286    /** Buffer for storing the custom message for a ring-0 assertion. */
    287287    char                        szRing0AssertMsg2[256];
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r17525 r17546  
    11061106     */
    11071107#ifdef RT_ARCH_X86
    1108     if (!pVM->vmm.s.CallHostR0JmpBuf.eip)
     1108    if (    !pVM->vmm.s.CallHostR0JmpBuf.eip
     1109        ||  pVM->vmm.s.CallHostR0JmpBuf.fInRing3Call)
    11091110#else
    1110     if (!pVM->vmm.s.CallHostR0JmpBuf.rip)
     1111    if (    !pVM->vmm.s.CallHostR0JmpBuf.rip
     1112        ||  pVM->vmm.s.CallHostR0JmpBuf.fInRing3Call)
    11111113#endif
    11121114    {
     
    11601162    {
    11611163#ifdef RT_ARCH_X86
    1162         if (pVM->vmm.s.CallHostR0JmpBuf.eip)
     1164        if (    pVM->vmm.s.CallHostR0JmpBuf.eip
     1165            &&  !pVM->vmm.s.CallHostR0JmpBuf.fInRing3Call)
    11631166#else
    1164         if (pVM->vmm.s.CallHostR0JmpBuf.rip)
     1167        if (    pVM->vmm.s.CallHostR0JmpBuf.rip
     1168            &&  !pVM->vmm.s.CallHostR0JmpBuf.fInRing3Call)
    11651169#endif
    11661170        {
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