VirtualBox

Ignore:
Timestamp:
Feb 7, 2008 7:24:14 PM (17 years ago)
Author:
vboxsync
Message:

All the new ROM stuff. Had to change PGMROMPAGE a bit to make it easier to work with wrt. mapping.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp

    r6829 r6854  
    313313        STAM_COUNTER_INC(&pVM->pgm.s.StatPageReplaceShared);
    314314        pVM->pgm.s.cSharedPages--;
     315/** @todo err.. what about copying the page content? */
    315316    }
    316317    else
     
    319320        STAM_COUNTER_INC(&pVM->pgm.s.StatPageReplaceZero);
    320321        pVM->pgm.s.cZeroPages--;
     322/** @todo verify that the handy page is zero! */
    321323    }
    322324
     
    565567        PPGMPAGE pPage = pTlbe->pPage;
    566568        if (RT_UNLIKELY(pPage->u2State != PGM_PAGE_STATE_ALLOCATED))
     569        {
    567570            rc = pgmPhysPageMakeWritable(pVM, pPage, GCPhys);
     571            /** @todo stuff is missing here! */
     572        }
    568573        if (RT_SUCCESS(rc))
    569574        {
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