Changeset 19871 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 20, 2009 2:51:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r19835 r19871 421 421 && !(uErr & X86_TRAP_PF_P)) 422 422 { 423 pgmLock(pVM); 423 424 rc = PGM_BTH_NAME(SyncPage)(pVCpu, PdeSrc, pvFault, PGM_SYNC_NR_PAGES, uErr); 425 pgmUnlock(pVM); 424 426 if ( RT_FAILURE(rc) 425 427 || !(uErr & X86_TRAP_PF_RW) … … 467 469 && !(uErr & X86_TRAP_PF_P)) 468 470 { 471 pgmLock(pVM); 469 472 rc = PGM_BTH_NAME(SyncPage)(pVCpu, PdeSrc, pvFault, PGM_SYNC_NR_PAGES, uErr); 473 pgmUnlock(pVM); 470 474 if ( RT_FAILURE(rc) 471 475 || rc == VINF_PGM_SYNCPAGE_MODIFIED_PDE … … 561 565 && !(uErr & X86_TRAP_PF_P)) 562 566 { 567 pgmLock(pVM); 563 568 rc = PGM_BTH_NAME(SyncPage)(pVCpu, PdeSrc, pvFault, PGM_SYNC_NR_PAGES, uErr); 569 pgmUnlock(pVM); 564 570 if ( RT_FAILURE(rc) 565 571 || rc == VINF_PGM_SYNCPAGE_MODIFIED_PDE … … 695 701 */ 696 702 LogFlow(("CSAM ring 3 job\n")); 703 pgmLock(pVM); 697 704 int rc2 = PGM_BTH_NAME(SyncPage)(pVCpu, PdeSrc, pvFault, 1, uErr); 705 pgmUnlock(pVM); 698 706 AssertRC(rc2); 699 707 … … 743 751 } 744 752 # endif /* PGM_WITH_PAGING(PGM_GST_TYPE, PGM_SHW_TYPE) && !defined(IN_RING0) */ 753 pgmLock(pVM); 745 754 rc = PGM_BTH_NAME(SyncPage)(pVCpu, PdeSrc, pvFault, PGM_SYNC_NR_PAGES, uErr); 755 pgmUnlock(pVM); 746 756 if (RT_SUCCESS(rc)) 747 757 { … … 788 798 * page is not present, which is not true in this case. 789 799 */ 800 pgmLock(pVM); 790 801 rc = PGM_BTH_NAME(SyncPage)(pVCpu, PdeSrc, pvFault, 1, uErr); 802 pgmUnlock(pVM); 791 803 if (RT_SUCCESS(rc)) 792 804 { … … 1615 1627 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); 1616 1628 LogFlow(("SyncPage: GCPtrPage=%RGv cPages=%u uErr=%#x\n", GCPtrPage, cPages, uErr)); 1629 1630 Assert(PGMIsLockOwner(pVM)); 1617 1631 1618 1632 #if ( PGM_GST_TYPE == PGM_TYPE_32BIT \ … … 2967 2981 ASMAtomicWriteSize(pPdeDst, PdeDst.u); 2968 2982 2983 pgmLock(pVM); 2969 2984 rc = PGM_BTH_NAME(SyncPage)(pVCpu, PdeSrc, GCPtrPage, PGM_SYNC_NR_PAGES, 0 /* page not present */); 2985 pgmUnlock(pVM); 2970 2986 STAM_PROFILE_STOP(&pVCpu->pgm.s.CTX_MID_Z(Stat,SyncPT), a); 2971 2987 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.