- Timestamp:
- Sep 2, 2008 11:15:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATMSSM.cpp
r11967 r11969 745 745 { 746 746 case RT_OFFSETOF(CPUMCTX_VER1_6, dr0): 747 Log(("Changing dr0 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr0))); 747 748 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr0); 748 749 break; 749 750 case RT_OFFSETOF(CPUMCTX_VER1_6, dr1): 751 Log(("Changing dr1 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr1))); 750 752 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr1); 751 753 break; 752 754 case RT_OFFSETOF(CPUMCTX_VER1_6, dr2): 755 Log(("Changing dr2 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr2))); 753 756 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr2); 754 757 break; 755 758 case RT_OFFSETOF(CPUMCTX_VER1_6, dr3): 759 Log(("Changing dr3 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr3))); 756 760 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr3); 757 761 break; 758 762 case RT_OFFSETOF(CPUMCTX_VER1_6, dr4): 763 Log(("Changing dr4 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr4))); 759 764 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr4); 760 765 break; 761 766 case RT_OFFSETOF(CPUMCTX_VER1_6, dr5): 767 Log(("Changing dr5 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr5))); 762 768 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr5); 763 769 break; 764 770 case RT_OFFSETOF(CPUMCTX_VER1_6, dr6): 771 Log(("Changing dr6 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr6))); 765 772 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr6); 766 773 break; 767 774 case RT_OFFSETOF(CPUMCTX_VER1_6, dr7): 775 Log(("Changing dr7 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, dr7))); 768 776 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr7); 769 777 break; 770 778 case RT_OFFSETOF(CPUMCTX_VER1_6, cr0): 779 Log(("Changing cr0 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, cr0))); 771 780 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, cr0); 772 781 break; 773 782 case RT_OFFSETOF(CPUMCTX_VER1_6, cr2): 783 Log(("Changing cr2 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, cr2))); 774 784 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, cr2); 775 785 break; 776 786 case RT_OFFSETOF(CPUMCTX_VER1_6, cr3): 787 Log(("Changing cr3 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, cr3))); 777 788 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, cr3); 778 789 break; 779 790 case RT_OFFSETOF(CPUMCTX_VER1_6, cr4): 791 Log(("Changing cr4 offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, cr4))); 780 792 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, cr4); 781 793 break; 782 794 case RT_OFFSETOF(CPUMCTX_VER1_6, tr): 795 Log(("Changing tr offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, tr))); 783 796 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, tr); 784 797 break; 785 798 case RT_OFFSETOF(CPUMCTX_VER1_6, ldtr): 799 Log(("Changing ldtr offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, ldtr))); 786 800 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, ldtr); 787 801 break; 788 802 case RT_OFFSETOF(CPUMCTX_VER1_6, gdtr.pGdt): 803 Log(("Changing pGdt offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, gdtr.pGdt))); 789 804 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, gdtr.pGdt); 790 805 break; 791 806 case RT_OFFSETOF(CPUMCTX_VER1_6, gdtr.cbGdt): 807 Log(("Changing cbGdt offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, gdtr.cbGdt))); 792 808 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, gdtr.cbGdt); 793 809 break; 794 810 case RT_OFFSETOF(CPUMCTX_VER1_6, idtr.pIdt): 811 Log(("Changing pIdt offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, idtr.pIdt))); 795 812 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, idtr.pIdt); 796 813 break; 797 814 case RT_OFFSETOF(CPUMCTX_VER1_6, idtr.cbIdt): 815 Log(("Changing cbIdt offset from %x to %x\n", uCPUMOffset, RT_OFFSETOF(CPUMCTX, idtr.cbIdt))); 798 816 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, idtr.cbIdt); 799 817 break;
Note:
See TracChangeset
for help on using the changeset viewer.