Changeset 56048 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- May 23, 2015 8:28:52 PM (10 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r55899 r56048 12064 12064 Assert(sizeof(Eflags.u32) >= cbParm); 12065 12065 Eflags.u32 = 0; 12066 rc = PGMPhysRead(pVM, (RTGCPHYS)GCPtrStack, &Eflags.u32, cbParm, PGMACCESSORIGIN_HM); 12066 rc = VBOXSTRICTRC_TODO(PGMPhysRead(pVM, (RTGCPHYS)GCPtrStack, &Eflags.u32, cbParm, PGMACCESSORIGIN_HM)); 12067 AssertMsg(rc == VINF_SUCCESS, ("%Rrc\n", rc)); /** @todo allow strict return codes here */ 12067 12068 } 12068 12069 if (RT_FAILURE(rc)) … … 12117 12118 Eflags.Bits.u1VM = 0; 12118 12119 12119 rc = PGMPhysWrite(pVM, (RTGCPHYS)GCPtrStack, &Eflags.u, cbParm, PGMACCESSORIGIN_HM);12120 if (RT_ FAILURE(rc))12120 rc = VBOXSTRICTRC_TODO(PGMPhysWrite(pVM, (RTGCPHYS)GCPtrStack, &Eflags.u, cbParm, PGMACCESSORIGIN_HM)); 12121 if (RT_UNLIKELY(rc != VINF_SUCCESS)) 12121 12122 { 12123 AssertMsgFailed(("%Rrc\n", rc)); /** @todo allow strict return codes here */ 12122 12124 rc = VERR_EM_INTERPRETER; 12123 12125 break; … … 12152 12154 &GCPtrStack); 12153 12155 if (RT_SUCCESS(rc)) 12154 rc = PGMPhysRead(pVM, (RTGCPHYS)GCPtrStack, &aIretFrame[0], sizeof(aIretFrame), PGMACCESSORIGIN_HM); 12156 { 12157 rc = VBOXSTRICTRC_TODO(PGMPhysRead(pVM, (RTGCPHYS)GCPtrStack, &aIretFrame[0], sizeof(aIretFrame), 12158 PGMACCESSORIGIN_HM)); 12159 AssertMsg(rc == VINF_SUCCESS, ("%Rrc\n", rc)); /** @todo allow strict return codes here */ 12160 } 12155 12161 if (RT_FAILURE(rc)) 12156 12162 { -
trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp
r55899 r56048 205 205 pDevIns, pDevIns->iInstance, GCPhys, pvBuf, cbRead)); 206 206 207 int rc= PGMPhysRead(pDevIns->Internal.s.pVMR0, GCPhys, pvBuf, cbRead, PGMACCESSORIGIN_DEVICE);208 Assert RC(rc); /** @todo track down the users for this bugger. */209 210 Log(("pdmR0DevHlp_PhysRead: caller=%p/%d: returns %Rrc\n", pDevIns, pDevIns->iInstance, rc));211 return rc;207 VBOXSTRICTRC rcStrict = PGMPhysRead(pDevIns->Internal.s.pVMR0, GCPhys, pvBuf, cbRead, PGMACCESSORIGIN_DEVICE); 208 AssertMsg(rcStrict == VINF_SUCCESS, ("%Rrc\n", VBOXSTRICTRC_VAL(rcStrict))); /** @todo track down the users for this bugger. */ 209 210 Log(("pdmR0DevHlp_PhysRead: caller=%p/%d: returns %Rrc\n", pDevIns, pDevIns->iInstance, VBOXSTRICTRC_VAL(rcStrict) )); 211 return VBOXSTRICTRC_VAL(rcStrict); 212 212 } 213 213 … … 220 220 pDevIns, pDevIns->iInstance, GCPhys, pvBuf, cbWrite)); 221 221 222 int rc= PGMPhysWrite(pDevIns->Internal.s.pVMR0, GCPhys, pvBuf, cbWrite, PGMACCESSORIGIN_DEVICE);223 Assert RC(rc); /** @todo track down the users for this bugger. */224 225 Log(("pdmR0DevHlp_PhysWrite: caller=%p/%d: returns %Rrc\n", pDevIns, pDevIns->iInstance, rc));226 return rc;222 VBOXSTRICTRC rcStrict = PGMPhysWrite(pDevIns->Internal.s.pVMR0, GCPhys, pvBuf, cbWrite, PGMACCESSORIGIN_DEVICE); 223 AssertMsg(rcStrict == VINF_SUCCESS, ("%Rrc\n", VBOXSTRICTRC_VAL(rcStrict))); /** @todo track down the users for this bugger. */ 224 225 Log(("pdmR0DevHlp_PhysWrite: caller=%p/%d: returns %Rrc\n", pDevIns, pDevIns->iInstance, VBOXSTRICTRC_VAL(rcStrict) )); 226 return VBOXSTRICTRC_VAL(rcStrict); 227 227 } 228 228
Note:
See TracChangeset
for help on using the changeset viewer.