- Timestamp:
- Oct 21, 2021 1:57:32 PM (3 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp
r91944 r91952 1223 1223 AssertMsgReturn(pReq->header.size == sizeof(*pReq), ("%u\n", pReq->header.size), VERR_INVALID_PARAMETER); 1224 1224 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 1225 1230 return PGMR3MappingsSize(PDMDevHlpGetVM(pDevIns), &pReq->hypervisorSize); 1231 #endif 1226 1232 } 1227 1233 … … 1240 1246 1241 1247 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 1242 1255 PVM pVM = PDMDevHlpGetVM(pDevIns); 1243 1256 if (pReq->hypervisorStart == 0) … … 1255 1268 pReq->hypervisorStart, pReq->hypervisorSize, rc)); 1256 1269 } 1257 else if (RT_FAILURE(rc)) 1270 else if (RT_FAILURE(rc)) /** @todo r=bird: This should've been RT_SUCCESS(rc)) */ 1258 1271 rc = VERR_TRY_AGAIN; 1259 1272 } 1273 #endif 1260 1274 return rc; 1261 1275 } -
trunk/src/VBox/VMM/Makefile.kmk
r91854 r91952 155 155 VMMR3/PGMR3DbgA.asm \ 156 156 VMMR3/PGMHandler.cpp \ 157 VMMR3/PGMMap.cpp \158 157 VMMR3/PGMPhys.cpp \ 159 158 VMMR3/PGMPool.cpp \
Note:
See TracChangeset
for help on using the changeset viewer.