Changeset 56013 in vbox for trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
- Timestamp:
- May 21, 2015 5:04:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r55988 r56013 719 719 && uErr & X86_TRAP_PF_RW) 720 720 { 721 VBOXSTRICTRC rcStrict; 721 722 # ifdef IN_RC 722 723 STAM_PROFILE_START(&pCur->Stat, h); … … 724 725 void *pvUser = pCur->CTX_SUFF(pvUser); 725 726 pgmUnlock(pVM); 726 rc = pCurType->CTX_SUFF(pfnPfHandler)(pVM, pVCpu, uErr, pRegFrame, pvFault, pCur->Core.Key,727 pvFault - pCur->Core.Key, pvUser);727 rcStrict = pCurType->CTX_SUFF(pfnPfHandler)(pVM, pVCpu, uErr, pRegFrame, pvFault, pCur->Core.Key, 728 pvFault - pCur->Core.Key, pvUser); 728 729 pgmLock(pVM); 729 730 STAM_PROFILE_STOP(&pCur->Stat, h); 730 731 # else 731 732 AssertFailed(); 732 rc = VINF_EM_RAW_EMULATE_INSTR; /* can't happen with VMX */733 rcStrict = VINF_EM_RAW_EMULATE_INSTR; /* can't happen with VMX */ 733 734 # endif 734 735 STAM_COUNTER_INC(&pVCpu->pgm.s.CTX_SUFF(pStats)->StatRZTrap0eHandlersMapping); 735 736 STAM_STATS({ pVCpu->pgm.s.CTX_SUFF(pStatTrap0eAttribution) = &pVCpu->pgm.s.CTX_SUFF(pStats)->StatRZTrap0eTime2Mapping; }); 736 return rc;737 return VBOXSTRICTRC_TODO(rcStrict); 737 738 } 738 739 … … 816 817 || pCurType->enmKind != PGMVIRTHANDLERKIND_WRITE ) ) 817 818 { 819 VBOXSTRICTRC rcStrict; 818 820 # ifdef IN_RC 819 821 STAM_PROFILE_START(&pCur->Stat, h); 820 822 void *pvUser = pCur->CTX_SUFF(pvUser); 821 823 pgmUnlock(pVM); 822 rc = pCurType->CTX_SUFF(pfnPfHandler)(pVM, pVCpu, uErr, pRegFrame, pvFault, pCur->Core.Key,823 pvFault - pCur->Core.Key, pvUser);824 rcStrict = pCurType->CTX_SUFF(pfnPfHandler)(pVM, pVCpu, uErr, pRegFrame, pvFault, pCur->Core.Key, 825 pvFault - pCur->Core.Key, pvUser); 824 826 pgmLock(pVM); 825 827 STAM_PROFILE_STOP(&pCur->Stat, h); 826 828 # else 827 rc = VINF_EM_RAW_EMULATE_INSTR; /** @todo for VMX */829 rcStrict = VINF_EM_RAW_EMULATE_INSTR; /** @todo for VMX */ 828 830 # endif 829 831 STAM_STATS({ pVCpu->pgm.s.CTX_SUFF(pStatTrap0eAttribution) = &pVCpu->pgm.s.CTX_SUFF(pStats)->StatRZTrap0eTime2HndVirt; }); 830 return rc;832 return VBOXSTRICTRC_TODO(rcStrict); 831 833 } 832 834 }
Note:
See TracChangeset
for help on using the changeset viewer.