VirtualBox

Changeset 104839 in vbox


Ignore:
Timestamp:
Jun 5, 2024 12:40:56 AM (8 months ago)
Author:
vboxsync
Message:

DevPCNet: Fixed incorrect call to PDMDevHlpMmio2Create made when loading really old states (pre VBox v4.3.6). bugref:10687

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r104280 r104839  
    43944394        /* older saved states contain the shared memory region which was never used for ages. */
    43954395        void *pvSharedMMIOR3;
    4396         rc = PDMDevHlpMmio2Create(pDevIns, pDevIns->apPciDevs[0], 2, _512K, 0, "PCnetSh", &pvSharedMMIOR3, &pThis->hMmio2Shared);
     4396        rc = PDMDevHlpMmio2Create(pDevIns, pDevIns->apPciDevs[0], 2 << 16, _512K, 0, "PCnetSh",
     4397                                  &pvSharedMMIOR3, &pThis->hMmio2Shared);
    43974398        if (RT_FAILURE(rc))
    43984399            rc = PDMDevHlpVMSetError(pDevIns, rc, RT_SRC_POS,
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