Changeset 62645 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jul 28, 2016 9:47:09 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/TRPM.cpp
r62478 r62645 895 895 } 896 896 SSMR3PutBool(pSSM, HMIsEnabled(pVM)); 897 PVMCPU pVCpu = &pVM->aCpus[0]; /* raw mode implies 1 VCPU */897 PVMCPU pVCpu = &pVM->aCpus[0]; /* raw mode implies 1 VCPU */ 898 898 SSMR3PutUInt(pSSM, VM_WHEN_RAW_MODE(VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_TRPM_SYNC_IDT), 0)); 899 899 SSMR3PutMem(pSSM, &pTrpm->au32IdtPatched[0], sizeof(pTrpm->au32IdtPatched)); 900 SSMR3PutU32(pSSM, ~0);/* separator. */900 SSMR3PutU32(pSSM, UINT32_MAX); /* separator. */ 901 901 902 902 /* … … 913 913 } 914 914 915 return SSMR3PutU32(pSSM, ~0);/* terminator */915 return SSMR3PutU32(pSSM, UINT32_MAX); /* terminator */ 916 916 } 917 917 … … 1226 1226 * Check if address is a gate handler (interrupt or trap). 1227 1227 * 1228 * @returns gate nr or ~0is not found1228 * @returns gate nr or UINT32_MAX is not found 1229 1229 * 1230 1230 * @param pVM The cross context VM structure. … … 1250 1250 } 1251 1251 } 1252 return ~0;1252 return UINT32_MAX; 1253 1253 } 1254 1254
Note:
See TracChangeset
for help on using the changeset viewer.