Changeset 18232 in vbox for trunk/src/VBox/Devices/Graphics/DevVGA.cpp
- Timestamp:
- Mar 25, 2009 1:15:31 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r18231 r18232 1198 1198 { 1199 1199 /** @todo only allow read access (doesn't work now) */ 1200 IOMMMIOM odifyPage(PDMDevHlpGetVM(s->CTX_SUFF(pDevIns)), GCPhys, s->GCPhysVRAM + addr, X86_PTE_RW|X86_PTE_P);1200 IOMMMIOMapMMIO2Page(PDMDevHlpGetVM(s->CTX_SUFF(pDevIns)), GCPhys, s->GCPhysVRAM + addr, X86_PTE_RW|X86_PTE_P); 1201 1201 /* Set as dirty as write accesses won't be noticed now. */ 1202 1202 vga_set_dirty(s, addr); … … 1330 1330 && !vga_is_dirty(s, addr)) 1331 1331 { 1332 IOMMMIOM odifyPage(PDMDevHlpGetVM(s->CTX_SUFF(pDevIns)), GCPhys, s->GCPhysVRAM + addr, X86_PTE_RW | X86_PTE_P);1332 IOMMMIOMapMMIO2Page(PDMDevHlpGetVM(s->CTX_SUFF(pDevIns)), GCPhys, s->GCPhysVRAM + addr, X86_PTE_RW | X86_PTE_P); 1333 1333 s->fRemappedVGA = true; 1334 1334 }
Note:
See TracChangeset
for help on using the changeset viewer.