Changeset 9030 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 21, 2008 3:59:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGM.cpp
r9026 r9030 2626 2626 static void pgmR3ModeDataSwitch(PVM pVM, PGMMODE enmShw, PGMMODE enmGst) 2627 2627 { 2628 PPGMMODEDATA pModeData = &pVM->pgm.s.paModeData[pgmModeDataIndex (enmShw, enmGst)];2628 PPGMMODEDATA pModeData = &pVM->pgm.s.paModeData[pgmModeDataIndexByMode(enmShw, enmGst)]; 2629 2629 2630 2630 Assert(pModeData->uGstType == pgmModeToType(enmGst)); … … 2981 2981 rc = PGM_SHW_NAME_AMD64(Enter)(pVM); 2982 2982 break; 2983 case PGMMODE_NESTED: 2984 rc = PGM_SHW_NAME_NESTED(Enter)(pVM); 2985 break; 2983 2986 case PGMMODE_REAL: 2984 2987 case PGMMODE_PROTECTED: … … 3015 3018 rc2 = PGM_BTH_NAME_PAE_REAL(Enter)(pVM, NIL_RTGCPHYS); 3016 3019 break; 3020 case PGMMODE_NESTED: 3021 rc2 = PGM_BTH_NAME_NESTED_REAL(Enter)(pVM, NIL_RTGCPHYS); 3022 break; 3017 3023 case PGMMODE_AMD64: 3018 3024 case PGMMODE_AMD64_NX: … … 3033 3039 rc2 = PGM_BTH_NAME_PAE_PROT(Enter)(pVM, NIL_RTGCPHYS); 3034 3040 break; 3041 case PGMMODE_NESTED: 3042 rc2 = PGM_BTH_NAME_NESTED_PROT(Enter)(pVM, NIL_RTGCPHYS); 3043 break; 3035 3044 case PGMMODE_AMD64: 3036 3045 case PGMMODE_AMD64_NX: … … 3051 3060 case PGMMODE_PAE_NX: 3052 3061 rc2 = PGM_BTH_NAME_PAE_32BIT(Enter)(pVM, GCPhysCR3); 3062 break; 3063 case PGMMODE_NESTED: 3064 rc2 = PGM_BTH_NAME_NESTED_32BIT(Enter)(pVM, GCPhysCR3); 3053 3065 break; 3054 3066 case PGMMODE_AMD64: … … 3084 3096 rc2 = PGM_BTH_NAME_PAE_PAE(Enter)(pVM, GCPhysCR3); 3085 3097 break; 3098 case PGMMODE_NESTED: 3099 rc2 = PGM_BTH_NAME_NESTED_PAE(Enter)(pVM, GCPhysCR3); 3100 break; 3086 3101 case PGMMODE_32_BIT: 3087 3102 case PGMMODE_AMD64: … … 3102 3117 case PGMMODE_AMD64_NX: 3103 3118 rc2 = PGM_BTH_NAME_AMD64_AMD64(Enter)(pVM, GCPhysCR3); 3119 break; 3120 case PGMMODE_NESTED: 3121 rc2 = PGM_BTH_NAME_NESTED_AMD64(Enter)(pVM, GCPhysCR3); 3104 3122 break; 3105 3123 case PGMMODE_32_BIT:
Note:
See TracChangeset
for help on using the changeset viewer.