- Timestamp:
- May 27, 2009 12:35:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r20075 r20079 2839 2839 Assert(RT_ALIGN_Z(cb, PAGE_SIZE) == cb); 2840 2840 AssertMsg(fFlags == REM_NOTIFY_PHYS_RAM_FLAGS_RAM || fFlags == REM_NOTIFY_PHYS_RAM_FLAGS_MMIO2, ("#x\n", fFlags)); 2841 #ifdef VBOX_WITH_REM_LOCKING 2841 2842 Assert(!PGMIsLockOwner(pVM)); 2842 2843 EMR3RemLock(pVM); 2844 #endif 2843 2845 /* 2844 2846 * Base ram? Update GCPhysLastRam. … … 2862 2864 Assert(pVM->rem.s.fIgnoreAll); 2863 2865 pVM->rem.s.fIgnoreAll = false; 2866 #ifdef VBOX_WITH_REM_LOCKING 2864 2867 EMR3RemUnlock(pVM); 2868 #endif 2865 2869 } 2866 2870 … … 2889 2893 Assert(RT_ALIGN_Z(cb, PAGE_SIZE) == cb); 2890 2894 2895 #ifdef VBOX_WITH_REM_LOCKING 2891 2896 EMR3RemLock(pVM); 2897 #endif 2892 2898 /* 2893 2899 * Register the rom. … … 2900 2906 Assert(pVM->rem.s.fIgnoreAll); 2901 2907 pVM->rem.s.fIgnoreAll = false; 2908 #ifdef VBOX_WITH_REM_LOCKING 2902 2909 EMR3RemUnlock(pVM); 2910 #endif 2903 2911 } 2904 2912 … … 2923 2931 Assert(RT_ALIGN_Z(cb, PAGE_SIZE) == cb); 2924 2932 2933 #ifdef VBOX_WITH_REM_LOCKING 2925 2934 EMR3RemLock(pVM); 2926 2935 #endif 2927 2936 /* 2928 2937 * Unassigning the memory. … … 2935 2944 Assert(pVM->rem.s.fIgnoreAll); 2936 2945 pVM->rem.s.fIgnoreAll = false; 2946 #ifdef VBOX_WITH_REM_LOCKING 2937 2947 EMR3RemUnlock(pVM); 2948 #endif 2938 2949 } 2939 2950 … … 2959 2970 Assert(RT_ALIGN_T(cb, PAGE_SIZE, RTGCPHYS) == cb); 2960 2971 2972 #ifdef VBOX_WITH_REM_LOCKING 2961 2973 EMR3RemLock(pVM); 2974 #endif 2962 2975 if (pVM->rem.s.cHandlerNotifications) 2963 2976 REMR3ReplayHandlerNotifications(pVM); … … 2973 2986 Assert(pVM->rem.s.fIgnoreAll); 2974 2987 pVM->rem.s.fIgnoreAll = false; 2988 #ifdef VBOX_WITH_REM_LOCKING 2975 2989 EMR3RemUnlock(pVM); 2990 #endif 2976 2991 } 2977 2992 … … 2993 3008 VM_ASSERT_EMT(pVM); 2994 3009 3010 #ifdef VBOX_WITH_REM_LOCKING 2995 3011 EMR3RemLock(pVM); 2996 3012 #endif 2997 3013 if (pVM->rem.s.cHandlerNotifications) 2998 3014 REMR3ReplayHandlerNotifications(pVM); … … 3021 3037 Assert(pVM->rem.s.fIgnoreAll); 3022 3038 pVM->rem.s.fIgnoreAll = false; 3039 #ifdef VBOX_WITH_REM_LOCKING 3023 3040 EMR3RemUnlock(pVM); 3041 #endif 3024 3042 } 3025 3043 … … 3043 3061 AssertReleaseMsg(enmType != PGMPHYSHANDLERTYPE_MMIO, ("enmType=%d\n", enmType)); 3044 3062 3063 #ifdef VBOX_WITH_REM_LOCKING 3045 3064 EMR3RemLock(pVM); 3046 3065 #endif 3047 3066 if (pVM->rem.s.cHandlerNotifications) 3048 3067 REMR3ReplayHandlerNotifications(pVM); … … 3076 3095 pVM->rem.s.fIgnoreAll = false; 3077 3096 } 3097 #ifdef VBOX_WITH_REM_LOCKING 3078 3098 EMR3RemUnlock(pVM); 3099 #endif 3079 3100 } 3080 3101
Note:
See TracChangeset
for help on using the changeset viewer.