VirtualBox

Ignore:
Timestamp:
Mar 25, 2009 1:15:31 AM (16 years ago)
Author:
vboxsync
Message:

IOMMMIOModifyPage -> IOMMMIOMapMMIO2Page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r18231 r18232  
    11981198        {
    11991199            /** @todo only allow read access (doesn't work now) */
    1200             IOMMMIOModifyPage(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);
    12011201            /* Set as dirty as write accesses won't be noticed now. */
    12021202            vga_set_dirty(s, addr);
     
    13301330                && !vga_is_dirty(s, addr))
    13311331            {
    1332                 IOMMMIOModifyPage(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);
    13331333                s->fRemappedVGA = true;
    13341334            }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette