Changeset 20071 in vbox for trunk/src/recompiler/VBoxRecompiler.c
- Timestamp:
- May 27, 2009 12:07:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r20002 r20071 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 Assert(!PGMIsLockOwner(pVM)); 2842 2843 EMR3RemLock(pVM); 2841 2844 2842 2845 /* … … 2861 2864 Assert(pVM->rem.s.fIgnoreAll); 2862 2865 pVM->rem.s.fIgnoreAll = false; 2866 EMR3RemUnlock(pVM); 2863 2867 } 2864 2868 … … 2886 2890 Assert(cb); 2887 2891 Assert(RT_ALIGN_Z(cb, PAGE_SIZE) == cb); 2888 2892 Assert(!PGMIsLockOwner(pVM)); 2893 2894 EMR3RemLock(pVM); 2889 2895 /* 2890 2896 * Register the rom. … … 2897 2903 Assert(pVM->rem.s.fIgnoreAll); 2898 2904 pVM->rem.s.fIgnoreAll = false; 2905 EMR3RemUnlock(pVM); 2899 2906 } 2900 2907 … … 2918 2925 Assert(cb); 2919 2926 Assert(RT_ALIGN_Z(cb, PAGE_SIZE) == cb); 2927 Assert(!PGMIsLockOwner(pVM)); 2928 2929 EMR3RemLock(pVM); 2920 2930 2921 2931 /* … … 2929 2939 Assert(pVM->rem.s.fIgnoreAll); 2930 2940 pVM->rem.s.fIgnoreAll = false; 2941 EMR3RemUnlock(pVM); 2931 2942 } 2932 2943 … … 2951 2962 Assert(RT_ALIGN_T(GCPhys, PAGE_SIZE, RTGCPHYS) == GCPhys); 2952 2963 Assert(RT_ALIGN_T(cb, PAGE_SIZE, RTGCPHYS) == cb); 2953 2964 Assert(!PGMIsLockOwner(pVM)); 2965 2966 EMR3RemLock(pVM); 2954 2967 if (pVM->rem.s.cHandlerNotifications) 2955 2968 REMR3ReplayHandlerNotifications(pVM); … … 2965 2978 Assert(pVM->rem.s.fIgnoreAll); 2966 2979 pVM->rem.s.fIgnoreAll = false; 2980 EMR3RemUnlock(pVM); 2967 2981 } 2968 2982 … … 2983 2997 enmType, GCPhys, cb, fHasHCHandler, fRestoreAsRAM, MMR3PhysGetRamSize(pVM))); 2984 2998 VM_ASSERT_EMT(pVM); 2999 Assert(!PGMIsLockOwner(pVM)); 3000 3001 EMR3RemLock(pVM); 2985 3002 2986 3003 if (pVM->rem.s.cHandlerNotifications) … … 3010 3027 Assert(pVM->rem.s.fIgnoreAll); 3011 3028 pVM->rem.s.fIgnoreAll = false; 3029 EMR3RemUnlock(pVM); 3012 3030 } 3013 3031 … … 3030 3048 VM_ASSERT_EMT(pVM); 3031 3049 AssertReleaseMsg(enmType != PGMPHYSHANDLERTYPE_MMIO, ("enmType=%d\n", enmType)); 3050 Assert(!PGMIsLockOwner(pVM)); 3051 3052 EMR3RemLock(pVM); 3032 3053 3033 3054 if (pVM->rem.s.cHandlerNotifications) … … 3062 3083 pVM->rem.s.fIgnoreAll = false; 3063 3084 } 3085 EMR3RemUnlock(pVM); 3064 3086 } 3065 3087
Note:
See TracChangeset
for help on using the changeset viewer.