VirtualBox

Changeset 11969 in vbox for trunk


Ignore:
Timestamp:
Sep 2, 2008 11:15:27 AM (16 years ago)
Author:
vboxsync
Message:

More logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/PATMSSM.cpp

    r11967 r11969  
    745745                {
    746746                case RT_OFFSETOF(CPUMCTX_VER1_6, dr0):
     747                    Log(("Changing dr0 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr0)));
    747748                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr0);
    748749                    break;
    749750                case RT_OFFSETOF(CPUMCTX_VER1_6, dr1):
     751                    Log(("Changing dr1 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr1)));
    750752                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr1);
    751753                    break;
    752754                case RT_OFFSETOF(CPUMCTX_VER1_6, dr2):
     755                    Log(("Changing dr2 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr2)));
    753756                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr2);
    754757                    break;
    755758                case RT_OFFSETOF(CPUMCTX_VER1_6, dr3):
     759                    Log(("Changing dr3 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr3)));
    756760                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr3);
    757761                    break;
    758762                case RT_OFFSETOF(CPUMCTX_VER1_6, dr4):
     763                    Log(("Changing dr4 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr4)));
    759764                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr4);
    760765                    break;
    761766                case RT_OFFSETOF(CPUMCTX_VER1_6, dr5):
     767                    Log(("Changing dr5 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr5)));
    762768                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr5);
    763769                    break;
    764770                case RT_OFFSETOF(CPUMCTX_VER1_6, dr6):
     771                    Log(("Changing dr6 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr6)));
    765772                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr6);
    766773                    break;
    767774                case RT_OFFSETOF(CPUMCTX_VER1_6, dr7):
     775                    Log(("Changing dr7 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr7)));
    768776                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr7);
    769777                    break;
    770778                case RT_OFFSETOF(CPUMCTX_VER1_6, cr0):
     779                    Log(("Changing cr0 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, cr0)));
    771780                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, cr0);
    772781                    break;
    773782                case RT_OFFSETOF(CPUMCTX_VER1_6, cr2):
     783                    Log(("Changing cr2 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, cr2)));
    774784                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, cr2);
    775785                    break;
    776786                case RT_OFFSETOF(CPUMCTX_VER1_6, cr3):
     787                    Log(("Changing cr3 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, cr3)));
    777788                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, cr3);
    778789                    break;
    779790                case RT_OFFSETOF(CPUMCTX_VER1_6, cr4):
     791                    Log(("Changing cr4 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, cr4)));
    780792                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, cr4);
    781793                    break;
    782794                case RT_OFFSETOF(CPUMCTX_VER1_6, tr):
     795                    Log(("Changing tr offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, tr)));
    783796                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, tr);
    784797                    break;
    785798                case RT_OFFSETOF(CPUMCTX_VER1_6, ldtr):
     799                    Log(("Changing ldtr offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, ldtr)));
    786800                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, ldtr);
    787801                    break;
    788802                case RT_OFFSETOF(CPUMCTX_VER1_6, gdtr.pGdt):
     803                    Log(("Changing pGdt offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, gdtr.pGdt)));
    789804                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, gdtr.pGdt);
    790805                    break;
    791806                case RT_OFFSETOF(CPUMCTX_VER1_6, gdtr.cbGdt):
     807                    Log(("Changing cbGdt offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, gdtr.cbGdt)));
    792808                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, gdtr.cbGdt);
    793809                    break;
    794810                case RT_OFFSETOF(CPUMCTX_VER1_6, idtr.pIdt):
     811                    Log(("Changing pIdt offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, idtr.pIdt)));
    795812                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, idtr.pIdt);
    796813                    break;
    797814                case RT_OFFSETOF(CPUMCTX_VER1_6, idtr.cbIdt):
     815                    Log(("Changing cbIdt offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, idtr.cbIdt)));
    798816                    *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, idtr.cbIdt);
    799817                    break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette