儲存庫 vbox 的更動 15172
- 時間撮記:
- 2008-12-9 下午02:02:13 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/PGM.cpp
r15159 r15172 2885 2885 switch(pVM->pgm.s.enmHostMode) 2886 2886 { 2887 #ifdef HC_ARCH_BITS == 32 2887 2888 case SUPPAGINGMODE_32_BIT: 2888 2889 case SUPPAGINGMODE_32_BIT_GLOBAL: 2889 #ifdef VBOX_WITH_64_BITS_GUESTS2890 for (unsigned i=PGM_TYPE_REAL;i<=PGM_TYPE_AMD64;i++)2891 #else2892 2890 for (unsigned i=PGM_TYPE_REAL;i<=PGM_TYPE_PAE;i++) 2893 #endif2894 2891 { 2895 2892 pModeData = &pVM->pgm.s.paModeData[pgmModeDataIndex(PGM_TYPE_NESTED, i)]; 2896 2893 rc = PGM_SHW_NAME_32BIT(InitData)( pVM, pModeData, fResolveGCAndR0); AssertRCReturn(rc, rc); 2897 2894 } 2895 # ifdef VBOX_WITH_64_BITS_GUESTS 2896 pModeData = &pVM->pgm.s.paModeData[pgmModeDataIndex(PGM_TYPE_NESTED, PGM_TYPE_AMD64)]; 2897 rc = PGM_SHW_NAME_AMD64(InitData)( pVM, pModeData, fResolveGCAndR0); AssertRCReturn(rc, rc); 2898 # endif 2898 2899 break; 2899 2900 … … 2902 2903 case SUPPAGINGMODE_PAE_GLOBAL: 2903 2904 case SUPPAGINGMODE_PAE_GLOBAL_NX: 2904 #ifdef VBOX_WITH_64_BITS_GUESTS2905 for (unsigned i=PGM_TYPE_REAL;i<=PGM_TYPE_AMD64;i++)2906 #else2907 2905 for (unsigned i=PGM_TYPE_REAL;i<=PGM_TYPE_PAE;i++) 2908 #endif2909 2906 { 2910 2907 pModeData = &pVM->pgm.s.paModeData[pgmModeDataIndex(PGM_TYPE_NESTED, i)]; 2911 2908 rc = PGM_SHW_NAME_PAE(InitData)( pVM, pModeData, fResolveGCAndR0); AssertRCReturn(rc, rc); 2912 2909 } 2910 # ifdef VBOX_WITH_64_BITS_GUESTS 2911 pModeData = &pVM->pgm.s.paModeData[pgmModeDataIndex(PGM_TYPE_NESTED, PGM_TYPE_AMD64)]; 2912 rc = PGM_SHW_NAME_AMD64(InitData)( pVM, pModeData, fResolveGCAndR0); AssertRCReturn(rc, rc); 2913 # endif 2913 2914 break; 2914 2915 #else /* HC_ARCH_BITS != 32 */ 2915 2916 case SUPPAGINGMODE_AMD64: 2916 2917 case SUPPAGINGMODE_AMD64_GLOBAL: 2917 2918 case SUPPAGINGMODE_AMD64_NX: 2918 2919 case SUPPAGINGMODE_AMD64_GLOBAL_NX: 2919 # ifdef VBOX_WITH_64_BITS_GUESTS2920 # ifdef VBOX_WITH_64_BITS_GUESTS 2920 2921 for (unsigned i=PGM_TYPE_REAL;i<=PGM_TYPE_AMD64;i++) 2921 # else2922 # else 2922 2923 for (unsigned i=PGM_TYPE_REAL;i<=PGM_TYPE_PAE;i++) 2923 # endif2924 # endif 2924 2925 { 2925 2926 pModeData = &pVM->pgm.s.paModeData[pgmModeDataIndex(PGM_TYPE_NESTED, i)]; … … 2927 2928 } 2928 2929 break; 2930 #endif /* HC_ARCH_BITS != 32 */ 2929 2931 default: 2930 2932 AssertFailed();
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器