Changeset 1944 in vbox for trunk/src/recompiler
- Timestamp:
- Apr 5, 2007 9:02:19 AM (18 years ago)
- Location:
- trunk/src/recompiler
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r1337 r1944 440 440 SSMR3PutU32(pSSM, ~0); /* separator */ 441 441 442 /* Remember if we've entered raw mode (vital for ring 1 checks in e.g. iret emulation). */ 443 SSMR3PutBool(pSSM, !!(pRem->Env.state & CPU_RAW_RING0)); 444 442 445 /* 443 446 * Save the REM stuff. … … 465 468 { 466 469 uint32_t u32Dummy; 470 bool fRawRing0 = false; 471 467 472 LogFlow(("remR3Load:\n")); 468 473 … … 506 511 return VERR_SSM_DATA_UNIT_FORMAT_CHANGED; 507 512 } 513 514 /* Remember if we've entered raw mode (vital for ring 1 checks in e.g. iret emulation). */ 515 SSMR3GetBool(pSSM, &fRawRing0); 516 if (fRawRing0) 517 pRem->Env.state |= CPU_RAW_RING0; 508 518 509 519 /* -
trunk/src/recompiler/new/VBoxRecompiler.c
r1932 r1944 470 470 SSMR3PutU32(pSSM, ~0); /* separator */ 471 471 472 /* Remember if we've entered raw mode (vital for ring 1 checks in e.g. iret emulation). */ 473 SSMR3PutBool(pSSM, !!(pRem->Env.state & CPU_RAW_RING0)); 474 472 475 /* 473 476 * Save the REM stuff. … … 495 498 { 496 499 uint32_t u32Dummy; 500 bool fRawRing0 = false; 497 501 LogFlow(("remR3Load:\n")); 498 502 … … 534 538 return VERR_SSM_DATA_UNIT_FORMAT_CHANGED; 535 539 } 540 541 /* Remember if we've entered raw mode (vital for ring 1 checks in e.g. iret emulation). */ 542 SSMR3GetBool(pSSM, &fRawRing0); 543 if (fRawRing0) 544 pRem->Env.state |= CPU_RAW_RING0; 536 545 537 546 /*
Note:
See TracChangeset
for help on using the changeset viewer.