Changeset 23753 in vbox
- Timestamp:
- Oct 14, 2009 10:15:42 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/SSM.cpp
r23752 r23753 3153 3153 VMMR3DECL(int) SSMR3PutStruct(PSSMHANDLE pSSM, const void *pvStruct, PCSSMFIELD paFields) 3154 3154 { 3155 SSM_ASSERT_WRITEABLE_RET(pSSM); 3156 SSM_CHECK_CANCELLED_RET(pSSM); 3157 AssertPtr(pvStruct); 3158 AssertPtr(paFields); 3159 3155 3160 /* begin marker. */ 3156 3161 int rc = SSMR3PutU32(pSSM, SSMR3STRUCT_BEGIN); … … 3214 3219 * Validation. 3215 3220 */ 3221 SSM_ASSERT_WRITEABLE_RET(pSSM); 3222 SSM_CHECK_CANCELLED_RET(pSSM); 3216 3223 AssertMsgReturn(!(fFlags & ~SSMSTRUCT_FLAGS_VALID_MASK), ("%#x\n", fFlags), VERR_INVALID_PARAMETER); 3217 3224 AssertPtr(pvStruct); … … 5641 5648 VMMR3DECL(int) SSMR3GetStruct(PSSMHANDLE pSSM, void *pvStruct, PCSSMFIELD paFields) 5642 5649 { 5650 SSM_ASSERT_READABLE_RET(pSSM); 5651 SSM_CHECK_CANCELLED_RET(pSSM); 5652 AssertPtr(pvStruct); 5653 AssertPtr(paFields); 5654 5643 5655 /* begin marker. */ 5644 5656 uint32_t u32Magic; … … 5708 5720 * Validation. 5709 5721 */ 5722 SSM_ASSERT_READABLE_RET(pSSM); 5723 SSM_CHECK_CANCELLED_RET(pSSM); 5710 5724 AssertMsgReturn(!(fFlags & ~SSMSTRUCT_FLAGS_VALID_MASK), ("%#x\n", fFlags), VERR_INVALID_PARAMETER); 5711 5725 AssertPtr(pvStruct); 5712 5726 AssertPtr(paFields); 5713 5714 5727 5715 5728 /*
Note:
See TracChangeset
for help on using the changeset viewer.