VirtualBox

Changeset 91952 in vbox for trunk/src


Ignore:
Timestamp:
Oct 21, 2021 1:57:32 PM (3 years ago)
Author:
vboxsync
Message:

VMM/PGM,VMMDev: Removed PGMR3MappingsSize, PGMR3MappingsFix & PGMR3MappingsUnfix. bugref:9517

Location:
trunk/src/VBox
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r91944 r91952  
    12231223    AssertMsgReturn(pReq->header.size == sizeof(*pReq), ("%u\n", pReq->header.size), VERR_INVALID_PARAMETER);
    12241224
     1225#if 1 /* Obsolete for now, only used for raw-mode. */
     1226    RT_NOREF(pDevIns);
     1227    pReq->hypervisorSize = 0;
     1228    return VINF_SUCCESS;
     1229#else
    12251230    return PGMR3MappingsSize(PDMDevHlpGetVM(pDevIns), &pReq->hypervisorSize);
     1231#endif
    12261232}
    12271233
     
    12401246
    12411247    int rc;
     1248#if 1 /* Obsolete for now, only used for raw-mode. */
     1249    RT_NOREF(pDevIns);
     1250    if (pReq->hypervisorStart == 0 || pReq->hypervisorSize == 0)
     1251        rc = VINF_SUCCESS;
     1252    else
     1253        rc = VERR_TRY_AGAIN;
     1254#else
    12421255    PVM pVM = PDMDevHlpGetVM(pDevIns);
    12431256    if (pReq->hypervisorStart == 0)
     
    12551268                    pReq->hypervisorStart, pReq->hypervisorSize, rc));
    12561269        }
    1257         else if (RT_FAILURE(rc))
     1270        else if (RT_FAILURE(rc)) /** @todo r=bird: This should've been RT_SUCCESS(rc)) */
    12581271            rc = VERR_TRY_AGAIN;
    12591272    }
     1273#endif
    12601274    return rc;
    12611275}
  • trunk/src/VBox/VMM/Makefile.kmk

    r91854 r91952  
    155155        VMMR3/PGMR3DbgA.asm \
    156156        VMMR3/PGMHandler.cpp \
    157         VMMR3/PGMMap.cpp \
    158157        VMMR3/PGMPhys.cpp \
    159158        VMMR3/PGMPool.cpp \
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