- Timestamp:
- Jun 19, 2009 1:14:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r20458 r20723 3813 3813 #ifndef IN_RING3 3814 3814 rc = PGMShwModifyPage(PDMDevHlpGetVMCPU(pThis->CTX_SUFF(pDevIns)), GCPtr, 1, X86_PTE_RW, ~(uint64_t)X86_PTE_RW); 3815 PDMCritSectLeave(&pThis->lock); 3815 3816 if (RT_SUCCESS(rc)) 3816 {3817 PDMCritSectLeave(&pThis->lock);3818 3817 return VINF_SUCCESS; 3819 } 3820 else 3821 AssertMsgFailed(("PGMShwModifyPage -> rc=%d\n", rc)); 3818 3819 AssertMsgFailed(("PGMShwModifyPage -> rc=%d\n", rc)); 3822 3820 #else /* IN_RING3 : We don't have any virtual page address of the access here. */ 3821 PDMCritSectLeave(&pThis->lock); 3823 3822 Assert(GCPtr == 0); 3823 return VINF_SUCCESS; 3824 #endif 3825 } 3826 else 3827 { 3824 3828 PDMCritSectLeave(&pThis->lock); 3825 return VINF_SUCCESS;3826 #endif3827 }3828 else3829 3829 AssertMsgFailed(("PGMHandlerPhysicalPageTempOff -> rc=%d\n", rc)); 3830 3831 PDMCritSectLeave(&pThis->lock); 3830 } 3832 3831 return rc; 3833 3832 }
Note:
See TracChangeset
for help on using the changeset viewer.