VirtualBox

Changeset 106889 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Nov 8, 2024 2:22:45 PM (3 months ago)
Author:
vboxsync
Message:

Additions/VBoxGuest-win: Fixed running on x86 guests (regression from r165280). bugref:10734

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp

    r106888 r106889  
    781781                             pPartialData->u.Memory.Start.QuadPart, pPartialData->u.Memory.Length));
    782782                }
    783                 else if ((pPartialData->Flags & CM_RESOURCE_MEMORY_WRITEABILITY_MASK) == CM_RESOURCE_MEMORY_READ_WRITE)
     783                else if (   (pPartialData->Flags & CM_RESOURCE_MEMORY_WRITEABILITY_MASK) == CM_RESOURCE_MEMORY_READ_WRITE
     784                         /* Make sure that we only treat this as MMIO interface if we have the exact MMIO size.
     785                          * We have a different (bigger) memory area (for VMM) which we don't want to be
     786                          * detected as MMIO region. This otherwise will break running on x86 guests. */
     787                         && (VMMDEV_MMIO_SIZE == pPartialData->u.Memory.Length))
    784788                {
    785789                    /* Treat as MMIO request interface. */
Note: See TracChangeset for help on using the changeset viewer.

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