Changeset 45799 in vbox for trunk/src/recompiler/VBoxRecompiler.c
- Timestamp:
- Apr 29, 2013 3:46:29 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85367
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r45751 r45799 1953 1953 Assert(pVM->rem.s.fInREM); 1954 1954 1955 pCtx = (PCPUMCTX)pVM->rem.s.pCtx; 1956 Assert(pCtx); 1957 1958 /* 1959 * Notify PGM about WP0 being enabled (like CPUSetGuestCR0 does). 1960 */ 1961 if (((env->cr[0] ^ pCtx->cr0) & X86_CR0_WP) && (env->cr[0] & X86_CR0_WP)) 1962 PGMCr0WpEnabled(env->pVCpu); 1963 1955 1964 /* 1956 1965 * Update the control registers before calling PGMChangeMode() 1957 1966 * as it may need to map whatever cr3 is pointing to. 1958 1967 */ 1959 pCtx = (PCPUMCTX)pVM->rem.s.pCtx;1960 Assert(pCtx);1961 1968 pCtx->cr0 = env->cr[0]; 1962 1969 pCtx->cr3 = env->cr[3];
Note:
See TracChangeset
for help on using the changeset viewer.