vbox的更動 13393 路徑 trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
- 時間撮記:
- 2008-10-20 下午01:26:44 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r13392 r13393 1762 1762 AssertRCReturn(rc, rc); 1763 1763 1764 /* Prefetch it as it's now marked as not present and our trap handler will 1765 * still call the access handler. 1766 */ 1767 rc = PGMPrefetchPage(pVM, (RTGCPTR)GCPhys); 1768 AssertRC(rc); 1769 1764 1770 /* Mark it as writable and present so reads and writes no longer fault. */ 1765 rc = PGMShw SetPage(pVM, (RTGCPTR)GCPhys, PAGE_SIZE,fPageFlags);1771 rc = PGMShwModifyPage(pVM, (RTGCPTR)GCPhys, 1, fPageFlags, ~fPageFlags); 1766 1772 AssertRC(rc); 1767 1773 … … 1806 1812 1807 1813 /* Mark it as not present again to intercept all read and write access. */ 1808 rc = PGMShw SetPage(pVM, (RTGCPTR)GCPhys, PAGE_SIZE, 0);1814 rc = PGMShwModifyPage(pVM, (RTGCPTR)GCPhys, 1, 0, ~(uint64_t)(X86_PTE_RW|X86_PTE_P)); 1809 1815 AssertRC(rc); 1810 1816
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器