Changeset 97883 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Dec 28, 2022 1:27:35 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/os2/SUPDrv-os2.cpp
r95087 r97883 300 300 * Verify the category and dispatch the IOCtl. 301 301 */ 302 int rc; 302 303 if (RT_LIKELY(iCat == SUP_CTL_CATEGORY)) 303 304 { … … 312 313 AssertReturn(*pcbParm == sizeof(*pHdr), VERR_INVALID_PARAMETER); 313 314 KernVMLock_t Lock; 314 intrc = KernVMLock(VMDHL_WRITE, pHdr, *pcbParm, &Lock, (KernPageList_t *)-1, NULL);315 rc = KernVMLock(VMDHL_WRITE, pHdr, *pcbParm, &Lock, (KernPageList_t *)-1, NULL); 315 316 AssertMsgReturn(!rc, ("KernVMLock(VMDHL_WRITE, %p, %#x, &p, NULL, NULL) -> %d\n", pHdr, *pcbParm, &Lock, rc), VERR_LOCK_FAILED); 316 317 … … 358 359 */ 359 360 int rc2 = KernVMUnlock(&Lock); 360 AssertMsg(!rc2, ("rc2=%d\n", rc2)); NOREF(rc2); s361 AssertMsg(!rc2, ("rc2=%d\n", rc2)); NOREF(rc2); 361 362 } 362 363 else … … 420 421 bool VBOXCALL supdrvOSAreTscDeltasInSync(void) 421 422 { 422 NOREF(pDevExt);423 423 return false; 424 424 }
Note:
See TracChangeset
for help on using the changeset viewer.