Changeset 47751 in vbox
- Timestamp:
- Aug 15, 2013 11:38:05 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r47750 r47751 3202 3202 uErr |= X86_TRAP_PF_ID; 3203 3203 3204 #if 0 /* This is so much non-sense, really. Why was it done like that? */ 3204 3205 /* Note! RW access callers reporting a WRITE protection fault, will clear 3205 3206 the READ flag before calling. So, read-modify-write accesses (RW) … … 3207 3208 if ((fAccess & (IEM_ACCESS_TYPE_WRITE | IEM_ACCESS_TYPE_READ)) == IEM_ACCESS_TYPE_WRITE) 3208 3209 uErr |= X86_TRAP_PF_RW; 3210 #else 3211 if (fAccess & IEM_ACCESS_TYPE_WRITE) 3212 { 3213 if (!IEM_FULL_VERIFICATION_REM_ENABLED(pIemCpu) || !(fAccess & IEM_ACCESS_TYPE_READ)) 3214 uErr |= X86_TRAP_PF_RW; 3215 } 3216 #endif 3209 3217 3210 3218 return iemRaiseXcptOrInt(pIemCpu, 0, X86_XCPT_PF, IEM_XCPT_FLAGS_T_CPU_XCPT | IEM_XCPT_FLAGS_ERR | IEM_XCPT_FLAGS_CR2,
Note:
See TracChangeset
for help on using the changeset viewer.