Changeset 73097 in vbox for trunk/src/recompiler
- Timestamp:
- Jul 12, 2018 9:06:33 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123672
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r72493 r73097 290 290 AssertReleaseMsg(sizeof(pVM->rem.padding) >= sizeof(pVM->rem.s), ("%#x >= %#x; sizeof(Env)=%#x\n", sizeof(pVM->rem.padding), sizeof(pVM->rem.s), sizeof(pVM->rem.s.Env))); 291 291 AssertReleaseMsg(sizeof(pVM->rem.s.Env) <= REM_ENV_SIZE, ("%#x == %#x\n", sizeof(pVM->rem.s.Env), REM_ENV_SIZE)); 292 AssertReleaseMsg(!(RT_ OFFSETOF(VM, rem) & 31), ("off=%#x\n", RT_OFFSETOF(VM, rem)));292 AssertReleaseMsg(!(RT_UOFFSETOF(VM, rem) & 31), ("off=%#zx\n", RT_UOFFSETOF(VM, rem))); 293 293 #if 0 /* just an annoyance at the moment. */ 294 294 #if defined(DEBUG) && !defined(RT_OS_SOLARIS) && !defined(RT_OS_FREEBSD) /// @todo fix the solaris and freebsd math stuff. … … 300 300 * Init some internal data members. 301 301 */ 302 pVM->rem.s.offVM = RT_ OFFSETOF(VM, rem.s);302 pVM->rem.s.offVM = RT_UOFFSETOF(VM, rem.s); 303 303 pVM->rem.s.Env.pVM = pVM; 304 304 #ifdef CPU_RAW_MODE_INIT … … 697 697 /* Redundant REM CPU state has to be loaded, but can be ignored. */ 698 698 CPUX86State_Ver16 temp; 699 SSMR3GetMem(pSSM, &temp, RT_ OFFSETOF(CPUX86State_Ver16, jmp_env));699 SSMR3GetMem(pSSM, &temp, RT_UOFFSETOF(CPUX86State_Ver16, jmp_env)); 700 700 } 701 701
Note:
See TracChangeset
for help on using the changeset viewer.